diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-08-22 19:14:25 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-08-22 19:14:25 +0000 |
commit | 39334f3a4789eeaf07b8d74fa40e01cd59413831 (patch) | |
tree | ea053c019d193adbf243b67c6e869644cbd088d4 /ld/testsuite/ld-x86-64/mixed1b.s | |
parent | a654efd60a7daee081082be0dae2a006759b6ea8 (diff) | |
download | binutils-gdb-39334f3a4789eeaf07b8d74fa40e01cd59413831.tar.gz |
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.
Diffstat (limited to 'ld/testsuite/ld-x86-64/mixed1b.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/mixed1b.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/mixed1b.s b/ld/testsuite/ld-x86-64/mixed1b.s new file mode 100644 index 00000000000..66bb38fd2bf --- /dev/null +++ b/ld/testsuite/ld-x86-64/mixed1b.s @@ -0,0 +1,10 @@ +.globl foo + .section .rodata.str1.1,"aMS",@progbits,1 +.LC0: + .string "Hello" + .data + .align 4 + .type foo, @object + .size foo, 4 +foo: + .long .LC0 |