mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
ad71ce8de7
bfd/ PR ld/22064 * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Check ELF_COMMON_DEF_P for common symbols. ld/ PR ld/22064 * testsuite/ld-x86-64/pr22064a.S: New file. * testsuite/ld-x86-64/pr22064b.c: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22064 test.
15 lines
113 B
C
15 lines
113 B
C
int foo[2];
|
|
int bar[2] = { -1, -1 };
|
|
|
|
int *
|
|
foo_p (void)
|
|
{
|
|
return foo;
|
|
}
|
|
|
|
int *
|
|
bar_p (void)
|
|
{
|
|
return bar;
|
|
}
|