aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-17 16:36:22 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-17 16:36:22 +0000
commit046e56f784269f621e610a93a758568890a9b204 (patch)
treea4336e9579a5e497ce15f278724b7a08cdf8b162 /ld
parentdf7b86aa4cb63ce86e60949b8160438bc0f9e389 (diff)
downloadgdb-046e56f784269f621e610a93a758568890a9b204.zip
gdb-046e56f784269f621e610a93a758568890a9b204.tar.gz
gdb-046e56f784269f621e610a93a758568890a9b204.tar.bz2
Expect addend as signed
binutils/testsuite/ * binutils-all/hppa/objdump.exp: Expect addend as signed. gas/testsuite/ * gas/all/weakref1.d: Expect addend as signed. * gas/arm/pic_vxworks.d: Likewise. * gas/arm/wince.d: Likewise. * gas/h8300/h8300.exp: Likewise. * gas/i386/sub.d: Likewise. * gas/mips/ecoff@ld.d: Likewise. * gas/mips/ecoff@sd.d: Likewise. * gas/mips/l_d-n32.d: Likewise. * gas/mips/l_d-n64.d: Likewise. * gas/mips/l_d.d: Likewise. * gas/mips/ld-n32.d: Likewise. * gas/mips/ld-n64.d: Likewise. * gas/mips/ld.d: Likewise. * gas/mips/mips1@l_d.d: Likewise. * gas/mips/mips1@ld-forward.d: Likewise. * gas/mips/mips1@ld.d: Likewise. * gas/mips/mips1@s_d.d: Likewise. * gas/mips/s_d-n32.d: Likewise. * gas/mips/s_d-n64.d: Likewise. * gas/mips/s_d.d: Likewise. * gas/mips/sd-n32.d: Likewise. * gas/mips/sd-n64.d: Likewise. * gas/mips/sd.d: Likewise. * gas/mmix/bz-c.d: Likewise. * gas/mmix/geta-c.d: Likewise. * gas/mmix/jump-c.d: Likewise. * gas/mmix/pushj-c.d: Likewise. * gas/mmix/pushj-cs.d: Likewise. * gas/mmix/reloc16-n.d: Likewise. * gas/mmix/reloc16-r.d: Likewise. * gas/mmix/reloc16.d: Likewise. * gas/mmix/reloc8-r.d: Likewise. * gas/mmix/reloc8.d: Likewise. * gas/mmix/relocxrn.d: Likewise. * gas/sh/sh64/case-1.d: Likewise. * gas/sh/sh64/mix-1.d: Likewise. * gas/sh/sh64/pt32-1.d: Likewise. * gas/sh/sh64/pt64-1.d: Likewise. * gas/sh/sh64/pt64-32-2.d: Likewise. * gas/sh/sh64/rel32-2.d: Likewise. * gas/sh/sh64/rel32-4.d: Likewise. * gas/sh/sh64/rel64-2.d: Likewise. * gas/sh/sh64/rel64-4.d: Likewise. * gas/tic6x/data-reloc.d: Likewise. * gas/tic6x/pcr-relocs.d: Likewise. * gas/xstormy16/allinsn.d: Likewise. * gas/xstormy16/reloc-1.d: Likewise. * gas/xstormy16/reloc-2.d: Likewise. ld/testsuite/ * ld-arm/emit-relocs1-vxworks.d: Expect addend as signed. * ld-spu/pic.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-arm/emit-relocs1-vxworks.d2
-rw-r--r--ld/testsuite/ld-spu/pic.d2
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 91ad204..0095783 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-arm/emit-relocs1-vxworks.d: Expect addend as signed.
+ * ld-spu/pic.d: Likewise.
+
2012-05-17 Hans-Peter Nilsson <hp@axis.com>
* lib/ld-lib.exp (run_dump_test): For options "warning" and
diff --git a/ld/testsuite/ld-arm/emit-relocs1-vxworks.d b/ld/testsuite/ld-arm/emit-relocs1-vxworks.d
index 6d84a4c..2ea2e9a 100644
--- a/ld/testsuite/ld-arm/emit-relocs1-vxworks.d
+++ b/ld/testsuite/ld-arm/emit-relocs1-vxworks.d
@@ -7,6 +7,6 @@
+10008: e1a00000 nop .*
+1000c: e1a00000 nop .*
+10010: eaffeffa b c000 <target>
- +10010: R_ARM_PC24 target\+0xf+8
+ +10010: R_ARM_PC24 target-0x8
+10014: eaffeffd b c010 <target\+0x10>
+10014: R_ARM_PC24 target\+0x8
diff --git a/ld/testsuite/ld-spu/pic.d b/ld/testsuite/ld-spu/pic.d
index 87edc1d..438d4e1 100644
--- a/ld/testsuite/ld-spu/pic.d
+++ b/ld/testsuite/ld-spu/pic.d
@@ -28,7 +28,7 @@ Disassembly of section \.text:
24: 18 1f 82 04 a \$4,\$4,\$126
24: SPU_ADD_PIC before\+0x4
28: 18 1f 82 85 a \$5,\$5,\$126
- 28: SPU_ADD_PIC after\+0xfffffffc
+ 28: SPU_ADD_PIC after-0x4
2c: 18 1f 83 06 a \$6,\$6,\$126
2c: SPU_ADD_PIC _start
30: 18 1f 83 87 a \$7,\$7,\$126