Don't check relocation if input ELF object ID doesn't match output.
commitca200db50605e69886a5257e538f0e8d6e4941a1
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Aug 2010 19:14:23 +0000 (22 19:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Aug 2010 19:14:23 +0000 (22 19:14 +0000)
treec7e8f2034021ce2674a414b67c89bcc534c3ff56
parentc9ad6c1e2e3988419bd505a980a3dde6015e4838
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