aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-14 12:23:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-14 12:23:14 +0000
commit27d799802ad136a2b59220c1822c4a6e592d830b (patch)
treecfb3e79141c293461c24cc63af6b9d1a93b196f7
parent8ae38c14cc3b27e5e691dcee0fd51f2566a7dc65 (diff)
downloadgdb-27d799802ad136a2b59220c1822c4a6e592d830b.zip
gdb-27d799802ad136a2b59220c1822c4a6e592d830b.tar.gz
gdb-27d799802ad136a2b59220c1822c4a6e592d830b.tar.bz2
Expect addend as signed
* gas/cris/rd-pic-1.d: Expect addend as signed. * gas/cris/rd-tls-1.d: Likewise. * gas/cris/rd-tls-2.d: Likewise.
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/cris/rd-pic-1.d18
-rw-r--r--gas/testsuite/gas/cris/rd-tls-1.d6
-rw-r--r--gas/testsuite/gas/cris/rd-tls-2.d14
4 files changed, 25 insertions, 19 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 1991e85..5d97e22 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/cris/rd-pic-1.d: Expect addend as signed.
+ * gas/cris/rd-tls-1.d: Likewise.
+ * gas/cris/rd-tls-2.d: Likewise.
+
2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
* gas/all/fwdexp.d: Expect addend as signed.
diff --git a/gas/testsuite/gas/cris/rd-pic-1.d b/gas/testsuite/gas/cris/rd-pic-1.d
index ce8ebc9..aab93a5 100644
--- a/gas/testsuite/gas/cris/rd-pic-1.d
+++ b/gas/testsuite/gas/cris/rd-pic-1.d
@@ -28,31 +28,31 @@ Disassembly of section \.text:
[ ]+3a:[ ]+af9e 0000 0000[ ]+sub\.d 0 <start>,\$?r9
[ ]+3c:[ ]+R_CRIS_32_GOTREL extsym4\+0x2a
[ ]+40:[ ]+af3e 0000 0000[ ]+sub\.d 0 <start>,\$?r3
-[ ]+42:[ ]+R_CRIS_32_GOTREL extsym4\+0x[f]+fffffa0
+[ ]+42:[ ]+R_CRIS_32_GOTREL extsym4-0x60
[ ]+46:[ ]+6fad 0000 0000 287a[ ]+add\.d \[\$?r10\+0 <start>\],\$?r7,\$?r8
[ ]+48:[ ]+R_CRIS_32_GOT extsym3\+0x38
[ ]+4e:[ ]+6f5d 0000 0000 611a[ ]+move\.d \[\$?r5\+0 <start>\],\$?r1
[ ]+50:[ ]+R_CRIS_32_GOT extsym6\+0xa
[ ]+56:[ ]+6fad 0000 0000 284a[ ]+add\.d \[\$?r10\+0 <start>\],\$?r4,\$?r8
-[ ]+58:[ ]+R_CRIS_32_GOT extsym3\+0x[f]+ffffdd0
+[ ]+58:[ ]+R_CRIS_32_GOT extsym3-0x230
[ ]+5e:[ ]+6f5d 0000 0000 6cca[ ]+move\.d \[\$?r5\+0 <start>\],\$?r12
-[ ]+60:[ ]+R_CRIS_32_GOT extsym6\+0x[f]+fffff92
+[ ]+60:[ ]+R_CRIS_32_GOT extsym6-0x6e
[ ]+66:[ ]+6f5d 0000 0000 69ce[ ]+move\.d \[\$?r9=\$?r5\+0 <start>\],\$?r12
-[ ]+68:[ ]+R_CRIS_32_GOT extsym6\+0x[f]+fffff24
+[ ]+68:[ ]+R_CRIS_32_GOT extsym6-0xdc
[ ]+6e:[ ]+6f3d 0000 0000 67de[ ]+move\.d \[\$?r7=\$?r3\+0 <start>\],\$?r13
-[ ]+70:[ ]+R_CRIS_32_GOTREL extsym10\+0x[f]+ffffeb6
+[ ]+70:[ ]+R_CRIS_32_GOTREL extsym10-0x14a
[ ]+76:[ ]+6f5e 0000 0000[ ]+move\.d 0 <start>,\$?r5
[ ]+78:[ ]+R_CRIS_32_PLT_PCREL extsym7\+0x4
[ ]+7c:[ ]+6f9e 0000 0000[ ]+move\.d 0 <start>,\$?r9
-[ ]+7e:[ ]+R_CRIS_32_PLT_PCREL extsym7\+0x[f]+fffffd8
+[ ]+7e:[ ]+R_CRIS_32_PLT_PCREL extsym7-0x28
[ ]+82:[ ]+6f5e 0000 0000[ ]+move\.d 0 <start>,\$?r5
[ ]+84:[ ]+R_CRIS_32_PLT_GOTREL extsym11\+0x10
[ ]+88:[ ]+6f9e 0000 0000[ ]+move\.d 0 <start>,\$?r9
-[ ]+8a:[ ]+R_CRIS_32_PLT_GOTREL extsym12\+0x[f]+fffffc4
+[ ]+8a:[ ]+R_CRIS_32_PLT_GOTREL extsym12-0x3c
[ ]+8e:[ ]+5fcd 0000 a89a[ ]+sub\.d \[\$?r12\+0\],\$?r9,\$?r8
-[ ]+90:[ ]+R_CRIS_16_GOT extsym3\+0x[f]+fffff64
+[ ]+90:[ ]+R_CRIS_16_GOT extsym3-0x9c
[ ]+94:[ ]+5fbd 0000 699a[ ]+move\.d \[\$?r11\+0\],\$?r9
-[ ]+96:[ ]+R_CRIS_16_GOTPLT extsym14\+0x[f]+fffff00
+[ ]+96:[ ]+R_CRIS_16_GOTPLT extsym14-0x100
[ ]+9a:[ ]+6fad 0000 0000 287a[ ]+add\.d \[\$?r10\+0 <start>\],\$?r7,\$?r8
[ ]+9c:[ ]+R_CRIS_32_GOTPLT extsym3\+0x38
[ ]+\.\.\.
diff --git a/gas/testsuite/gas/cris/rd-tls-1.d b/gas/testsuite/gas/cris/rd-tls-1.d
index c7d6b65..aec9c50 100644
--- a/gas/testsuite/gas/cris/rd-tls-1.d
+++ b/gas/testsuite/gas/cris/rd-tls-1.d
@@ -18,11 +18,11 @@ Disassembly of section \.text:
[ ]+18:[ ]+af9e 0000 0000[ ]+sub\.d 0 <start>,\$?r9
[ ]+1a:[ ]+R_CRIS_32_GD extsym4\+0x2a
[ ]+1e:[ ]+af3e 0000 0000[ ]+sub\.d 0 <start>,\$?r3
-[ ]+20:[ ]+R_CRIS_32_GD extsym4\+0xffffffa0
+[ ]+20:[ ]+R_CRIS_32_GD extsym4-0x60
[ ]+24:[ ]+6f3d 0000 0000 67de[ ]+move\.d \[\$?r7=\$?r3\+0 <start>\],\$?r13
-[ ]+26:[ ]+R_CRIS_32_GD extsym10\+0xfffffeb6
+[ ]+26:[ ]+R_CRIS_32_GD extsym10-0x14a
[ ]+2c:[ ]+5fbd 0000 699a[ ]+move\.d \[\$?r11\+0\],\$?r9
-[ ]+2e:[ ]+R_CRIS_16_TPREL extsym14\+0xffffff00
+[ ]+2e:[ ]+R_CRIS_16_TPREL extsym14-0x100
[ ]+32:[ ]+6fad 0000 0000 287a[ ]+add\.d \[\$?r10\+0 <start>\],\$?r7,\$?r8
[ ]+34:[ ]+R_CRIS_32_TPREL extsym3\+0x38
[ ]+3a:[ ]+7f0d 0000 0000 611a[ ]+move.d \[0 <start>],\$?r1
diff --git a/gas/testsuite/gas/cris/rd-tls-2.d b/gas/testsuite/gas/cris/rd-tls-2.d
index a5f8647..c686381 100644
--- a/gas/testsuite/gas/cris/rd-tls-2.d
+++ b/gas/testsuite/gas/cris/rd-tls-2.d
@@ -22,27 +22,27 @@ Disassembly of section \.text:
[ ]+24: af9e 0000 0000[ ]+sub\.d 0 <start>,\$?r9
[ ]+26: R_CRIS_32_DTPREL extsym4\+0x16
[ ]+2a: 9f3e 0000[ ]+sub\.w 0x0,\$?r3
-[ ]+2c: R_CRIS_16_DTPREL extsym4\+0xffffffaa
+[ ]+2c: R_CRIS_16_DTPREL extsym4-0x56
[ ]+2e: 6f3d 0000 0000 aa4a[ ]+sub\.d \[\$?r3\+0 <start>\],\$?r4,\$?r10
[ ]+30: R_CRIS_32_GOT_TPREL extsym3
[ ]+36: af9e 0000 0000[ ]+sub\.d 0 <start>,\$?r9
[ ]+38: R_CRIS_32_GOT_GD extsym4\+0x2a
[ ]+3c: af3e 0000 0000[ ]+sub\.d 0 <start>,\$?r3
-[ ]+3e: R_CRIS_32_GOT_TPREL extsym4\+0xffffffa0
+[ ]+3e: R_CRIS_32_GOT_TPREL extsym4-0x60
[ ]+42: 6fad 0000 0000 287a[ ]+add\.d \[\$?r10\+0 <start>\],\$?r7,\$?r8
[ ]+44: R_CRIS_32_GOT_TPREL extsym3\+0x38
[ ]+4a: 6f5d 0000 0000 611a[ ]+move\.d \[\$?r5\+0 <start>\],\$?r1
[ ]+4c: R_CRIS_32_GOT_TPREL extsym6\+0xa
[ ]+52: 6fad 0000 0000 284a[ ]+add\.d \[\$?r10\+0 <start>\],\$?r4,\$?r8
-[ ]+54: R_CRIS_32_GOT_TPREL extsym3\+0xfffffdd0
+[ ]+54: R_CRIS_32_GOT_TPREL extsym3-0x230
[ ]+5a: 6f5d 0000 0000 6cca[ ]+move\.d \[\$?r5\+0 <start>\],\$?r12
-[ ]+5c: R_CRIS_32_GOT_TPREL extsym6\+0xffffff92
+[ ]+5c: R_CRIS_32_GOT_TPREL extsym6-0x6e
[ ]+62: 6f5d 0000 0000 69ce[ ]+move\.d \[\$?r9=\$?r5\+0 <start>\],\$?r12
-[ ]+64: R_CRIS_32_GOT_TPREL extsym6\+0xffffff24
+[ ]+64: R_CRIS_32_GOT_TPREL extsym6-0xdc
[ ]+6a: 5fcd 0000 a89a[ ]+sub\.d \[\$?r12\+0\],\$?r9,\$?r8
-[ ]+6c: R_CRIS_16_GOT_TPREL extsym3\+0xffffff64
+[ ]+6c: R_CRIS_16_GOT_TPREL extsym3-0x9c
[ ]+70: 5fbd 0000 699a[ ]+move\.d \[\$?r11\+0\],\$?r9
-[ ]+72: R_CRIS_16_GOT_GD extsym14\+0xffffff00
+[ ]+72: R_CRIS_16_GOT_GD extsym14-0x100
[ ]+76: 6fad 0000 0000 287a[ ]+add\.d \[\$?r10\+0 <start>\],\$?r7,\$?r8
[ ]+78: R_CRIS_32_GOT_GD extsym3\+0x38
[ ]+\.\.\.