aboutsummaryrefslogtreecommitdiff
path: root/ld/ldbuildid.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-05-05 20:28:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-05-05 20:29:01 -0700
commit4467df35a93e4c8e5ff7549e8d23324c64f527bd (patch)
treecab3952c02e0352b2bac138cf6e55f5da5ebff1d /ld/ldbuildid.h
parent9311cd60e18ccc92c36747265aacc6cb6025f66d (diff)
downloadfsf-binutils-gdb-4467df35a93e4c8e5ff7549e8d23324c64f527bd.zip
fsf-binutils-gdb-4467df35a93e4c8e5ff7549e8d23324c64f527bd.tar.gz
fsf-binutils-gdb-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 'ld/ldbuildid.h')
0 files changed, 0 insertions, 0 deletions