summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-sh/shared-1.d
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2003-10-13 05:09:21 +0000
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2003-10-13 05:09:21 +0000
commitf19ae42f43165e8ebd10ba171d0757342d9be7ae (patch)
tree9120dbdb1388a3e98a089bc9fa90f59d0b4c5963 /ld/testsuite/ld-sh/shared-1.d
parenta8526365041c0b17a7fa57b98f512b45e1edce5c (diff)
downloadppe42-binutils-f19ae42f43165e8ebd10ba171d0757342d9be7ae.tar.gz
ppe42-binutils-f19ae42f43165e8ebd10ba171d0757342d9be7ae.zip
[ld]
* emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine. [ld/testsuite] * ld-sh/rd-sh.exp (LDFLAGS): Define appropriately for each sh64/sh5 targets. * ld-sh/sh.exp: Don't do relaxing test for sh64*-*-* and sh5*-*-* targets. * ld-sh/sh64/relax.exp (emul32): Set to shelf32_nbsd for netbsd. * ld-sh/sh64/relfail.exp: Set parameters for netbsd. * ld-sh/sh64/sh64.exp: Skip this for netbsd. Trim the section numbers for crangerel1 and crengerel2 tests. * ld-sh/sh64/abi32.sd: Update. * ld-sh/sh64/abi32.xd: Likewise. * ld-sh/sh64/abi64.sd: Likewise. * ld-sh/sh64/abi64.xd: Likewise. * ld-sh/sh64/abixx-noexp.sd: Likewise. * ld-sh/sh64/cmpct1.sd: Likewise. * ld-sh/sh64/cmpct1.xd: Likewise. * ld-sh/sh64/crange1.rd: Likewise. * ld-sh/sh64/crange2.rd: Likewise. * ld-sh/sh64/crange3-cmpct.rd: Likewise. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. * ld-sh/sh64/crangerel1.rd: Likewise. * ld-sh/sh64/crangerel2.rd: Likewise. * ld-sh/sh64/dlsection.sd: Likewise. * ld-sh/sh64/endian.sbd: Likewise. * ld-sh/sh64/endian.sld: Likewise. * ld-sh/sh64/gotplt.d: Likewise. * ld-sh/sh64/init-cmpct.d: Likewise. * ld-sh/sh64/init-media.d: Likewise. * ld-sh/sh64/init.s: Align functions. * ld-sh/sh64/init64.d: Update. * ld-sh/sh64/mix1-noexp.sd: Likewise. * ld-sh/sh64/mix1.sd: Likewise. * ld-sh/sh64/mix1.xd: Likewise. * ld-sh/sh64/mix2-noexp.sd: Likewise. * ld-sh/sh64/mix2.sd: Likewise. * ld-sh/sh64/mix2.xd:Likewise. * ld-sh/sh64/rel32.xd: Likewise. * ld-sh/sh64/rel64.xd: Likewise. * ld-sh/sh64/reldl32.rd: Likewise. * ld-sh/sh64/reldl64.rd: Likewise. * ld-sh/sh64/shdl32.xd: Update. * ld-sh/sh64/shdl64.sd: Likewise. * ld-sh/sh64/shdl64.xd: Likewise. * ld-sh/shared-1.d: Add -z nocombreloc to ld option. Update. * ld-sh/sub2l-1.d: Make file format match with elf32-sh.*. * ld-sh/weak1.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-sh/shared-1.d')
-rw-r--r--ld/testsuite/ld-sh/shared-1.d8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-sh/shared-1.d b/ld/testsuite/ld-sh/shared-1.d
index 2da55ab060..82198aeb4f 100644
--- a/ld/testsuite/ld-sh/shared-1.d
+++ b/ld/testsuite/ld-sh/shared-1.d
@@ -1,7 +1,7 @@
#source: ldr1.s
#source: ldr2.s
#as: -little
-#ld: -shared -EL
+#ld: -shared -EL -z nocombreloc
#readelf: -r -x4 -x5
#target: sh*-*-elf
@@ -13,10 +13,10 @@
Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 1 entries:
.*
-0000033c 000000a5 R_SH_RELATIVE +00000340
+0000030c 000000a5 R_SH_RELATIVE +00000310
Hex dump of section '\.rela\.text':
- 0x00000328 00000340 000000a5 0000033c .*
+ 0x000002f8 00000310 000000a5 0000030c .*
Hex dump of section '\.text':
- 0x00000334 00000340 00090009 00090009 .*
+ 0x00000304 00000310 00090009 00090009 .*
OpenPOWER on IntegriCloud