summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-sh/sh64/crangerel2.rd
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/sh64/crangerel2.rd
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/sh64/crangerel2.rd')
-rw-r--r--ld/testsuite/ld-sh/sh64/crangerel2.rd28
1 files changed, 15 insertions, 13 deletions
diff --git a/ld/testsuite/ld-sh/sh64/crangerel2.rd b/ld/testsuite/ld-sh/sh64/crangerel2.rd
index 93d237ac84..021d9c634d 100644
--- a/ld/testsuite/ld-sh/sh64/crangerel2.rd
+++ b/ld/testsuite/ld-sh/sh64/crangerel2.rd
@@ -1,4 +1,4 @@
-There are 10 section headers, starting at offset 0x11c:
+There are 11 section headers, starting at offset 0x128:
Section Headers:
\[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al
@@ -7,11 +7,12 @@ Section Headers:
\[ 2\] \.text\.mixed PROGBITS 00000000 000034 00005c 00 AXp 0 0 4
\[ 3\] \.data PROGBITS 00000000 000090 000000 00 WA 0 0 1
\[ 4\] \.bss NOBITS 00000000 000090 000000 00 WA 0 0 1
- \[ 5\] \.cranges PROGBITS 00000000 000090 000046 00 W 0 0 1
- \[ 6\] \.rela\.cranges RELA 00000000 0002ac 000054 0c 8 5 4
- \[ 7\] \.shstrtab STRTAB 00000000 0000d6 000046 00 0 0 1
- \[ 8\] \.symtab SYMTAB 00000000 000300 000100 10 9 f 4
- \[ 9\] \.strtab STRTAB 00000000 000400 000027 00 0 0 1
+ \[ 5\] \.stack PROGBITS 00000000 000090 000004 00 WA 0 0 1
+ \[ 6\] \.cranges PROGBITS 00000000 000094 000046 00 W 0 0 1
+ \[ 7\] \.rela\.cranges RELA 00000000 0002e0 000054 0c 9 6 4
+ \[ 8\] \.shstrtab STRTAB 00000000 0000da 00004d 00 0 0 1
+ \[ 9\] \.symtab SYMTAB 00000000 000334 000110 10 10 10 4
+ \[10\] \.strtab STRTAB 00000000 000444 000027 00 0 0 1
Key to Flags:
W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
I \(info\), L \(link order\), G \(group\), x \(unknown\)
@@ -27,7 +28,7 @@ Relocation section '\.rela\.cranges' at offset 0x[0-9a-f]+ contains 7 entries:
0*00000032 +0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0
0*0000003c +0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0
-Symbol table '\.symtab' contains 16 entries:
+Symbol table '\.symtab' contains 17 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 SECTION LOCAL DEFAULT 1
@@ -39,12 +40,13 @@ Symbol table '\.symtab' contains 16 entries:
7: 00000000 0 SECTION LOCAL DEFAULT 7
8: 00000000 0 SECTION LOCAL DEFAULT 8
9: 00000000 0 SECTION LOCAL DEFAULT 9
- 10: 00000000 0 NOTYPE LOCAL DEFAULT 2 start2
- 11: 00000018 0 NOTYPE LOCAL DEFAULT 2 sec1
- 12: 00000028 0 NOTYPE LOCAL DEFAULT 2 sec2
- 13: 0000003c 0 NOTYPE LOCAL DEFAULT 2 sec3
- 14: 00000044 0 NOTYPE LOCAL DEFAULT 2 sec4
- 15: 00000000 0 NOTYPE GLOBAL DEFAULT 2 diversion2
+ 10: 00000000 0 SECTION LOCAL DEFAULT 10
+ 11: 00000000 0 NOTYPE LOCAL DEFAULT 2 start2
+ 12: 00000018 0 NOTYPE LOCAL DEFAULT 2 sec1
+ 13: 00000028 0 NOTYPE LOCAL DEFAULT 2 sec2
+ 14: 0000003c 0 NOTYPE LOCAL DEFAULT 2 sec3
+ 15: 00000044 0 NOTYPE LOCAL DEFAULT 2 sec4
+ 16: 00000000 0 NOTYPE GLOBAL DEFAULT 2 diversion2
Hex dump of section '\.text\.mixed':
0x00000000 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .*
OpenPOWER on IntegriCloud