[PATCH] elf: Keep only one '@' for undefined versioned symbols
Tom Tromey
tromey@adacore.com
Fri Jul 30 14:15:54 GMT 2021
Alan> The first thing that jumps out at me from your description of the
Alan> problem is that some_package__some_kind_of_error@SYMS in the
Alan> executable is in fact a defined symbol, whereas HJ's log for the
Alan> change that removed an "@" from the symbol name talks about undefined
Alan> symbols. We very likely have a linker bug.
Thank you for looking at this.
Alan> However, I'd like to see the result of
Alan> nm -D lib/libsal.so | grep some_kind
Alan> before making too many more comments. The dynamic symbols are the
Alan> ones that matter.
$ nm -D lib/libsal.so | grep some_kind
00020004 D some_package__some_kind_of_error
00001ee0 R some_package__some_kind_of_errorE
Tom
More information about the Binutils
mailing list