aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-06-17 11:46:34 +0000
committerNick Clifton <nickc@redhat.com>2003-06-17 11:46:34 +0000
commitff614a273c70121f7d3c32332d19c0c8b585e6fe (patch)
tree75fe2e55f51e507e332e6bb15fcaf5acda938b22
parent5afcbc6009f565e4d9eaed3db87b443f25ea29a0 (diff)
downloadgdb-ff614a273c70121f7d3c32332d19c0c8b585e6fe.zip
gdb-ff614a273c70121f7d3c32332d19c0c8b585e6fe.tar.gz
gdb-ff614a273c70121f7d3c32332d19c0c8b585e6fe.tar.bz2
Tweak expected results for i386-pc-cygwin target.
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/i386/absrel.d6
-rw-r--r--gas/testsuite/gas/i386/sub.d2
3 files changed, 10 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8597df3..84d0b37 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-17 Nick Clifton <nickc@redhat.com>
+
+ * gas/i386/absrel.d: Tweak patterns to work for i386-pc-cygwin
+ target as well.
+ * gas/i386/sub.d: Likewise.
+
2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
* gas/alpha/elf-reloc-1.d: Allow system-specific gunk after
diff --git a/gas/testsuite/gas/i386/absrel.d b/gas/testsuite/gas/i386/absrel.d
index 001ce0e..269dada 100644
--- a/gas/testsuite/gas/i386/absrel.d
+++ b/gas/testsuite/gas/i386/absrel.d
@@ -11,7 +11,7 @@ Disassembly of section \.text:
0+005 <glob>:
5: a1 00 00 00 00[ ]*mov 0x0,%eax 6: (R_386_|dir)?32 ext
a: a1 00 00 00 00[ ]*mov 0x0,%eax b: (R_386_|dir)?32 weak
- f: (a1 00 00 00 00[ ]*mov 0x0,%eax 10: (R_386_)?32 comm|a1 04 00 00 00[ ]*mov 0x4,%eax 10: dir32 comm.*)
+ f: (a1 00 00 00 00[ ]*mov 0x0,%eax 10: (R_386_|dir)?32 comm.*|a1 04 00 00 00[ ]*mov 0x4,%eax 10: dir32 comm.*)
14: a1 00 00 00 00[ ]*mov 0x0,%eax 15: (R_386_|dir)?32 \.text
19: (a1 00 00 00 00[ ]*mov 0x0,%eax 1a: R_386_32 glob|a1 05 00 00 00[ ]*mov 0x5,%eax 1a: (dir)?32 \.text)
1e: a1 76 98 00 00[ ]*mov 0x9876,%eax
@@ -22,7 +22,7 @@ Disassembly of section \.text:
37: a1 00 00 00 00[ ]*mov 0x0,%eax
3c: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 3d: (R_386_|dir)?32 ext
41: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 42: (R_386_|dir)?32 weak
- 46: (a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 47: (R_386_)?32 comm|a1 d0 ed ff ff[ ]*mov 0xffffedd0,%eax 47: dir32 comm.*)
+ 46: (a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 47: (R_386_|dir)?32 comm.*|a1 d0 ed ff ff[ ]*mov 0xffffedd0,%eax 47: dir32 comm.*)
4b: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 4c: (R_386_|dir)?32 \.text
50: (a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 51: R_386_32 glob|a1 d1 ed ff ff[ ]*mov 0xffffedd1,%eax 51: (dir)?32 \.text)
55: a1 42 86 00 00[ ]*mov 0x8642,%eax
@@ -33,7 +33,7 @@ Disassembly of section \.text:
6e: a1 be 79 ff ff[ ]*mov 0xffff79be,%eax
73: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 74: (R_386_|dir)?32 ext
78: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 79: (R_386_|dir)?32 weak
- 7d: (a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 7e: (R_386_)?32 comm|a1 8e 67 ff ff[ ]*mov 0xffff678e,%eax 7e: dir32 comm.*)
+ 7d: (a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 7e: (R_386_|dir)?32 comm.*|a1 8e 67 ff ff[ ]*mov 0xffff678e,%eax 7e: dir32 comm.*)
82: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 83: (R_386_|dir)?32 \.text
87: (a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 88: R_386_32 glob|a1 8f 67 ff ff[ ]*mov 0xffff678f,%eax 88: (dir)?32 \.text)
8c: a1 00 00 00 00[ ]*mov 0x0,%eax
diff --git a/gas/testsuite/gas/i386/sub.d b/gas/testsuite/gas/i386/sub.d
index 597ae41..d4ac3f7 100644
--- a/gas/testsuite/gas/i386/sub.d
+++ b/gas/testsuite/gas/i386/sub.d
@@ -6,5 +6,5 @@
Disassembly of section .text:
0+000 <foo>:
- 0: 66 be (0|1)(0|2) 00[ ]+mov[ ]+\$0x(1)?(0|2),%si[ ]+2:[ ]+(R_386_PC|DISP)16[ ]+.data(\+0xfffffff0)?
+ 0: 66 be (0|1)(0|2|4) 00[ ]+mov[ ]+\$0x(1)?(0|2|4),%si[ ]+2:[ ]+(R_386_PC|DISP)16[ ]+.data(\+0xfffffff0)?
.*