]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elflink.c
Preserve the maximum alignment/size for common symbols.
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 8 Oct 2011 16:51:11 +0000 (16:51 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 8 Oct 2011 16:51:11 +0000 (16:51 +0000)
commit3e0882af52d7a4b40de87c0be36f1b5bc84ddadb
tree8356aa5ce3049354ee8dfb631f7f4b98d8591ec2
parentc3df8c14822028ab319894b4c02c519073b62dba
Preserve the maximum alignment/size for common symbols.

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.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/pr13250-1.c [new file with mode: 0644]
ld/testsuite/ld-elf/pr13250-2.c [new file with mode: 0644]
ld/testsuite/ld-elf/pr13250-3.c [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp