aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-08-14 17:11:08 +0000
committerNick Clifton <nickc@redhat.com>2003-08-14 17:11:08 +0000
commit857f8be05a33f4c0f4e37bd324e9c5d82f858ff1 (patch)
treeca439fd40e135c8c6a3fef02391d63adb74a0ceb /gas
parent792b4a532f4367f1bf78b43e7b1096ed0d473949 (diff)
downloadgdb-857f8be05a33f4c0f4e37bd324e9c5d82f858ff1.zip
gdb-857f8be05a33f4c0f4e37bd324e9c5d82f858ff1.tar.gz
gdb-857f8be05a33f4c0f4e37bd324e9c5d82f858ff1.tar.bz2
Update regexp for destination address of unrelocated branch instructions so
that they point to themselves.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/arm/inst.d8
-rw-r--r--gas/testsuite/gas/arm/pic.d2
3 files changed, 11 insertions, 5 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f372e87..01fd171 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-14 Nick Clifton <nickc@redhat.com>
+
+ * gas/arm/pic.d: Update regexp for destination address of
+ unrelocated branch instructions so that they point to themselves.
+ * gas/arm/inst.d: Likewise.
+
2003-08-08 Andreas Schwab <schwab@suse.de>
* gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test.
diff --git a/gas/testsuite/gas/arm/inst.d b/gas/testsuite/gas/arm/inst.d
index 00d5323..6067fe9 100644
--- a/gas/testsuite/gas/arm/inst.d
+++ b/gas/testsuite/gas/arm/inst.d
@@ -159,13 +159,13 @@ Disassembly of section .text:
0+254 <[^>]*> e9c40300 ? stmib r4, {r8, r9}\^
0+258 <[^>]*> ef123456 ? swi 0x00123456
0+25c <[^>]*> 2f000033 ? swics 0x00000033
-0+260 <[^>]*> ebfffffe ? bl 0+0 <[^>]*>
+0+260 <[^>]*> ebfffffe ? bl 0+260 <[^>]*>
[ ]*260:.*_wombat.*
-0+264 <[^>]*> 5bfffffe ? blpl 0+0 <[^>]*>
+0+264 <[^>]*> 5bfffffe ? blpl 0+264 <[^>]*>
[ ]*264:.*ARM.*hohum
-0+268 <[^>]*> eafffffe ? b 0+0 <[^>]*>
+0+268 <[^>]*> eafffffe ? b 0+268 <[^>]*>
[ ]*268:.*_wibble.*
-0+26c <[^>]*> dafffffe ? ble 0+0 <[^>]*>
+0+26c <[^>]*> dafffffe ? ble 0+26c <[^>]*>
[ ]*26c:.*testerfunc.*
0+270 <[^>]*> e1a01102 ? mov r1, r2, lsl #2
0+274 <[^>]*> e1a01002 ? mov r1, r2
diff --git a/gas/testsuite/gas/arm/pic.d b/gas/testsuite/gas/arm/pic.d
index 160b1c6..0e6943e 100644
--- a/gas/testsuite/gas/arm/pic.d
+++ b/gas/testsuite/gas/arm/pic.d
@@ -8,7 +8,7 @@
Disassembly of section .text:
0x0+0 ebfffffe bl 0x0+0
0: R_ARM_PC24 foo
-0x0+4 ebfffffe bl 0x0+0
+0x0+4 ebfffffe bl 0x0+4
4: R_ARM_PLT32 foo
\.\.\.
8: R_ARM_ABS32 sym