aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile/compile-cplus-symbols.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-08-31 09:25:31 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-08-31 09:26:09 -0700
commit4d1c6335455aeeda9de8a5eb58998f919ea35a1e (patch)
treec267d4cc0dfd79f90620e21a379150721837ff6c /gdb/compile/compile-cplus-symbols.c
parentdab999b116b507ad431c70fab0a28074dfea29df (diff)
downloadbinutils-4d1c6335455aeeda9de8a5eb58998f919ea35a1e.zip
binutils-4d1c6335455aeeda9de8a5eb58998f919ea35a1e.tar.gz
binutils-4d1c6335455aeeda9de8a5eb58998f919ea35a1e.tar.bz2
ld: Lookup section in output with the same name
When there are more than one input sections with the same section name, SECNAME, linker picks the first one to define __start_SECNAME and __stop_SECNAME symbols. When the first input section is removed by comdat group, we need to check if there is still an output section with section name SECNAME. PR ld/23591 * ldlang.c (undef_start_stop): Lookup section in output with the same name. * testsuite/ld-elf/pr23591.d: New file. * testsuite/ld-elf/pr23591a.s: Likewise. * testsuite/ld-elf/pr23591b.s: Likewise. * testsuite/ld-elf/pr23591c.s: Likewise.
Diffstat (limited to 'gdb/compile/compile-cplus-symbols.c')
0 files changed, 0 insertions, 0 deletions