mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-25 18:23:29 +08:00
4373f8af3d
We may see an unversioned definition after the default version. We should skip the unversioned definition in this case. bfd/ PR ld/19073 * elflink.c (_bfd_elf_add_default_symbol): Skip the unversioned definition after the default version. ld/testsuite/ PR ld/19073 * ld-elf/pr19073.map: New file. * ld-elf/pr19073.rd: Likewise. * ld-elf/pr19073.s: Likewise. * ld-elf/shared.exp (build_tests): Add tests for PR ld/19073.
10 lines
128 B
ArmAsm
10 lines
128 B
ArmAsm
.text
|
|
.globl __foo
|
|
.type __foo, %function
|
|
__foo:
|
|
.byte 0
|
|
.globl foo
|
|
.weak foo
|
|
.set foo, __foo
|
|
.symver __foo,foo@@VERS.1
|