Ticket #6272: elf-add-support-for-undefined-weak-symbols.patch
File elf-add-support-for-undefined-weak-symbols.patch, 536 bytes (added by , 14 years ago) |
---|
-
src/system/kernel/elf.cpp
987 987 versionInfo = image->versions + versionIndex; 988 988 } 989 989 990 if (ELF32_ST_BIND(symbol->st_info) == STB_WEAK) { 991 _symbolAddress = NULL; 992 return B_OK; 993 } 994 990 995 // it's undefined, must be outside this image, try the other image 991 996 newSymbol = elf_find_symbol(sharedImage, symbolName, versionInfo, 992 997 false);