mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
7de7786bb7
bfd/ PR ld/28264 * elflink.c (_bfd_elf_merge_symbol): Change indirect symbol from IR to undefined. ld/ PR ld/28264 * testsuite/ld-plugin/lto.exp: Run PR ld/28264 test. * testsuite/ld-plugin/pr28264-1.d: New file. * testsuite/ld-plugin/pr28264-2.d: Likewise. * testsuite/ld-plugin/pr28264-3.d: Likewise. * testsuite/ld-plugin/pr28264-4.d: Likewise. * testsuite/ld-plugin/pr28264.c: Likewise. * testsuite/ld-plugin/pr28264.ver: Likewise.
12 lines
129 B
C
12 lines
129 B
C
void
|
|
__attribute__ ((symver ("foo@VERSION.1")))
|
|
foo (void)
|
|
{
|
|
}
|
|
|
|
void
|
|
__attribute__ ((symver ("bar@@VERSION.1")))
|
|
bar1 (void)
|
|
{
|
|
}
|