old-cross-binutils/ld/testsuite/ld-sh/sh64/crange3.rd
Kaz Kojima f19ae42f43 [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.
2003-10-13 05:09:21 +00:00

73 lines
4 KiB
R

There are 13 section headers, starting at offset 0x298:
Section Headers:
\[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al
\[ 0\] NULL 00000000 000000 000000 00 0 0 0
\[ 1\] \.init PROGBITS 00001000 000100 000004 00 AXp 0 0 4
\[ 2\] \.text PROGBITS 00001004 000104 0000d8 00 AXp 0 0 4
\[ 3\] \.data PROGBITS 00001160 0001e0 000000 00 WA 0 0 1
\[ 4\] \.ctors PROGBITS 00001160 000204 000000 00 W 0 0 1
\[ 5\] \.dtors PROGBITS 00001160 000204 000000 00 W 0 0 1
\[ 6\] \.sbss PROGBITS 00001160 000204 000000 00 W 0 0 1
\[ 7\] \.bss NOBITS 00001160 0001e0 000000 00 WA 0 0 1
\[ 8\] \.stack PROGBITS 00080000 000200 000004 00 WA 0 0 1
\[ 9\] \.cranges LOUSER\+1 00000000 000204 00003c 00 W 0 0 1
\[10\] \.shstrtab STRTAB 00000000 000240 000056 00 0 0 1
\[11\] \.symtab SYMTAB 00000000 0004a0 0001b0 10 12 10 4
\[12\] \.strtab STRTAB 00000000 000650 000078 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\)
O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
Symbol table '\.symtab' contains 27 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00001000 0 SECTION LOCAL DEFAULT 1
2: 00001004 0 SECTION LOCAL DEFAULT 2
3: 00001160 0 SECTION LOCAL DEFAULT 3
4: 00001160 0 SECTION LOCAL DEFAULT 4
5: 00001160 0 SECTION LOCAL DEFAULT 5
6: 00001160 0 SECTION LOCAL DEFAULT 6
7: 00001160 0 SECTION LOCAL DEFAULT 7
8: 00080000 0 SECTION LOCAL DEFAULT 8
9: 00000000 0 SECTION LOCAL DEFAULT 9
10: 00000000 0 SECTION LOCAL DEFAULT 10
11: 00000000 0 SECTION LOCAL DEFAULT 11
12: 00000000 0 SECTION LOCAL DEFAULT 12
13: 00001004 0 NOTYPE LOCAL DEFAULT 2 sec4
14: 000010a4 0 NOTYPE LOCAL DEFAULT 2 start2
15: 000010bc 0 NOTYPE LOCAL DEFAULT 2 sec3
16: 000010c4 0 NOTYPE GLOBAL DEFAULT 2 diversion
17: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors
18: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
19: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors_end
20: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2
21: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors
22: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata
23: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end
24: 00001000 0 NOTYPE GLOBAL DEFAULT 1 start
25: 00080000 0 NOTYPE GLOBAL DEFAULT 8 _stack
26: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors_end
Hex dump of section '\.text':
0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
0x00001014 6ff0fff0 6ff0fff0 cc00bd40 6ff0fff0 .*
0x00001024 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
0x00001034 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
0x00001044 6ff0fff0 6ff0fff0 6ff0fff0 cc00bd50 .*
0x00001054 cc0084c0 6ff0fff0 6ff0fff0 6ff0fff0 .*
0x00001064 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
0x00001074 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
0x00001084 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
0x00001094 6ff0fff0 6ff0fff0 6ff0fff0 cc0084d0 .*
0x000010a4 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .*
0x000010b4 0000002b 00090009 00090009 00090000 .*
0x000010c4 e10f0009 00090009 00090009 00090009 .*
0x000010d4 00090009 0009e10e .*
Hex dump of section '\.cranges':
0x00000000 00001004 000000a0 00030000 10a40000 .*
0x00000010 000c0003 000010b0 00000008 00010000 .*
0x00000020 10b80000 00040002 000010bc 00000006 .*
0x00000030 00020000 10c40000 00180002 .*