mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
7d409ac001
bfd/ PR 27311 * elflink.c (elf_link_add_object_symbols): Don't pull in as-needed libraries for IR references on pass over libraries after LTO recompilation. ld/ * testsuite/ld-plugin/pr27311d.c: New test. * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile and link new test as pr27311-2.
6 lines
86 B
C
6 lines
86 B
C
__attribute__((visibility("hidden"))) void inlib1(void) {}
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|