diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-09-01 02:50:14 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-09-01 02:50:14 +0000 |
commit | 3f65f59941a8cf0895384bc4700f41a2f37e1ff2 (patch) | |
tree | 9be1e0f747711680687cd720580f4df267c44a3f /ld/testsuite/ld-x86-64/x86-64.exp | |
parent | f25b8a5e715ce96f342f8cb7b39ac0781166a412 (diff) | |
download | gdb-3f65f59941a8cf0895384bc4700f41a2f37e1ff2.zip gdb-3f65f59941a8cf0895384bc4700f41a2f37e1ff2.tar.gz gdb-3f65f59941a8cf0895384bc4700f41a2f37e1ff2.tar.bz2 |
Don't optimize relocation against _DYNAMIC
bfd/
* elf32-i386.c (elf_i386_convert_mov_to_lea): Don't optimize
_DYNAMIC.
* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
ld/testsuite/
* ld-i386/i386.exp: Run mov1a, mov1b.
* ld-x86-64/x86-64.exp: Run mov1a, mov1b, mov1c, mov1d.
* ld-i386/mov1.s: New file.
* ld-i386/mov1a.d: Likewise.
* ld-i386/mov1b.d: Likewise.
* ld-x86-64/mov1.s: Likewise.
* ld-x86-64/mov1a.d: Likewise.
* ld-x86-64/mov1b.d: Likewise.
* ld-x86-64/mov1c.d: Likewise.
* ld-x86-64/mov1d.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64/x86-64.exp')
-rw-r--r-- | ld/testsuite/ld-x86-64/x86-64.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index 7eabf39..1ad54e6 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -288,6 +288,10 @@ run_dump_test "lea1i" run_dump_test "lea1j" run_dump_test "lea1k" run_dump_test "lea1l" +run_dump_test "mov1a" +run_dump_test "mov1b" +run_dump_test "mov1c" +run_dump_test "mov1d" # Must be native with the C compiler if { [isnative] && [which $CC] != 0 } { |