PING [PATCH] elf: Keep only one '@' for undefined versioned symbols

Nick Clifton nickc@redhat.com
Sat Aug 22 15:04:58 GMT 2020


Hi H.J.

>> The symbol string table in the .symtab section is optional.  Keep only
>> one '@' for undefined versioned symbols, which are defined in shared
>> objects, in the symbol string table.  Update "nm -D" to display only
>> one '@' for undefined versioned symbols.
>>
>> bfd/
>>
>>         PR ld/26382
>>         * elflink.c (elf_link_output_symstrtab): Keep only one '@' for
>>         versioned symbols, which are defined in shared  objects, in
>>         symbol string table.
>>
>> binutils/
>>
>>         PR ld/26382
>>         * nm.c (print_symname): Display only one '@' for undefined
>>         versioned symbols.
>>
>> ld/
>>
>>         PR ld/26382
>>         * testsuite/ld-elf/pr26302.nd: Updated.
>>         * testsuite/ld-elf/pr26302.rd: New file.
>>         * testsuite/ld-elf/shared.exp: Add a test for readelf -sW.

Approved - please apply - but ... please could you also add a sentance
or two to the description of nm's -D option in binutils.texi making it
clear that one @ symbol means either a hidden or an undefined symbol.

Cheers
  Nick



More information about the Binutils mailing list