Don't check relocation if input ELF object ID doesn't match output.
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Aug 2010 19:14:25 +0000 (19:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Aug 2010 19:14:25 +0000 (19:14 +0000)
commit39334f3a4789eeaf07b8d74fa40e01cd59413831
treeea053c019d193adbf243b67c6e869644cbd088d4
parenta654efd60a7daee081082be0dae2a006759b6ea8
Don't check relocation if input ELF object ID doesn't match output.

bfd/

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11933
* elflink.c (elf_link_add_object_symbols): Don't check relocation
if input ELF object ID doesn't match output.

ld/testsuite/

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11933
* ld-x86-64/mixed1a.s: New.
* ld-x86-64/mixed1b.s: Likewise.
* ld-x86-64/mixed2a.s: Likewise.
* ld-x86-64/mixed2b.s: Likewise.

* ld-x86-64/x86-64.exp: Text mixed x86_64 and i386 inputs.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-x86-64/mixed1a.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/mixed1b.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/mixed2a.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/mixed2b.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp