mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 03:03:31 +08:00
3e0882af52
bfd/ 2011-10-08 H.J. Lu <hongjiu.lu@intel.com> PR ld/13250 * elflink.c (elf_link_add_object_symbols): Preserve the maximum alignment and size for common symbols. ld/testsuite/ 2011-10-08 H.J. Lu <hongjiu.lu@intel.com> PR ld/13250 * ld-elf/shared.exp (build_tests): Add tests for PR ld/13250. (run_tests): Likewise. * ld-elf/pr13250-1.c: New. * ld-elf/pr13250-2.c: Likewise. * ld-elf/pr13250-3.c: Likewise.
9 lines
124 B
C
9 lines
124 B
C
int common1[8];
|
|
void
|
|
foo ()
|
|
{
|
|
int i;
|
|
for (i = 0; i < sizeof (common1)/ sizeof (common1[0]); i++)
|
|
common1[i] = -1;
|
|
}
|