diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-05-05 20:28:39 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-05-05 20:29:01 -0700 |
commit | 4467df35a93e4c8e5ff7549e8d23324c64f527bd (patch) | |
tree | cab3952c02e0352b2bac138cf6e55f5da5ebff1d /bfd/ChangeLog | |
parent | 9311cd60e18ccc92c36747265aacc6cb6025f66d (diff) | |
download | binutils-4467df35a93e4c8e5ff7549e8d23324c64f527bd.zip binutils-4467df35a93e4c8e5ff7549e8d23324c64f527bd.tar.gz binutils-4467df35a93e4c8e5ff7549e8d23324c64f527bd.tar.bz2 |
elf: Always append ".COUNT" to local symbols
Always append ".COUNT" to local symbols to avoid potential conflicts
with existing local symbol "XXX.COUNT".
bfd/
PR ld/27825
* elflink.c (elf_link_output_symstrtab): Always append ".COUNT"
to local symbols.
ld/
PR ld/27825
* testsuite/ld-elf/pr27825-1.d: New file.
* testsuite/ld-elf/pr27825-1a.s: Likewise.
* testsuite/ld-elf/pr27825-1b.s: Likewise.
* testsuite/ld-elf/pr27825-2.d: Likewise.
* testsuite/ld-elf/pr27825-2a.s: Likewise.
* testsuite/ld-elf/pr27825-2b.s: Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c574570..e481c1b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2021-05-05 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/27825 + * elflink.c (elf_link_output_symstrtab): Always append ".COUNT" + to local symbols. + 2021-05-05 Alan Modra <amodra@gmail.com> * vms-lib.c (vms_traverse_index): Account for vms_kbn size when |