aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-09-28 15:34:53 +0000
committerJan Beulich <jbeulich@novell.com>2005-09-28 15:34:53 +0000
commit1a114b128470b4119aa3c32d8fd61ed581b4ede3 (patch)
tree380edf1b3f14acda26e33ecc9810317306c8d013 /ld/testsuite/ld-x86-64
parente05278afa3c5b5aa74f9694f7aac576f437c7e1b (diff)
downloadgdb-1a114b128470b4119aa3c32d8fd61ed581b4ede3.zip
gdb-1a114b128470b4119aa3c32d8fd61ed581b4ede3.tar.gz
gdb-1a114b128470b4119aa3c32d8fd61ed581b4ede3.tar.bz2
gas/testsuite/
2005-09-28 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-stack.s, gas/i386/x86-64-stack.d, gas/i386/x86-64-stack-suffix.d, gas/i386/x86-64-stack-intel.d: New. * gas/i386/i386.exp: Run new tests. ld/testsuite/ 2005-09-28 Jan Beulich <jbeulich@novell.com> * ld-x86-64/tlspic.dd: Adjust. opcodes/ 2005-09-28 Jan Beulich <jbeulich@novell.com> * i386-dis.c (stack_v_mode): Renamed from branch_v_mode. (indirEv): Use it. (stackEv): New. (Ob64, Ov64): Rename to Ob, Ov. Delete unused original definitions. (dis386): Document and use new 'V' meta character. Use it for single-byte push/pop opcode forms. Use stackEv for mod-r/m push/pop opcode forms. Correct typo in 'pop ss'. Replace Ob64/Ov64 by Ob/Ov. (putop): 'q' suffix for 'T' and 'U' meta depends on DFLAG. Mark data prefix as used whenever DFLAG was examined. Handle 'V'. (intel_operand_size): Use stack_v_mode. (OP_E): Use stack_v_mode, but handle only the special case of 64-bit mode without operand size override here; fall through to v_mode case otherwise. (OP_REG): Special case rAX_reg ... rDI_reg only when 64-bit mode and no operand size override is present. (OP_J): Use get32s for obtaining the displacement also when rex64 is present.
Diffstat (limited to 'ld/testsuite/ld-x86-64')
-rw-r--r--ld/testsuite/ld-x86-64/tlspic.dd20
1 files changed, 8 insertions, 12 deletions
diff --git a/ld/testsuite/ld-x86-64/tlspic.dd b/ld/testsuite/ld-x86-64/tlspic.dd
index 66ea9d6..28d8418 100644
--- a/ld/testsuite/ld-x86-64/tlspic.dd
+++ b/ld/testsuite/ld-x86-64/tlspic.dd
@@ -20,10 +20,9 @@ Disassembly of section .text:
+1008: 66 48 8d 3d 80 03 10[ ]+lea 1049472\(%rip\),%rdi +# 101390 <.*>
+100f: 00 *
# -> R_X86_64_DTPMOD64 sg1
- +1010: 66[ ]+data16
- +1011: 66[ ]+data16
- +1012: 48 e8 [0-9a-f ]+rex64 callq [0-9a-f]+ <.*>
+ +1010: 66 66 48 e8 [0-9a-f ]+callq [0-9a-f]+ <.*>
# -> R_X86_64_JUMP_SLOT __tls_get_addr
+ +1017: [0-9a-f ]+
+1018: 90[ ]+nop *
+1019: 90[ ]+nop *
+101a: 90[ ]+nop *
@@ -41,10 +40,9 @@ Disassembly of section .text:
+1030: 66 48 8d 3d 08 03 10[ ]+lea 1049352\(%rip\),%rdi +# 101340 <.*>
+1037: 00 *
# -> R_X86_64_DTPMOD64 [0 0x2000000000000000]
- +1038: 66[ ]+data16
- +1039: 66[ ]+data16
- +103a: 48 e8 [0-9a-f ]+rex64 callq [0-9a-f]+ <.*>
+ +1038: 66 66 48 e8 [0-9a-f ]+callq [0-9a-f]+ <.*>
# -> R_X86_64_JUMP_SLOT __tls_get_addr
+ +103f: [0-9a-f ]+
+1040: 90[ ]+nop *
+1041: 90[ ]+nop *
+1042: 90[ ]+nop *
@@ -62,10 +60,9 @@ Disassembly of section .text:
+1058: 66 48 8d 3d 58 03 10[ ]+lea 1049432\(%rip\),%rdi +# 1013b8 <.*>
+105f: 00 *
# -> R_X86_64_DTPMOD64 [0 0x4000000000000000]
- +1060: 66[ ]+data16
- +1061: 66[ ]+data16
- +1062: 48 e8 [0-9a-f ]+rex64 callq [0-9a-f]+ <.*>
+ +1060: 66 66 48 e8 [0-9a-f ]+callq [0-9a-f]+ <.*>
# -> R_X86_64_JUMP_SLOT __tls_get_addr
+ +1067: [0-9a-f ]+
+1068: 90[ ]+nop *
+1069: 90[ ]+nop *
+106a: 90[ ]+nop *
@@ -83,10 +80,9 @@ Disassembly of section .text:
+1080: 66 48 8d 3d e8 02 10[ ]+lea 1049320\(%rip\),%rdi +# 101370 <.*>
+1087: 00 *
# -> R_X86_64_DTPMOD64 [0 0x6000000000000000]
- +1088: 66[ ]+data16
- +1089: 66[ ]+data16
- +108a: 48 e8 [0-9a-f ]+rex64 callq [0-9a-f]+ <.*>
+ +1088: 66 66 48 e8 [0-9a-f ]+callq [0-9a-f]+ <.*>
# -> R_X86_64_JUMP_SLOT __tls_get_addr
+ +108f: [0-9a-f ]+
+1090: 90[ ]+nop *
+1091: 90[ ]+nop *
+1092: 90[ ]+nop *