diff options
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2003-10-13 05:09:21 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2003-10-13 05:09:21 +0000 |
commit | f19ae42f43165e8ebd10ba171d0757342d9be7ae (patch) | |
tree | 9120dbdb1388a3e98a089bc9fa90f59d0b4c5963 /ld/testsuite | |
parent | a8526365041c0b17a7fa57b98f512b45e1edce5c (diff) | |
download | gdb-f19ae42f43165e8ebd10ba171d0757342d9be7ae.zip gdb-f19ae42f43165e8ebd10ba171d0757342d9be7ae.tar.gz gdb-f19ae42f43165e8ebd10ba171d0757342d9be7ae.tar.bz2 |
[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')
44 files changed, 882 insertions, 806 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 20dedda..4d42f7e 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,52 @@ +2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * 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-11 Hans-Peter Nilsson <hp@bitrange.com> * ld-scripts/defined3.d, ld-scripts/defined3.t: New test. diff --git a/ld/testsuite/ld-sh/rd-sh.exp b/ld/testsuite/ld-sh/rd-sh.exp index 886bd1f..ad70b5c 100644 --- a/ld/testsuite/ld-sh/rd-sh.exp +++ b/ld/testsuite/ld-sh/rd-sh.exp @@ -29,10 +29,19 @@ if ![istarget sh*-*-*] { } global ASFLAGS +global LDFLAGS set asflags_save "$ASFLAGS" +set ldflags_save "$LDFLAGS" if {[istarget sh64*-*-*] || [istarget sh5*-*-*]} then { set ASFLAGS "$ASFLAGS -isa=SHcompact" + if [istarget sh64*-*-linux*] { + set LDFLAGS "$LDFLAGS -mshlelf32_linux" + } elseif { [istarget sh64*-*-netbsd*] || [istarget sh5*-*-netbsd*] } { + set LDFLAGS "$LDFLAGS -mshlelf32_nbsd -e_start" + } else { + set LDFLAGS "$LDFLAGS -mshlelf32" + } } set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]] @@ -52,3 +61,4 @@ foreach shtest $rd_test_list { } } set ASFLAGS "$asflags_save" +set LDFLAGS "$ldflags_save" diff --git a/ld/testsuite/ld-sh/sh.exp b/ld/testsuite/ld-sh/sh.exp index d3bf8c8..a107421 100644 --- a/ld/testsuite/ld-sh/sh.exp +++ b/ld/testsuite/ld-sh/sh.exp @@ -25,8 +25,7 @@ if ![istarget sh*-*-*] { return } -if { ([istarget sh64-*-elf] - || [istarget sh64*-*-linux*])} { +if { ([istarget sh64*-*-*] || [istarget sh5*-*-*])} { # relaxing not supported on sh64 yet. return } diff --git a/ld/testsuite/ld-sh/sh64/abi32.sd b/ld/testsuite/ld-sh/sh64/abi32.sd index 27c2b89..8b22e46 100644 --- a/ld/testsuite/ld-sh/sh64/abi32.sd +++ b/ld/testsuite/ld-sh/sh64/abi32.sd @@ -12,7 +12,5 @@ Contents of section \.text: Contents of section \.data: 10e8 000010f4 0000100d 0000105d 000010e8 .* 10f8 000010e8 0000100d .* -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* diff --git a/ld/testsuite/ld-sh/sh64/abi32.xd b/ld/testsuite/ld-sh/sh64/abi32.xd index fdd5750..22160a9 100644 --- a/ld/testsuite/ld-sh/sh64/abi32.xd +++ b/ld/testsuite/ld-sh/sh64/abi32.xd @@ -6,27 +6,29 @@ EXEC_P, HAS_SYMS, D_PAGED start address 0x0+1011 Program Header: - LOAD off 0x0+80 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 + LOAD off 0x0+100 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 filesz 0x0+64 memsz 0x0+64 flags r-x - LOAD off 0x0+e8 vaddr 0x0+10e8 paddr 0x0+10e8 align 2\*\*7 + LOAD off 0x0+168 vaddr 0x0+10e8 paddr 0x0+10e8 align 2\*\*7 filesz 0x0+18 memsz 0x0+18 flags rw- + LOAD off 0x0+180 vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*7 + filesz 0x0+4 memsz 0x0+4 flags rw- Sections: Idx Name Size VMA LMA File off Algn - 0 \.text 00000064 0+1000 0+1000 00000080 2\*\*0 + 0 \.text 00000064 0+1000 0+1000 00000100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.data 00000018 0+10e8 0+10e8 000000e8 2\*\*0 + 1 \.data 00000018 0+10e8 0+10e8 00000168 2\*\*0 CONTENTS, ALLOC, LOAD, DATA - 2 \.ctors 00000000 0+1100 0+1100 00000100 2\*\*0 + 2 \.ctors 00000000 0+1100 0+1100 00000184 2\*\*0 CONTENTS - 3 \.dtors 00000000 0+1100 0+1100 00000100 2\*\*0 + 3 \.dtors 00000000 0+1100 0+1100 00000184 2\*\*0 CONTENTS - 4 \.sbss 00000000 0+1100 0+1100 00000100 2\*\*0 + 4 \.sbss 00000000 0+1100 0+1100 00000184 2\*\*0 CONTENTS - 5 \.bss 00000000 0+1100 0+1100 00000100 2\*\*0 + 5 \.bss 00000000 0+1100 0+1100 00000180 2\*\*0 ALLOC - 6 \.stack 00000000 0+80000 0+80000 00000100 2\*\*0 - CONTENTS + 6 \.stack 00000004 0+80000 0+80000 00000180 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA SYMBOL TABLE: 0+1000 l d \.text 0+ 0+10e8 l d \.data 0+ diff --git a/ld/testsuite/ld-sh/sh64/abi64.sd b/ld/testsuite/ld-sh/sh64/abi64.sd index fcbbf19..ff26740 100644 --- a/ld/testsuite/ld-sh/sh64/abi64.sd +++ b/ld/testsuite/ld-sh/sh64/abi64.sd @@ -16,7 +16,5 @@ Contents of section \.text: Contents of section \.data: 1130 0000113c 00001015 000010a5 00001130 .* 1140 00001130 00001015 .* -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* diff --git a/ld/testsuite/ld-sh/sh64/abi64.xd b/ld/testsuite/ld-sh/sh64/abi64.xd index 4a1ba0d..f857d25 100644 --- a/ld/testsuite/ld-sh/sh64/abi64.xd +++ b/ld/testsuite/ld-sh/sh64/abi64.xd @@ -9,6 +9,8 @@ Program Header: filesz 0x00000000000000ac memsz 0x00000000000000ac flags r-x LOAD off 0x00000000000001b0 vaddr 0x0000000000001130 paddr 0x0000000000001130 align 2\*\*7 filesz 0x0000000000000018 memsz 0x0000000000000018 flags rw- + LOAD off 0x0000000000000200 vaddr 0x0000000000080000 paddr 0x0000000000080000 align 2\*\*7 + filesz 0x0000000000000004 memsz 0x0000000000000004 flags rw- Sections: Idx Name Size VMA LMA File off Algn @@ -16,16 +18,16 @@ Idx Name Size VMA LMA File off Algn CONTENTS, ALLOC, LOAD, READONLY, CODE 1 \.data 00000018 0000000000001130 0000000000001130 000001b0 2\*\*0 CONTENTS, ALLOC, LOAD, DATA - 2 \.ctors 00000000 0000000000001148 0000000000001148 000001c8 2\*\*0 + 2 \.ctors 00000000 0000000000001148 0000000000001148 00000204 2\*\*0 CONTENTS - 3 \.dtors 00000000 0000000000001148 0000000000001148 000001c8 2\*\*0 + 3 \.dtors 00000000 0000000000001148 0000000000001148 00000204 2\*\*0 CONTENTS - 4 \.sbss 00000000 0000000000001148 0000000000001148 000001c8 2\*\*0 + 4 \.sbss 00000000 0000000000001148 0000000000001148 00000204 2\*\*0 CONTENTS 5 \.bss 00000000 0000000000001148 0000000000001148 000001c8 2\*\*0 ALLOC - 6 \.stack 00000000 0000000000080000 0000000000080000 000001c8 2\*\*0 - CONTENTS + 6 \.stack 00000004 0000000000080000 0000000000080000 00000200 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA SYMBOL TABLE: 0000000000001000 l d \.text 0000000000000000 0000000000001130 l d \.data 0000000000000000 diff --git a/ld/testsuite/ld-sh/sh64/abixx-noexp.sd b/ld/testsuite/ld-sh/sh64/abixx-noexp.sd index b826471..ce11156 100644 --- a/ld/testsuite/ld-sh/sh64/abixx-noexp.sd +++ b/ld/testsuite/ld-sh/sh64/abixx-noexp.sd @@ -8,7 +8,5 @@ Contents of section \.text: Contents of section \.data: 10b0 000010bc 00001005 00001029 000010b0 .* 10c0 000010b0 00001005 .* -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* diff --git a/ld/testsuite/ld-sh/sh64/cmpct1.sd b/ld/testsuite/ld-sh/sh64/cmpct1.sd index 45cdfc5..1f7e8a1 100644 --- a/ld/testsuite/ld-sh/sh64/cmpct1.sd +++ b/ld/testsuite/ld-sh/sh64/cmpct1.sd @@ -5,8 +5,5 @@ Contents of section \.text: 1000 c7000009 0009ea2a .* Contents of section \.rodata: 1008 00001000 0000100c 00001004 .* -Contents of section \.data: -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* diff --git a/ld/testsuite/ld-sh/sh64/cmpct1.xd b/ld/testsuite/ld-sh/sh64/cmpct1.xd index aae01b1..b0ed875 100644 --- a/ld/testsuite/ld-sh/sh64/cmpct1.xd +++ b/ld/testsuite/ld-sh/sh64/cmpct1.xd @@ -6,29 +6,31 @@ EXEC_P, HAS_SYMS, D_PAGED start address 0x0+1000 Program Header: - LOAD off 0x0+80 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 + LOAD off 0x0+100 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 filesz 0x0+14 memsz 0x0+14 flags r-x - LOAD off 0x0+98 vaddr 0x0+1098 paddr 0x0+1098 align 2\*\*7 + LOAD off 0x0+118 vaddr 0x0+1098 paddr 0x0+1098 align 2\*\*7 filesz 0x0+ memsz 0x0+ flags rw- + LOAD off 0x0+180 vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*7 + filesz 0x00000004 memsz 0x00000004 flags rw- Sections: Idx Name Size VMA LMA File off Algn - 0 \.text 00000008 0+1000 0+1000 00000080 2\*\*0 + 0 \.text 00000008 0+1000 0+1000 00000100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.rodata 0000000c 0+1008 0+1008 00000088 2\*\*0 + 1 \.rodata 0000000c 0+1008 0+1008 00000108 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 2 \.data 00000000 0+1098 0+1098 00000098 2\*\*0 + 2 \.data 00000000 0+1098 0+1098 00000118 2\*\*0 CONTENTS, ALLOC, LOAD, DATA - 3 \.ctors 00000000 0+1098 0+1098 00000098 2\*\*0 + 3 \.ctors 00000000 0+1098 0+1098 00000184 2\*\*0 CONTENTS - 4 \.dtors 00000000 0+1098 0+1098 00000098 2\*\*0 + 4 \.dtors 00000000 0+1098 0+1098 00000184 2\*\*0 CONTENTS - 5 \.sbss 00000000 0+1098 0+1098 00000098 2\*\*0 + 5 \.sbss 00000000 0+1098 0+1098 00000184 2\*\*0 CONTENTS - 6 \.bss 00000000 0+1098 0+1098 00000098 2\*\*0 + 6 \.bss 00000000 0+1098 0+1098 00000118 2\*\*0 ALLOC - 7 \.stack 00000000 0+80000 0+80000 00000098 2\*\*0 - CONTENTS + 7 \.stack 00000004 0+80000 0+80000 00000180 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA SYMBOL TABLE: 0+1000 l d \.text 0+ 0+1008 l d \.rodata 0+ diff --git a/ld/testsuite/ld-sh/sh64/crange1.rd b/ld/testsuite/ld-sh/sh64/crange1.rd index 7ce3e17..3c9a692 100644 --- a/ld/testsuite/ld-sh/sh64/crange1.rd +++ b/ld/testsuite/ld-sh/sh64/crange1.rd @@ -1,20 +1,20 @@ -There are 13 section headers, starting at offset 0x114: +There are 13 section headers, starting at offset 0x1f8: 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 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 000018 00 AXp 0 0 4 - \[ 3\] \.data PROGBITS 000010a0 0000a0 000000 00 WA 0 0 1 - \[ 4\] \.ctors PROGBITS 000010a0 0000a0 000000 00 W 0 0 1 - \[ 5\] \.dtors PROGBITS 000010a0 0000a0 000000 00 W 0 0 1 - \[ 6\] \.sbss PROGBITS 000010a0 0000a0 000000 00 W 0 0 1 - \[ 7\] \.bss NOBITS 000010a0 0000a0 000000 00 WA 0 0 1 - \[ 8\] \.stack PROGBITS 00080000 0000a0 000000 00 W 0 0 1 - \[ 9\] \.cranges LOUSER\+1 00000000 0000a0 00001e 00 W 0 0 1 - \[10\] \.shstrtab STRTAB 00000000 0000be 000056 00 0 0 1 - \[11\] \.symtab SYMTAB 00000000 00031c 000180 10 12 e 4 - \[12\] \.strtab STRTAB 00000000 00049c 000064 00 0 0 1 + \[ 1\] \.init PROGBITS 00001000 000100 000004 00 AXp 0 0 4 + \[ 2\] \.text PROGBITS 00001004 000104 000018 00 AXp 0 0 4 + \[ 3\] \.data PROGBITS 000010a0 000120 000000 00 WA 0 0 1 + \[ 4\] \.ctors PROGBITS 000010a0 000184 000000 00 W 0 0 1 + \[ 5\] \.dtors PROGBITS 000010a0 000184 000000 00 W 0 0 1 + \[ 6\] \.sbss PROGBITS 000010a0 000184 000000 00 W 0 0 1 + \[ 7\] \.bss NOBITS 000010a0 000120 000000 00 WA 0 0 1 + \[ 8\] \.stack PROGBITS 00080000 000180 000004 00 WA 0 0 1 + \[ 9\] \.cranges LOUSER\+1 00000000 000184 00001e 00 W 0 0 1 + \[10\] \.shstrtab STRTAB 00000000 0001a2 000056 00 0 0 1 + \[11\] \.symtab SYMTAB 00000000 000400 000180 10 12 e 4 + \[12\] \.strtab STRTAB 00000000 000580 000064 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\) diff --git a/ld/testsuite/ld-sh/sh64/crange2.rd b/ld/testsuite/ld-sh/sh64/crange2.rd index 1a4f76d..1456040 100644 --- a/ld/testsuite/ld-sh/sh64/crange2.rd +++ b/ld/testsuite/ld-sh/sh64/crange2.rd @@ -1,20 +1,20 @@ -There are 13 section headers, starting at offset 0x17c: +There are 13 section headers, starting at offset 0x220: 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 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 00005c 00 AXp 0 0 4 - \[ 3\] \.data PROGBITS 000010e0 0000e0 000000 00 WA 0 0 1 - \[ 4\] \.ctors PROGBITS 000010e0 0000e0 000000 00 W 0 0 1 - \[ 5\] \.dtors PROGBITS 000010e0 0000e0 000000 00 W 0 0 1 - \[ 6\] \.sbss PROGBITS 000010e0 0000e0 000000 00 W 0 0 1 - \[ 7\] \.bss NOBITS 000010e0 0000e0 000000 00 WA 0 0 1 - \[ 8\] \.stack PROGBITS 00080000 0000e0 000000 00 W 0 0 1 - \[ 9\] \.cranges LOUSER\+1 00000000 0000e0 000046 00 W 0 0 1 - \[10\] \.shstrtab STRTAB 00000000 000126 000056 00 0 0 1 - \[11\] \.symtab SYMTAB 00000000 000384 0001c0 10 12 12 4 - \[12\] \.strtab STRTAB 00000000 000544 000078 00 0 0 1 + \[ 1\] \.init PROGBITS 00001000 000100 000004 00 AXp 0 0 4 + \[ 2\] \.text PROGBITS 00001004 000104 00005c 00 AXp 0 0 4 + \[ 3\] \.data PROGBITS 000010e0 000160 000000 00 WA 0 0 1 + \[ 4\] \.ctors PROGBITS 000010e0 000184 000000 00 W 0 0 1 + \[ 5\] \.dtors PROGBITS 000010e0 000184 000000 00 W 0 0 1 + \[ 6\] \.sbss PROGBITS 000010e0 000184 000000 00 W 0 0 1 + \[ 7\] \.bss NOBITS 000010e0 000160 000000 00 WA 0 0 1 + \[ 8\] \.stack PROGBITS 00080000 000180 000004 00 WA 0 0 1 + \[ 9\] \.cranges LOUSER\+1 00000000 000184 000046 00 W 0 0 1 + \[10\] \.shstrtab STRTAB 00000000 0001ca 000056 00 0 0 1 + \[11\] \.symtab SYMTAB 00000000 000428 0001c0 10 12 12 4 + \[12\] \.strtab STRTAB 00000000 0005e8 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\) diff --git a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd index 29e7a00..98ff01f 100644 --- a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd +++ b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd @@ -6,15 +6,15 @@ ELF Header: OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC \(Executable file\) - Machine: SuperH SH + Machine: Renesas / SuperH SH Version: 0x1 Entry point address: 0x10c4 Start of program headers: 52 \(bytes into file\) - Start of section headers: 500 \(bytes into file\) + Start of section headers: 664 \(bytes into file\) Flags: 0xa Size of this header: 52 \(bytes\) Size of program headers: 32 \(bytes\) - Number of program headers: 2 + Number of program headers: 3 Size of section headers: 40 \(bytes\) Number of section headers: 13 Section header string table index: 10 @@ -22,18 +22,18 @@ ELF Header: 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 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 0000d8 00 AXp 0 0 4 - \[ 3\] \.data PROGBITS 00001160 000160 000000 00 WA 0 0 1 - \[ 4\] \.ctors PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 5\] \.dtors PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 6\] \.sbss PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 7\] \.bss NOBITS 00001160 000160 000000 00 WA 0 0 1 - \[ 8\] \.stack PROGBITS 00080000 000160 000000 00 W 0 0 1 - \[ 9\] \.cranges LOUSER\+1 00000000 000160 00003c 00 W 0 0 1 - \[10\] \.shstrtab STRTAB 00000000 00019c 000056 00 0 0 1 - \[11\] \.symtab SYMTAB 00000000 0003fc 0001b0 10 12 10 4 - \[12\] \.strtab STRTAB 00000000 0005ac 000078 00 0 0 1 + \[ 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\) diff --git a/ld/testsuite/ld-sh/sh64/crange3-media.rd b/ld/testsuite/ld-sh/sh64/crange3-media.rd index cef884a..c63c9a0 100644 --- a/ld/testsuite/ld-sh/sh64/crange3-media.rd +++ b/ld/testsuite/ld-sh/sh64/crange3-media.rd @@ -6,15 +6,15 @@ ELF Header: OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC \(Executable file\) - Machine: SuperH SH + Machine: Renesas / SuperH SH Version: 0x1 Entry point address: 0x10a5 Start of program headers: 52 \(bytes into file\) - Start of section headers: 500 \(bytes into file\) + Start of section headers: 664 \(bytes into file\) Flags: 0xa Size of this header: 52 \(bytes\) Size of program headers: 32 \(bytes\) - Number of program headers: 2 + Number of program headers: 3 Size of section headers: 40 \(bytes\) Number of section headers: 13 Section header string table index: 10 @@ -22,18 +22,18 @@ ELF Header: 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 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 0000d8 00 AXp 0 0 4 - \[ 3\] \.data PROGBITS 00001160 000160 000000 00 WA 0 0 1 - \[ 4\] \.ctors PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 5\] \.dtors PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 6\] \.sbss PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 7\] \.bss NOBITS 00001160 000160 000000 00 WA 0 0 1 - \[ 8\] \.stack PROGBITS 00080000 000160 000000 00 W 0 0 1 - \[ 9\] \.cranges LOUSER\+1 00000000 000160 00003c 00 W 0 0 1 - \[10\] \.shstrtab STRTAB 00000000 00019c 000056 00 0 0 1 - \[11\] \.symtab SYMTAB 00000000 0003fc 0001b0 10 12 10 4 - \[12\] \.strtab STRTAB 00000000 0005ac 000078 00 0 0 1 + \[ 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\) diff --git a/ld/testsuite/ld-sh/sh64/crange3.rd b/ld/testsuite/ld-sh/sh64/crange3.rd index ae8be07..940ef9e 100644 --- a/ld/testsuite/ld-sh/sh64/crange3.rd +++ b/ld/testsuite/ld-sh/sh64/crange3.rd @@ -1,20 +1,20 @@ -There are 13 section headers, starting at offset 0x1f4: +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 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 0000d8 00 AXp 0 0 4 - \[ 3\] \.data PROGBITS 00001160 000160 000000 00 WA 0 0 1 - \[ 4\] \.ctors PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 5\] \.dtors PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 6\] \.sbss PROGBITS 00001160 000160 000000 00 W 0 0 1 - \[ 7\] \.bss NOBITS 00001160 000160 000000 00 WA 0 0 1 - \[ 8\] \.stack PROGBITS 00080000 000160 000000 00 W 0 0 1 - \[ 9\] \.cranges LOUSER\+1 00000000 000160 00003c 00 W 0 0 1 - \[10\] \.shstrtab STRTAB 00000000 00019c 000056 00 0 0 1 - \[11\] \.symtab SYMTAB 00000000 0003fc 0001b0 10 12 10 4 - \[12\] \.strtab STRTAB 00000000 0005ac 000078 00 0 0 1 + \[ 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\) diff --git a/ld/testsuite/ld-sh/sh64/crangerel1.rd b/ld/testsuite/ld-sh/sh64/crangerel1.rd index 5317f76..6994aee 100644 --- a/ld/testsuite/ld-sh/sh64/crangerel1.rd +++ b/ld/testsuite/ld-sh/sh64/crangerel1.rd @@ -1,4 +1,4 @@ -There are 10 section headers, starting at offset 0xb0: +There are 11 section headers, starting at offset 0xbc: 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 000018 00 AXp 0 0 4 \[ 3\] \.data PROGBITS 00000000 00004c 000000 00 WA 0 0 1 \[ 4\] \.bss NOBITS 00000000 00004c 000000 00 WA 0 0 1 - \[ 5\] \.cranges PROGBITS 00000000 00004c 00001e 00 W 0 0 1 - \[ 6\] \.rela\.cranges RELA 00000000 000240 000024 0c 8 5 4 - \[ 7\] \.shstrtab STRTAB 00000000 00006a 000046 00 0 0 1 - \[ 8\] \.symtab SYMTAB 00000000 000264 0000c0 10 9 b 4 - \[ 9\] \.strtab STRTAB 00000000 000324 000013 00 0 0 1 + \[ 5\] \.stack PROGBITS 00000000 00004c 000004 00 WA 0 0 1 + \[ 6\] \.cranges PROGBITS 00000000 000050 00001e 00 W 0 0 1 + \[ 7\] \.rela\.cranges RELA 00000000 000274 000024 0c 9 6 4 + \[ 8\] \.shstrtab STRTAB 00000000 00006e 00004d 00 0 0 1 + \[ 9\] \.symtab SYMTAB 00000000 000298 0000d0 10 10 c 4 + \[10\] \.strtab STRTAB 00000000 000368 000013 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\) @@ -23,7 +24,7 @@ Relocation section '\.rela\.cranges' at offset 0x[0-9a-f]+ contains 3 entries: 0*0000000a 0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 0*00000014 0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 -Symbol table '\.symtab' contains 12 entries: +Symbol table '\.symtab' contains 13 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 SECTION LOCAL DEFAULT 1 @@ -35,8 +36,9 @@ Symbol table '\.symtab' contains 12 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: 00000000 0 NOTYPE GLOBAL DEFAULT 2 diversion2 + 10: 00000000 0 SECTION LOCAL DEFAULT 10 + 11: 00000000 0 NOTYPE LOCAL DEFAULT 2 start2 + 12: 00000000 0 NOTYPE GLOBAL DEFAULT 2 diversion2 Hex dump of section '\.text\.mixed': 0x00000000 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .* diff --git a/ld/testsuite/ld-sh/sh64/crangerel2.rd b/ld/testsuite/ld-sh/sh64/crangerel2.rd index 93d237a..021d9c6 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 .* diff --git a/ld/testsuite/ld-sh/sh64/dlsection.sd b/ld/testsuite/ld-sh/sh64/dlsection.sd index 3e470fb..58bf965 100644 --- a/ld/testsuite/ld-sh/sh64/dlsection.sd +++ b/ld/testsuite/ld-sh/sh64/dlsection.sd @@ -5,9 +5,5 @@ Contents of section \.text: 1000 00001004 .* Contents of section \.text2: 1004 00000017 .* -Contents of section \.data: -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: -Contents of section \.bss: Contents of section \.stack: + 80000 deaddead .* diff --git a/ld/testsuite/ld-sh/sh64/endian.sbd b/ld/testsuite/ld-sh/sh64/endian.sbd index 650aeba..462f66d 100644 --- a/ld/testsuite/ld-sh/sh64/endian.sbd +++ b/ld/testsuite/ld-sh/sh64/endian.sbd @@ -3,5 +3,3 @@ Contents of section .text: 0000 cc48d000 12345678 12340000 12345678.* -Contents of section .data: - diff --git a/ld/testsuite/ld-sh/sh64/endian.sld b/ld/testsuite/ld-sh/sh64/endian.sld index 71ef38b..00975cb 100644 --- a/ld/testsuite/ld-sh/sh64/endian.sld +++ b/ld/testsuite/ld-sh/sh64/endian.sld @@ -3,5 +3,4 @@ Contents of section .text: 0000 00d048cc 78563412 34120000 78563412.* -Contents of section .data: diff --git a/ld/testsuite/ld-sh/sh64/gotplt.d b/ld/testsuite/ld-sh/sh64/gotplt.d index 3339a65..1015fcb 100644 --- a/ld/testsuite/ld-sh/sh64/gotplt.d +++ b/ld/testsuite/ld-sh/sh64/gotplt.d @@ -7,6 +7,6 @@ # Make sure that gotplt relocations of forced local symbols # use the GOT. -Relocation section '\.rela\.dyn' at offset 0x3fc contains 1 entries: +Relocation section '\.rela\.dyn' at offset 0x3c8 contains 1 entries: Offset Info Type Sym\.Value Sym\. Name \+ Addend -0000052c 000000a5 R_SH_RELATIVE 00000408 +000004f4 000000a5 R_SH_RELATIVE 000003d4 diff --git a/ld/testsuite/ld-sh/sh64/init-cmpct.d b/ld/testsuite/ld-sh/sh64/init-cmpct.d index 0005950..8fb2876 100644 --- a/ld/testsuite/ld-sh/sh64/init-cmpct.d +++ b/ld/testsuite/ld-sh/sh64/init-cmpct.d @@ -7,14 +7,14 @@ # Make sure that the lsb of DT_INIT and DT_FINI entries is not set # when _init and _fini are SHcompact code. -Dynamic segment at offset 0x358 contains 8 entries: +Dynamic segment at offset 0x328 contains 8 entries: Tag Type Name/Value - 0x0000000c \(INIT\) 0x346 - 0x0000000d \(FINI\) 0x34e + 0x0000000c \(INIT\) 0x318 + 0x0000000d \(FINI\) 0x320 0x00000004 \(HASH\) 0x94 - 0x00000005 \(STRTAB\) 0x2d4 - 0x00000006 \(SYMTAB\) 0x144 - 0x0000000a \(STRSZ\) 114 \(bytes\) + 0x00000005 \(STRTAB\) 0x2ac + 0x00000006 \(SYMTAB\) 0x13c + 0x0000000a \(STRSZ\) 107 \(bytes\) 0x0000000b \(SYMENT\) 16 \(bytes\) 0x00000000 \(NULL\) 0x0 diff --git a/ld/testsuite/ld-sh/sh64/init-media.d b/ld/testsuite/ld-sh/sh64/init-media.d index 81b41c2..2fd914b 100644 --- a/ld/testsuite/ld-sh/sh64/init-media.d +++ b/ld/testsuite/ld-sh/sh64/init-media.d @@ -7,13 +7,13 @@ # Make sure that the lsb of DT_INIT and DT_FINI entries is set # when _init and _fini are SHmedia code. -Dynamic segment at offset 0x368 contains 8 entries: +Dynamic segment at offset 0x338 contains 8 entries: Tag Type Name/Value - 0x0000000c \(INIT\) 0x347 - 0x0000000d \(FINI\) 0x357 + 0x0000000c \(INIT\) 0x319 + 0x0000000d \(FINI\) 0x329 0x00000004 \(HASH\) 0x94 - 0x00000005 \(STRTAB\) 0x2d4 - 0x00000006 \(SYMTAB\) 0x144 - 0x0000000a \(STRSZ\) 114 \(bytes\) + 0x00000005 \(STRTAB\) 0x2ac + 0x00000006 \(SYMTAB\) 0x13c + 0x0000000a \(STRSZ\) 107 \(bytes\) 0x0000000b \(SYMENT\) 16 \(bytes\) 0x00000000 \(NULL\) 0x0 diff --git a/ld/testsuite/ld-sh/sh64/init.s b/ld/testsuite/ld-sh/sh64/init.s index 4aa1ff9..900e764 100644 --- a/ld/testsuite/ld-sh/sh64/init.s +++ b/ld/testsuite/ld-sh/sh64/init.s @@ -1,6 +1,7 @@ .section .text,"ax" .global _init .type _init,@function + .align 1 _init: nop nop @@ -9,6 +10,7 @@ _init: .global _fini .type _fini,@function + .align 1 _fini: nop nop diff --git a/ld/testsuite/ld-sh/sh64/init64.d b/ld/testsuite/ld-sh/sh64/init64.d index 6855a32..01f881e 100644 --- a/ld/testsuite/ld-sh/sh64/init64.d +++ b/ld/testsuite/ld-sh/sh64/init64.d @@ -7,13 +7,13 @@ # Make sure that the lsb of DT_INIT and DT_FINI entries is set # when _init and _fini are SHmedia code. -Dynamic segment at offset 0x488 contains 8 entries: +Dynamic segment at offset 0x448 contains 8 entries: Tag Type Name/Value - 0x000000000000000c \(INIT\) 0x463 - 0x000000000000000d \(FINI\) 0x473 + 0x000000000000000c \(INIT\) 0x425 + 0x000000000000000d \(FINI\) 0x435 0x0000000000000004 \(HASH\) 0xe8 - 0x0000000000000005 \(STRTAB\) 0x3f0 - 0x0000000000000006 \(SYMTAB\) 0x198 - 0x000000000000000a \(STRSZ\) 114 \(bytes\) + 0x0000000000000005 \(STRTAB\) 0x3b8 + 0x0000000000000006 \(SYMTAB\) 0x190 + 0x000000000000000a \(STRSZ\) 107 \(bytes\) 0x000000000000000b \(SYMENT\) 24 \(bytes\) 0x0000000000000000 \(NULL\) 0x0 diff --git a/ld/testsuite/ld-sh/sh64/mix1-noexp.sd b/ld/testsuite/ld-sh/sh64/mix1-noexp.sd index f70a7f1..71824b3 100644 --- a/ld/testsuite/ld-sh/sh64/mix1-noexp.sd +++ b/ld/testsuite/ld-sh/sh64/mix1-noexp.sd @@ -7,10 +7,8 @@ Contents of section \.text: 1020 cc401360 cc4086d0 ebfffa70 6ff0fff0 .* Contents of section \.data: 10b0 000010b0 00001004 00001021 .* -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* Contents of section \.cranges: 0000 00001000 00000016 00020000 10180000 .* 0010 00180003 .* diff --git a/ld/testsuite/ld-sh/sh64/mix1.sd b/ld/testsuite/ld-sh/sh64/mix1.sd index 3b287d7..b884013 100644 --- a/ld/testsuite/ld-sh/sh64/mix1.sd +++ b/ld/testsuite/ld-sh/sh64/mix1.sd @@ -9,10 +9,8 @@ Contents of section \.text: 1040 ebfff270 6ff0fff0 .* Contents of section \.data: 10c8 000010c8 00001004 00001031 .* -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* Contents of section \.cranges: 0000 00001000 00000016 00020000 10180000 .* 0010 00300003 .* diff --git a/ld/testsuite/ld-sh/sh64/mix1.xd b/ld/testsuite/ld-sh/sh64/mix1.xd index a9770d9..9beb969 100644 --- a/ld/testsuite/ld-sh/sh64/mix1.xd +++ b/ld/testsuite/ld-sh/sh64/mix1.xd @@ -6,28 +6,29 @@ EXEC_P, HAS_SYMS, D_PAGED start address 0x0+1000 Program Header: - LOAD off 0x0+80 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 + LOAD off 0x0+100 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 filesz 0x0+48 memsz 0x0+48 flags r-x - LOAD off 0x0+c8 vaddr 0x0+10c8 paddr 0x0+10c8 align 2\*\*7 + LOAD off 0x0+148 vaddr 0x0+10c8 paddr 0x0+10c8 align 2\*\*7 filesz 0x0+c memsz 0x0+10 flags rw- - + LOAD off 0x0+180 vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*7 + filesz 0x0+4 memsz 0x0+4 flags rw- Sections: Idx Name Size VMA LMA File off Algn - 0 \.text 00000048 0+1000 0+1000 00000080 2\*\*2 + 0 \.text 00000048 0+1000 0+1000 00000100 2\*\*2 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.data 0000000c 0+10c8 0+10c8 000000c8 2\*\*0 + 1 \.data 0000000c 0+10c8 0+10c8 00000148 2\*\*0 CONTENTS, ALLOC, LOAD, DATA - 2 \.ctors 00000000 0+10d4 0+10d4 000000d8 2\*\*0 + 2 \.ctors 00000000 0+10d4 0+10d4 00000184 2\*\*0 CONTENTS - 3 \.dtors 00000000 0+10d4 0+10d4 000000d8 2\*\*0 + 3 \.dtors 00000000 0+10d4 0+10d4 00000184 2\*\*0 CONTENTS - 4 \.sbss 00000000 0+10d8 0+10d8 000000d8 2\*\*0 + 4 \.sbss 00000000 0+10d8 0+10d8 00000184 2\*\*0 CONTENTS - 5 \.bss 00000000 0+10d8 0+10d8 000000d8 2\*\*0 + 5 \.bss 00000000 0+10d8 0+10d8 00000158 2\*\*0 ALLOC - 6 \.stack 00000000 0+80000 0+80000 000000d8 2\*\*0 - CONTENTS - 7 \.cranges 00000014 0+ 0+ 000000d8 2\*\*0 + 6 \.stack 00000004 0+80000 0+80000 00000180 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA + 7 \.cranges 00000014 0+ 0+ 00000184 2\*\*0 CONTENTS, DEBUGGING, SORT_ENTRIES SYMBOL TABLE: 0+1000 l d \.text 0+ diff --git a/ld/testsuite/ld-sh/sh64/mix2-noexp.sd b/ld/testsuite/ld-sh/sh64/mix2-noexp.sd index 1a8a907..b12f6b0 100644 --- a/ld/testsuite/ld-sh/sh64/mix2-noexp.sd +++ b/ld/testsuite/ld-sh/sh64/mix2-noexp.sd @@ -9,10 +9,8 @@ Contents of section \.rodata: 1022 00001018 000010c4 0000100d 00001026 .* Contents of section \.data: 10b8 00000000 00001014 00000000 000010bc .* -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* Contents of section \.cranges: 0000 00001000 00000010 00030000 10100000 .* 0010 00120002 .* diff --git a/ld/testsuite/ld-sh/sh64/mix2.sd b/ld/testsuite/ld-sh/sh64/mix2.sd index f5b45cf..4ae984c 100644 --- a/ld/testsuite/ld-sh/sh64/mix2.sd +++ b/ld/testsuite/ld-sh/sh64/mix2.sd @@ -10,10 +10,8 @@ Contents of section \.rodata: 1032 00001028 000010d4 0000101d 00001036 .* Contents of section \.data: 10c8 00000000 00001024 00000000 000010cc .* -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* Contents of section \.cranges: 0000 00001000 00000020 00030000 10200000 .* 0010 00120002 .* diff --git a/ld/testsuite/ld-sh/sh64/mix2.xd b/ld/testsuite/ld-sh/sh64/mix2.xd index 3740cb7..8137521 100644 --- a/ld/testsuite/ld-sh/sh64/mix2.xd +++ b/ld/testsuite/ld-sh/sh64/mix2.xd @@ -6,30 +6,32 @@ EXEC_P, HAS_SYMS, D_PAGED start address 0x0+1001 Program Header: - LOAD off 0x0+80 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 + LOAD off 0x0+100 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 filesz 0x0+42 memsz 0x0+42 flags r-x - LOAD off 0x0+c8 vaddr 0x0+10c8 paddr 0x0+10c8 align 2\*\*7 + LOAD off 0x0+148 vaddr 0x0+10c8 paddr 0x0+10c8 align 2\*\*7 filesz 0x0+10 memsz 0x0+10 flags rw- + LOAD off 0x0+180 vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*7 + filesz 0x0+4 memsz 0x0+4 flags rw- Sections: Idx Name Size VMA LMA File off Algn - 0 \.text 00000032 0+1000 0+1000 00000080 2\*\*0 + 0 \.text 00000032 0+1000 0+1000 00000100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.rodata 00000010 0+1032 0+1032 000000b2 2\*\*0 + 1 \.rodata 00000010 0+1032 0+1032 00000132 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 2 \.data 00000010 0+10c8 0+10c8 000000c8 2\*\*0 + 2 \.data 00000010 0+10c8 0+10c8 00000148 2\*\*0 CONTENTS, ALLOC, LOAD, DATA - 3 \.ctors 00000000 0+10d8 0+10d8 000000d8 2\*\*0 + 3 \.ctors 00000000 0+10d8 0+10d8 00000184 2\*\*0 CONTENTS - 4 \.dtors 00000000 0+10d8 0+10d8 000000d8 2\*\*0 + 4 \.dtors 00000000 0+10d8 0+10d8 00000184 2\*\*0 CONTENTS - 5 \.sbss 00000000 0+10d8 0+10d8 000000d8 2\*\*0 + 5 \.sbss 00000000 0+10d8 0+10d8 00000184 2\*\*0 CONTENTS - 6 \.bss 00000000 0+10d8 0+10d8 000000d8 2\*\*0 + 6 \.bss 00000000 0+10d8 0+10d8 00000158 2\*\*0 ALLOC - 7 \.stack 00000000 0+80000 0+80000 000000d8 2\*\*0 - CONTENTS - 8 \.cranges 00000014 0+ 0+ 000000d8 2\*\*0 + 7 \.stack 00000004 0+80000 0+80000 00000180 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA + 8 \.cranges 00000014 0+ 0+ 00000184 2\*\*0 CONTENTS, DEBUGGING, SORT_ENTRIES SYMBOL TABLE: 0+1000 l d \.text 0+ diff --git a/ld/testsuite/ld-sh/sh64/rel32.xd b/ld/testsuite/ld-sh/sh64/rel32.xd index d4ffa29..8007485 100644 --- a/ld/testsuite/ld-sh/sh64/rel32.xd +++ b/ld/testsuite/ld-sh/sh64/rel32.xd @@ -13,12 +13,15 @@ Idx Name Size VMA LMA File off Algn CONTENTS, ALLOC, LOAD, RELOC, DATA 2 \.bss 0+ 0+ 0+ 0+b4 2\*\*0 ALLOC + 3 \.stack 0+4 0+ 0+ 0+b4 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA SYMBOL TABLE: 0+ l d \.text 0+ 0+ l d \*ABS\* 0+ 0+ l d \.data 0+ 0+ l d \*ABS\* 0+ 0+ l d \.bss 0+ +0+ l d \.stack 0+ 0+ l d \*ABS\* 0+ 0+ l d \*ABS\* 0+ 0+ l d \*ABS\* 0+ @@ -90,3 +93,5 @@ Contents of section \.data: 0010 00000000 00000000 00000000 00000000 .* 0020 00000000 00000000 00000000 00000000 .* 0030 00000000 00000000 00000000 00000000 .* +Contents of section .stack: + 0000 deaddead .* diff --git a/ld/testsuite/ld-sh/sh64/rel64.xd b/ld/testsuite/ld-sh/sh64/rel64.xd index ae76d78..dd470cb 100644 --- a/ld/testsuite/ld-sh/sh64/rel64.xd +++ b/ld/testsuite/ld-sh/sh64/rel64.xd @@ -13,12 +13,15 @@ Idx Name Size VMA LMA File off Algn CONTENTS, ALLOC, LOAD, RELOC, DATA 2 \.bss 0+ 0+ 0+ 0+c0 2\*\*0 ALLOC + 3 \.stack 0+4 0+ 0+ 0+c0 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA SYMBOL TABLE: 0+ l d \.text 0+ 0+ l d \*ABS\* 0+ 0+ l d \.data 0+ 0+ l d \*ABS\* 0+ 0+ l d \.bss 0+ +0+ l d \.stack 0+ 0+ l d \*ABS\* 0+ 0+ l d \*ABS\* 0+ 0+ l d \*ABS\* 0+ @@ -90,3 +93,5 @@ Contents of section \.data: 0010 00000000 00000000 00000000 00000000 .* 0020 00000000 00000000 00000000 00000000 .* 0030 00000000 00000000 00000000 00000000 .* +Contents of section .stack: + 0000 deaddead .* diff --git a/ld/testsuite/ld-sh/sh64/relax.exp b/ld/testsuite/ld-sh/sh64/relax.exp index 772a423..5c8c996 100644 --- a/ld/testsuite/ld-sh/sh64/relax.exp +++ b/ld/testsuite/ld-sh/sh64/relax.exp @@ -35,6 +35,8 @@ if ![istarget sh64-*-*] { if [istarget sh64*-*-linux*] { set emul32 "shlelf32_linux" +} elseif { [istarget sh64*-*-netbsd*] || [istarget sh5*-*-netbsd*] } { + set emul32 "shelf32_nbsd" } else { set emul32 "shelf32" } diff --git a/ld/testsuite/ld-sh/sh64/reldl32.rd b/ld/testsuite/ld-sh/sh64/reldl32.rd index c45c6af..59c657e 100644 --- a/ld/testsuite/ld-sh/sh64/reldl32.rd +++ b/ld/testsuite/ld-sh/sh64/reldl32.rd @@ -1,171 +1,171 @@ Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 26 entries: .* -00000008 0+5ff6 R_SH_IMM_LOW16 +00000004 +file1text1 +\+ 0 -0000000c 0+31f6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 0 -00000010 0+34f6 R_SH_IMM_LOW16 +00000070 +file2text3 +\+ 0 -00000014 0+13f6 R_SH_IMM_LOW16 +0000012c +file2data4 +\+ 0 -00000018 0+50f6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 -0000001c 0+55f6 R_SH_IMM_LOW16 +00000000 +unresolved6 +\+ 0 -00000020 0+61f6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 0 -00000024 0+61f6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 18 -00000028 0+25f6 R_SH_IMM_LOW16 +00000000 +file1text5 +\+ 8 -0000002c 0+31f6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 30 -00000030 0+31f6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 0 -0000003c 0+46f6 R_SH_IMM_LOW16 +00000000 +unresolved7 +\+ 0 -00000040 0+2bf6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 -00000034 0+39f8 R_SH_IMM_MEDLOW16 +00000000 +file2data4 +\+ 10 -00000038 0+39f6 R_SH_IMM_LOW16 +00000000 +file2data4 +\+ 10 -00000068 0+0cf6 R_SH_IMM_LOW16 +00000064 +file2text1 +\+ 0 -0000006c 0+28f6 R_SH_IMM_LOW16 +00000124 +file2data2 +\+ 0 -00000070 0+27f6 R_SH_IMM_LOW16 +00000010 +file1text3 +\+ 0 -00000074 0+85f6 R_SH_IMM_LOW16 +00000014 +file1data4 +\+ 0 -00000078 0+50f6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 -0000007c 0+68f6 R_SH_IMM_LOW16 +00000000 +unresolved3 +\+ 0 -00000080 0+89f6 R_SH_IMM_LOW16 +00000000 +unresolved8 +\+ 0 -00000084 0+36f6 R_SH_IMM_LOW16 +00000000 +unresolved9 +\+ 0 -00000088 0+61f6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 0 -0000008c 0+4ff6 R_SH_IMM_LOW16 +00000000 +file1data2 +\+ 0 -00000090 0+2cf6 R_SH_IMM_LOW16 +00000000 +file1data3 +\+ 0 +00000008 0+60f6 R_SH_IMM_LOW16 +00000004 +file1text1 +\+ 0 +0000000c 0+32f6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 0 +00000010 0+35f6 R_SH_IMM_LOW16 +00000070 +file2text3 +\+ 0 +00000014 0+14f6 R_SH_IMM_LOW16 +0000012c +file2data4 +\+ 0 +00000018 0+51f6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 +0000001c 0+56f6 R_SH_IMM_LOW16 +00000000 +unresolved6 +\+ 0 +00000020 0+62f6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 0 +00000024 0+62f6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 18 +00000028 0+26f6 R_SH_IMM_LOW16 +00000000 +file1text5 +\+ 8 +0000002c 0+32f6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 30 +00000030 0+32f6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 0 +0000003c 0+47f6 R_SH_IMM_LOW16 +00000000 +unresolved7 +\+ 0 +00000040 0+2cf6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 +00000034 0+3af8 R_SH_IMM_MEDLOW16 +00000000 +file2data4 +\+ 10 +00000038 0+3af6 R_SH_IMM_LOW16 +00000000 +file2data4 +\+ 10 +00000068 0+0df6 R_SH_IMM_LOW16 +00000064 +file2text1 +\+ 0 +0000006c 0+29f6 R_SH_IMM_LOW16 +00000124 +file2data2 +\+ 0 +00000070 0+28f6 R_SH_IMM_LOW16 +00000010 +file1text3 +\+ 0 +00000074 0+86f6 R_SH_IMM_LOW16 +00000014 +file1data4 +\+ 0 +00000078 0+51f6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 +0000007c 0+69f6 R_SH_IMM_LOW16 +00000000 +unresolved3 +\+ 0 +00000080 0+8af6 R_SH_IMM_LOW16 +00000000 +unresolved8 +\+ 0 +00000084 0+37f6 R_SH_IMM_LOW16 +00000000 +unresolved9 +\+ 0 +00000088 0+62f6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 0 +0000008c 0+50f6 R_SH_IMM_LOW16 +00000000 +file1data2 +\+ 0 +00000090 0+2df6 R_SH_IMM_LOW16 +00000000 +file1data3 +\+ 0 Relocation section '\.rela\.data' at offset 0x[0-9a-f]+ contains 134 entries: .* -00000008 0+0f01 R_SH_DIR32 +00000004 +file1data1 +\+ 0 -0000000c 0+0b01 R_SH_DIR32 +0000000c +file1text2 +\+ 0 -00000010 0+7c01 R_SH_DIR32 +00000128 +file2data3 +\+ 0 -00000014 0+6b01 R_SH_DIR32 +00000074 +file2text4 +\+ 0 -00000018 0+7801 R_SH_DIR32 +00000000 +unresolved2 +\+ 0 -0000001c 0+0901 R_SH_DIR32 +00000000 +unresolved5 +\+ 0 -00000020 0+7001 R_SH_DIR32 +00000000 +unresolved6 +\+ 0 -00000024 0+0a01 R_SH_DIR32 +00000000 +unresolved9 +\+ 0 -00000028 0+7e01 R_SH_DIR32 +00000000 +a1 +\+ 0 -0000002c 0+7401 R_SH_DIR32 +00000000 +a23 +\+ 0 -00000030 0+5801 R_SH_DIR32 +0000003c +b123 +\+ 0 -00000034 0+6e01 R_SH_DIR32 +0000009c +c3 +\+ 0 -00000038 0+4001 R_SH_DIR32 +000000a8 +c13 +\+ 0 -0000003c 0+2a01 R_SH_DIR32 +00000000 +a2 +\+ 0 -00000040 0+5201 R_SH_DIR32 +00000000 +a3 +\+ 0 -00000044 0+2901 R_SH_DIR32 +00000000 +a4 +\+ 0 -00000048 0+6d01 R_SH_DIR32 +00000000 +a12 +\+ 0 -0000004c 0+1901 R_SH_DIR32 +00000000 +a13 +\+ 0 -00000050 0+7a01 R_SH_DIR32 +00000000 +a23 +\+ 0 -00000054 0+6601 R_SH_DIR32 +00000000 +a123 +\+ 0 -00000058 0+4101 R_SH_DIR32 +00000000 +b1 +\+ 0 -0000005c 0+7501 R_SH_DIR32 +00000000 +b2 +\+ 0 -00000060 0+3301 R_SH_DIR32 +00000000 +a3 +\+ 0 -00000064 0+8301 R_SH_DIR32 +00000000 +a13 +\+ 0 -00000068 0+3201 R_SH_DIR32 +00000000 +b3 +\+ 0 -0000006c 0+6c01 R_SH_DIR32 +00000000 +b4 +\+ 0 -00000070 0+5601 R_SH_DIR32 +00000000 +b12 +\+ 0 -00000074 0+2d01 R_SH_DIR32 +00000000 +b13 +\+ 0 -00000078 0+4201 R_SH_DIR32 +00000000 +a123 +\+ 0 -0000007c 0+6901 R_SH_DIR32 +00000024 +b3 +\+ 0 -00000080 0+3f01 R_SH_DIR32 +00000030 +b13 +\+ 0 -00000084 0+7301 R_SH_DIR32 +00000034 +b23 +\+ 0 -00000088 0+8101 R_SH_DIR32 +00000000 +b23 +\+ 0 -0000008c 0+1001 R_SH_DIR32 +00000000 +b123 +\+ 0 -00000090 0+8701 R_SH_DIR32 +00000000 +c1 +\+ 0 -00000094 0+3001 R_SH_DIR32 +00000000 +c2 +\+ 0 -00000098 0+6701 R_SH_DIR32 +00000000 +c3 +\+ 0 -0000009c 0+3d01 R_SH_DIR32 +000000ac +c23 +\+ 0 -000000a0 0+8201 R_SH_DIR32 +000000b0 +c123 +\+ 0 -000000a4 0+1201 R_SH_DIR32 +00000000 +c4 +\+ 0 -000000a8 0+2401 R_SH_DIR32 +00000000 +c12 +\+ 0 -000000ac 0+3501 R_SH_DIR32 +00000000 +c13 +\+ 0 -000000b0 0+3a01 R_SH_DIR32 +00000000 +c23 +\+ 0 -000000b4 0+3e01 R_SH_DIR32 +00000000 +c123 +\+ 0 -000000b8 0+4c01 R_SH_DIR32 +00000000 +oa1 +\+ 0 -000000bc 0+1801 R_SH_DIR32 +00000000 +ob1 +\+ 0 -000000c0 0+4801 R_SH_DIR32 +000000d0 +ob123 +\+ 0 -000000c4 0+5d01 R_SH_DIR32 +00000000 +oc1 +\+ 0 -000000c8 0+7d01 R_SH_DIR32 +00000000 +oa2 +\+ 0 -000000cc 0+6501 R_SH_DIR32 +000000b8 +ob2 +\+ 0 -000000d0 0+7601 R_SH_DIR32 +00000044 +oc2 +\+ 0 -000000d4 0+4d01 R_SH_DIR32 +00000000 +oa12 +\+ 0 -000000d8 0+1f01 R_SH_DIR32 +00000000 +oa12 +\+ 0 -000000dc 0+6401 R_SH_DIR32 +00000000 +ob12 +\+ 0 -000000e0 0+4e01 R_SH_DIR32 +000000c4 +ob12 +\+ 0 -000000e4 0+5e01 R_SH_DIR32 +00000000 +oc12 +\+ 0 -000000e8 0+1601 R_SH_DIR32 +00000050 +oc12 +\+ 0 -000000ec 0+4301 R_SH_DIR32 +00000000 +oa23 +\+ 0 -000000f0 0+4901 R_SH_DIR32 +00000000 +oa13 +\+ 0 -000000f4 0+0e01 R_SH_DIR32 +0000005c +oc123 +\+ 0 -000000f8 0+5901 R_SH_DIR32 +00000000 +ob13 +\+ 0 -000000fc 0+6001 R_SH_DIR32 +00000000 +oc13 +\+ 0 -00000100 0+8601 R_SH_DIR32 +000000cc +ob23 +\+ 0 -00000104 0+2f01 R_SH_DIR32 +00000058 +oc23 +\+ 0 -00000108 0+5b01 R_SH_DIR32 +00000000 +oa123 +\+ 0 -0000010c 0+5401 R_SH_DIR32 +00000000 +oa123 +\+ 0 -00000110 0+6a01 R_SH_DIR32 +00000000 +ob123 +\+ 0 -00000114 0+3701 R_SH_DIR32 +00000000 +oc123 +\+ 0 -00000120 0+8001 R_SH_DIR32 +0000011c +file2data1 +\+ 0 -00000124 0+6201 R_SH_DIR32 +0000006c +file2text2 +\+ 0 -00000128 0+8401 R_SH_DIR32 +00000010 +file1data3 +\+ 0 -0000012c 0+7b01 R_SH_DIR32 +00000014 +file1text4 +\+ 0 -00000130 0+7801 R_SH_DIR32 +00000000 +unresolved2 +\+ 0 -00000134 0+7f01 R_SH_DIR32 +00000000 +unresolved4 +\+ 0 -00000138 0+4c01 R_SH_DIR32 +00000000 +oa1 +\+ 0 -0000013c 0+1b01 R_SH_DIR32 +00000000 +oa2 +\+ 0 -00000140 0+7101 R_SH_DIR32 +00000000 +oa3 +\+ 0 -00000144 0+2001 R_SH_DIR32 +00000000 +oa13 +\+ 0 -00000148 0+1d01 R_SH_DIR32 +00000054 +oc13 +\+ 0 -0000014c 0+1401 R_SH_DIR32 +00000000 +oa4 +\+ 0 -00000150 0+1f01 R_SH_DIR32 +00000000 +oa12 +\+ 0 -00000154 0+4901 R_SH_DIR32 +00000000 +oa13 +\+ 0 -00000158 0+3c01 R_SH_DIR32 +00000000 +oa23 +\+ 0 -0000015c 0+4301 R_SH_DIR32 +00000000 +oa23 +\+ 0 -00000160 0+5b01 R_SH_DIR32 +00000000 +oa123 +\+ 0 -00000164 0+1a01 R_SH_DIR32 +00000048 +oc3 +\+ 0 -00000168 0+5401 R_SH_DIR32 +00000000 +oa123 +\+ 0 -0000016c 0+1801 R_SH_DIR32 +00000000 +ob1 +\+ 0 -00000170 0+2601 R_SH_DIR32 +00000000 +ob2 +\+ 0 -00000174 0+6301 R_SH_DIR32 +00000000 +ob3 +\+ 0 -00000178 0+1701 R_SH_DIR32 +00000000 +ob4 +\+ 0 -0000017c 0+8801 R_SH_DIR32 +00000000 +oa3 +\+ 0 -00000180 0+2f01 R_SH_DIR32 +00000058 +oc23 +\+ 0 -00000184 0+0e01 R_SH_DIR32 +0000005c +oc123 +\+ 0 -00000188 0+6401 R_SH_DIR32 +00000000 +ob12 +\+ 0 -0000018c 0+5901 R_SH_DIR32 +00000000 +ob13 +\+ 0 -00000190 0+5101 R_SH_DIR32 +000000c8 +ob13 +\+ 0 -00000194 0+8601 R_SH_DIR32 +000000cc +ob23 +\+ 0 -00000198 0+5c01 R_SH_DIR32 +00000000 +ob23 +\+ 0 -0000019c 0+6a01 R_SH_DIR32 +00000000 +ob123 +\+ 0 -000001a0 0+5d01 R_SH_DIR32 +00000000 +oc1 +\+ 0 -000001a4 0+1501 R_SH_DIR32 +000000bc +ob3 +\+ 0 -000001a8 0+4801 R_SH_DIR32 +000000d0 +ob123 +\+ 0 -000001ac 0+0d01 R_SH_DIR32 +00000000 +oc2 +\+ 0 -000001b0 0+3b01 R_SH_DIR32 +00000000 +oc3 +\+ 0 -000001b4 0+5701 R_SH_DIR32 +00000000 +oc4 +\+ 0 -000001b8 0+5e01 R_SH_DIR32 +00000000 +oc12 +\+ 0 -000001bc 0+6001 R_SH_DIR32 +00000000 +oc13 +\+ 0 -000001c0 0+2e01 R_SH_DIR32 +00000000 +oc23 +\+ 0 -000001c4 0+3701 R_SH_DIR32 +00000000 +oc123 +\+ 0 -000001c8 0+7e01 R_SH_DIR32 +00000000 +a1 +\+ 0 -000001cc 0+1e01 R_SH_DIR32 +00000098 +c2 +\+ 0 -000001d0 0+7301 R_SH_DIR32 +00000034 +b23 +\+ 0 -000001d4 0+4101 R_SH_DIR32 +00000000 +b1 +\+ 0 -000001d8 0+8701 R_SH_DIR32 +00000000 +c1 +\+ 0 -000001dc 0+6d01 R_SH_DIR32 +00000000 +a12 +\+ 0 -000001e0 0+5a01 R_SH_DIR32 +00000000 +a2 +\+ 0 -000001e4 0+1101 R_SH_DIR32 +00000020 +b2 +\+ 0 -000001e8 0+5601 R_SH_DIR32 +00000000 +b12 +\+ 0 -000001ec 0+2401 R_SH_DIR32 +00000000 +c12 +\+ 0 -000001f0 0+5801 R_SH_DIR32 +0000003c +b123 +\+ 0 -000001f4 0+8201 R_SH_DIR32 +000000b0 +c123 +\+ 0 -000001f8 0+1901 R_SH_DIR32 +00000000 +a13 +\+ 0 -000001fc 0+2d01 R_SH_DIR32 +00000000 +b13 +\+ 0 -00000200 0+3d01 R_SH_DIR32 +000000ac +c23 +\+ 0 -00000204 0+4201 R_SH_DIR32 +00000000 +a123 +\+ 0 -00000208 0+3501 R_SH_DIR32 +00000000 +c13 +\+ 0 -0000020c 0+6601 R_SH_DIR32 +00000000 +a123 +\+ 0 -00000210 0+7201 R_SH_DIR32 +000000a4 +c12 +\+ 0 -00000214 0+7401 R_SH_DIR32 +00000000 +a23 +\+ 0 -00000218 0+1001 R_SH_DIR32 +00000000 +b123 +\+ 0 -0000021c 0+4401 R_SH_DIR32 +00000000 +a12 +\+ 0 -00000220 0+7701 R_SH_DIR32 +0000002c +b12 +\+ 0 -00000224 0+3e01 R_SH_DIR32 +00000000 +c123 +\+ 0 +00000008 0+1001 R_SH_DIR32 +00000004 +file1data1 +\+ 0 +0000000c 0+0c01 R_SH_DIR32 +0000000c +file1text2 +\+ 0 +00000010 0+7d01 R_SH_DIR32 +00000128 +file2data3 +\+ 0 +00000014 0+6c01 R_SH_DIR32 +00000074 +file2text4 +\+ 0 +00000018 0+7901 R_SH_DIR32 +00000000 +unresolved2 +\+ 0 +0000001c 0+0a01 R_SH_DIR32 +00000000 +unresolved5 +\+ 0 +00000020 0+7101 R_SH_DIR32 +00000000 +unresolved6 +\+ 0 +00000024 0+0b01 R_SH_DIR32 +00000000 +unresolved9 +\+ 0 +00000028 0+7f01 R_SH_DIR32 +00000000 +a1 +\+ 0 +0000002c 0+7501 R_SH_DIR32 +00000000 +a23 +\+ 0 +00000030 0+5901 R_SH_DIR32 +0000003c +b123 +\+ 0 +00000034 0+6f01 R_SH_DIR32 +0000009c +c3 +\+ 0 +00000038 0+4101 R_SH_DIR32 +000000a8 +c13 +\+ 0 +0000003c 0+2b01 R_SH_DIR32 +00000000 +a2 +\+ 0 +00000040 0+5301 R_SH_DIR32 +00000000 +a3 +\+ 0 +00000044 0+2a01 R_SH_DIR32 +00000000 +a4 +\+ 0 +00000048 0+6e01 R_SH_DIR32 +00000000 +a12 +\+ 0 +0000004c 0+1a01 R_SH_DIR32 +00000000 +a13 +\+ 0 +00000050 0+7b01 R_SH_DIR32 +00000000 +a23 +\+ 0 +00000054 0+6701 R_SH_DIR32 +00000000 +a123 +\+ 0 +00000058 0+4201 R_SH_DIR32 +00000000 +b1 +\+ 0 +0000005c 0+7601 R_SH_DIR32 +00000000 +b2 +\+ 0 +00000060 0+3401 R_SH_DIR32 +00000000 +a3 +\+ 0 +00000064 0+8401 R_SH_DIR32 +00000000 +a13 +\+ 0 +00000068 0+3301 R_SH_DIR32 +00000000 +b3 +\+ 0 +0000006c 0+6d01 R_SH_DIR32 +00000000 +b4 +\+ 0 +00000070 0+5701 R_SH_DIR32 +00000000 +b12 +\+ 0 +00000074 0+2e01 R_SH_DIR32 +00000000 +b13 +\+ 0 +00000078 0+4301 R_SH_DIR32 +00000000 +a123 +\+ 0 +0000007c 0+6a01 R_SH_DIR32 +00000024 +b3 +\+ 0 +00000080 0+4001 R_SH_DIR32 +00000030 +b13 +\+ 0 +00000084 0+7401 R_SH_DIR32 +00000034 +b23 +\+ 0 +00000088 0+8201 R_SH_DIR32 +00000000 +b23 +\+ 0 +0000008c 0+1101 R_SH_DIR32 +00000000 +b123 +\+ 0 +00000090 0+8801 R_SH_DIR32 +00000000 +c1 +\+ 0 +00000094 0+3101 R_SH_DIR32 +00000000 +c2 +\+ 0 +00000098 0+6801 R_SH_DIR32 +00000000 +c3 +\+ 0 +0000009c 0+3e01 R_SH_DIR32 +000000ac +c23 +\+ 0 +000000a0 0+8301 R_SH_DIR32 +000000b0 +c123 +\+ 0 +000000a4 0+1301 R_SH_DIR32 +00000000 +c4 +\+ 0 +000000a8 0+2501 R_SH_DIR32 +00000000 +c12 +\+ 0 +000000ac 0+3601 R_SH_DIR32 +00000000 +c13 +\+ 0 +000000b0 0+3b01 R_SH_DIR32 +00000000 +c23 +\+ 0 +000000b4 0+3f01 R_SH_DIR32 +00000000 +c123 +\+ 0 +000000b8 0+4d01 R_SH_DIR32 +00000000 +oa1 +\+ 0 +000000bc 0+1901 R_SH_DIR32 +00000000 +ob1 +\+ 0 +000000c0 0+4901 R_SH_DIR32 +000000d0 +ob123 +\+ 0 +000000c4 0+5e01 R_SH_DIR32 +00000000 +oc1 +\+ 0 +000000c8 0+7e01 R_SH_DIR32 +00000000 +oa2 +\+ 0 +000000cc 0+6601 R_SH_DIR32 +000000b8 +ob2 +\+ 0 +000000d0 0+7701 R_SH_DIR32 +00000044 +oc2 +\+ 0 +000000d4 0+4e01 R_SH_DIR32 +00000000 +oa12 +\+ 0 +000000d8 0+2001 R_SH_DIR32 +00000000 +oa12 +\+ 0 +000000dc 0+6501 R_SH_DIR32 +00000000 +ob12 +\+ 0 +000000e0 0+4f01 R_SH_DIR32 +000000c4 +ob12 +\+ 0 +000000e4 0+5f01 R_SH_DIR32 +00000000 +oc12 +\+ 0 +000000e8 0+1701 R_SH_DIR32 +00000050 +oc12 +\+ 0 +000000ec 0+4401 R_SH_DIR32 +00000000 +oa23 +\+ 0 +000000f0 0+4a01 R_SH_DIR32 +00000000 +oa13 +\+ 0 +000000f4 0+0f01 R_SH_DIR32 +0000005c +oc123 +\+ 0 +000000f8 0+5a01 R_SH_DIR32 +00000000 +ob13 +\+ 0 +000000fc 0+6101 R_SH_DIR32 +00000000 +oc13 +\+ 0 +00000100 0+8701 R_SH_DIR32 +000000cc +ob23 +\+ 0 +00000104 0+3001 R_SH_DIR32 +00000058 +oc23 +\+ 0 +00000108 0+5c01 R_SH_DIR32 +00000000 +oa123 +\+ 0 +0000010c 0+5501 R_SH_DIR32 +00000000 +oa123 +\+ 0 +00000110 0+6b01 R_SH_DIR32 +00000000 +ob123 +\+ 0 +00000114 0+3801 R_SH_DIR32 +00000000 +oc123 +\+ 0 +00000120 0+8101 R_SH_DIR32 +0000011c +file2data1 +\+ 0 +00000124 0+6301 R_SH_DIR32 +0000006c +file2text2 +\+ 0 +00000128 0+8501 R_SH_DIR32 +00000010 +file1data3 +\+ 0 +0000012c 0+7c01 R_SH_DIR32 +00000014 +file1text4 +\+ 0 +00000130 0+7901 R_SH_DIR32 +00000000 +unresolved2 +\+ 0 +00000134 0+8001 R_SH_DIR32 +00000000 +unresolved4 +\+ 0 +00000138 0+4d01 R_SH_DIR32 +00000000 +oa1 +\+ 0 +0000013c 0+1c01 R_SH_DIR32 +00000000 +oa2 +\+ 0 +00000140 0+7201 R_SH_DIR32 +00000000 +oa3 +\+ 0 +00000144 0+2101 R_SH_DIR32 +00000000 +oa13 +\+ 0 +00000148 0+1e01 R_SH_DIR32 +00000054 +oc13 +\+ 0 +0000014c 0+1501 R_SH_DIR32 +00000000 +oa4 +\+ 0 +00000150 0+2001 R_SH_DIR32 +00000000 +oa12 +\+ 0 +00000154 0+4a01 R_SH_DIR32 +00000000 +oa13 +\+ 0 +00000158 0+3d01 R_SH_DIR32 +00000000 +oa23 +\+ 0 +0000015c 0+4401 R_SH_DIR32 +00000000 +oa23 +\+ 0 +00000160 0+5c01 R_SH_DIR32 +00000000 +oa123 +\+ 0 +00000164 0+1b01 R_SH_DIR32 +00000048 +oc3 +\+ 0 +00000168 0+5501 R_SH_DIR32 +00000000 +oa123 +\+ 0 +0000016c 0+1901 R_SH_DIR32 +00000000 +ob1 +\+ 0 +00000170 0+2701 R_SH_DIR32 +00000000 +ob2 +\+ 0 +00000174 0+6401 R_SH_DIR32 +00000000 +ob3 +\+ 0 +00000178 0+1801 R_SH_DIR32 +00000000 +ob4 +\+ 0 +0000017c 0+8901 R_SH_DIR32 +00000000 +oa3 +\+ 0 +00000180 0+3001 R_SH_DIR32 +00000058 +oc23 +\+ 0 +00000184 0+0f01 R_SH_DIR32 +0000005c +oc123 +\+ 0 +00000188 0+6501 R_SH_DIR32 +00000000 +ob12 +\+ 0 +0000018c 0+5a01 R_SH_DIR32 +00000000 +ob13 +\+ 0 +00000190 0+5201 R_SH_DIR32 +000000c8 +ob13 +\+ 0 +00000194 0+8701 R_SH_DIR32 +000000cc +ob23 +\+ 0 +00000198 0+5d01 R_SH_DIR32 +00000000 +ob23 +\+ 0 +0000019c 0+6b01 R_SH_DIR32 +00000000 +ob123 +\+ 0 +000001a0 0+5e01 R_SH_DIR32 +00000000 +oc1 +\+ 0 +000001a4 0+1601 R_SH_DIR32 +000000bc +ob3 +\+ 0 +000001a8 0+4901 R_SH_DIR32 +000000d0 +ob123 +\+ 0 +000001ac 0+0e01 R_SH_DIR32 +00000000 +oc2 +\+ 0 +000001b0 0+3c01 R_SH_DIR32 +00000000 +oc3 +\+ 0 +000001b4 0+5801 R_SH_DIR32 +00000000 +oc4 +\+ 0 +000001b8 0+5f01 R_SH_DIR32 +00000000 +oc12 +\+ 0 +000001bc 0+6101 R_SH_DIR32 +00000000 +oc13 +\+ 0 +000001c0 0+2f01 R_SH_DIR32 +00000000 +oc23 +\+ 0 +000001c4 0+3801 R_SH_DIR32 +00000000 +oc123 +\+ 0 +000001c8 0+7f01 R_SH_DIR32 +00000000 +a1 +\+ 0 +000001cc 0+1f01 R_SH_DIR32 +00000098 +c2 +\+ 0 +000001d0 0+7401 R_SH_DIR32 +00000034 +b23 +\+ 0 +000001d4 0+4201 R_SH_DIR32 +00000000 +b1 +\+ 0 +000001d8 0+8801 R_SH_DIR32 +00000000 +c1 +\+ 0 +000001dc 0+6e01 R_SH_DIR32 +00000000 +a12 +\+ 0 +000001e0 0+5b01 R_SH_DIR32 +00000000 +a2 +\+ 0 +000001e4 0+1201 R_SH_DIR32 +00000020 +b2 +\+ 0 +000001e8 0+5701 R_SH_DIR32 +00000000 +b12 +\+ 0 +000001ec 0+2501 R_SH_DIR32 +00000000 +c12 +\+ 0 +000001f0 0+5901 R_SH_DIR32 +0000003c +b123 +\+ 0 +000001f4 0+8301 R_SH_DIR32 +000000b0 +c123 +\+ 0 +000001f8 0+1a01 R_SH_DIR32 +00000000 +a13 +\+ 0 +000001fc 0+2e01 R_SH_DIR32 +00000000 +b13 +\+ 0 +00000200 0+3e01 R_SH_DIR32 +000000ac +c23 +\+ 0 +00000204 0+4301 R_SH_DIR32 +00000000 +a123 +\+ 0 +00000208 0+3601 R_SH_DIR32 +00000000 +c13 +\+ 0 +0000020c 0+6701 R_SH_DIR32 +00000000 +a123 +\+ 0 +00000210 0+7301 R_SH_DIR32 +000000a4 +c12 +\+ 0 +00000214 0+7501 R_SH_DIR32 +00000000 +a23 +\+ 0 +00000218 0+1101 R_SH_DIR32 +00000000 +b123 +\+ 0 +0000021c 0+4501 R_SH_DIR32 +00000000 +a12 +\+ 0 +00000220 0+7801 R_SH_DIR32 +0000002c +b12 +\+ 0 +00000224 0+3f01 R_SH_DIR32 +00000000 +c123 +\+ 0 -Symbol table '\.symtab' contains 138 entries: +Symbol table '\.symtab' contains 139 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 SECTION LOCAL DEFAULT 1 @@ -176,135 +176,136 @@ Symbol table '\.symtab' contains 138 entries: 6: 00000000 0 SECTION LOCAL DEFAULT 6 7: 00000000 0 SECTION LOCAL DEFAULT 7 8: 00000000 0 SECTION LOCAL DEFAULT 8 - 9: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved5 - 10: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved9 - 11: 0000000c 0 NOTYPE GLOBAL DEFAULT 1 file1text2 - 12: 00000064 0 NOTYPE GLOBAL DEFAULT 1 file2text1 - 13: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc2 - 14: 0000005c 0 NOTYPE GLOBAL DEFAULT 1 oc123 - 15: 00000004 0 NOTYPE GLOBAL DEFAULT 3 file1data1 - 16: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b123 - 17: 00000020 0 NOTYPE GLOBAL DEFAULT 1 b2 - 18: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c4 - 19: 0000012c 0 NOTYPE GLOBAL DEFAULT 3 file2data4 - 20: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa4 - 21: 000000bc 0 NOTYPE GLOBAL DEFAULT 1 ob3 - 22: 00000050 0 NOTYPE GLOBAL DEFAULT 1 oc12 - 23: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob4 - 24: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob1 - 25: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a13 - 26: 00000048 0 NOTYPE GLOBAL DEFAULT 1 oc3 - 27: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa2 - 28: 000000a0 0 NOTYPE GLOBAL DEFAULT 1 c4 - 29: 00000054 0 NOTYPE GLOBAL DEFAULT 1 oc13 - 30: 00000098 0 NOTYPE GLOBAL DEFAULT 1 c2 - 31: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa12 - 32: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa13 - 33: 000000c0 0 NOTYPE GLOBAL DEFAULT 1 ob4 - 34: 0000001c 0 NOTYPE GLOBAL DEFAULT 1 b1 - 35: 00000018 0 NOTYPE GLOBAL DEFAULT 1 file1text5 - 36: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c12 - 37: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text5 - 38: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob2 - 39: 00000010 0 NOTYPE GLOBAL DEFAULT 1 file1text3 - 40: 00000124 0 NOTYPE GLOBAL DEFAULT 3 file2data2 - 41: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a4 - 42: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a2 - 43: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved1 - 44: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data3 - 45: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b13 - 46: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc23 - 47: 00000058 0 NOTYPE GLOBAL DEFAULT 1 oc23 - 48: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c2 - 49: 0000000c 0 NOTYPE GLOBAL DEFAULT 3 file1data2 - 50: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b3 - 51: 00000000 0 NOTYPE GLOBAL DEFAULT UND a3 - 52: 00000070 0 NOTYPE GLOBAL DEFAULT 1 file2text3 - 53: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c13 - 54: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved9 - 55: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc123 - 56: 00000028 0 NOTYPE GLOBAL DEFAULT 1 b4 - 57: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file2data4 - 58: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c23 - 59: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc3 - 60: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa23 - 61: 000000ac 0 NOTYPE GLOBAL DEFAULT 1 c23 - 62: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c123 - 63: 00000030 0 NOTYPE GLOBAL DEFAULT 1 b13 - 64: 000000a8 0 NOTYPE GLOBAL DEFAULT 1 c13 - 65: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b1 - 66: 00000000 0 NOTYPE GLOBAL DEFAULT UND a123 - 67: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa23 - 68: 00000000 0 NOTYPE GLOBAL DEFAULT UND a12 - 69: 000000b4 0 NOTYPE GLOBAL DEFAULT 1 ob1 - 70: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved7 - 71: 00000060 0 NOTYPE GLOBAL DEFAULT 1 start2 - 72: 000000d0 0 NOTYPE GLOBAL DEFAULT 1 ob123 - 73: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa13 - 74: 00000094 0 NOTYPE GLOBAL DEFAULT 1 c1 - 75: 0000004c 0 NOTYPE GLOBAL DEFAULT 1 oc4 - 76: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa1 - 77: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa12 - 78: 000000c4 0 NOTYPE GLOBAL DEFAULT 1 ob12 - 79: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data2 - 80: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved1 - 81: 000000c8 0 NOTYPE GLOBAL DEFAULT 1 ob13 - 82: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a3 - 83: 00000018 0 NOTYPE GLOBAL DEFAULT 3 file1data5 - 84: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa123 - 85: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved6 - 86: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b12 - 87: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc4 - 88: 0000003c 0 NOTYPE GLOBAL DEFAULT 1 b123 - 89: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob13 - 90: 00000000 0 NOTYPE GLOBAL DEFAULT UND a2 - 91: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa123 - 92: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob23 - 93: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc1 - 94: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc12 - 95: 00000004 0 NOTYPE GLOBAL DEFAULT 1 file1text1 - 96: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc13 - 97: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text1 - 98: 0000006c 0 NOTYPE GLOBAL DEFAULT 1 file2text2 - 99: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob3 - 100: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob12 - 101: 000000b8 0 NOTYPE GLOBAL DEFAULT 1 ob2 - 102: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a123 - 103: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c3 - 104: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved3 - 105: 00000024 0 NOTYPE GLOBAL DEFAULT 1 b3 - 106: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob123 - 107: 00000074 0 NOTYPE GLOBAL DEFAULT 1 file2text4 - 108: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b4 - 109: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a12 - 110: 0000009c 0 NOTYPE GLOBAL DEFAULT 1 c3 - 111: 00000040 0 NOTYPE GLOBAL DEFAULT 1 oc1 - 112: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved6 - 113: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa3 - 114: 000000a4 0 NOTYPE GLOBAL DEFAULT 1 c12 - 115: 00000034 0 NOTYPE GLOBAL DEFAULT 1 b23 - 116: 00000000 0 NOTYPE GLOBAL DEFAULT UND a23 - 117: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b2 - 118: 00000044 0 NOTYPE GLOBAL DEFAULT 1 oc2 - 119: 0000002c 0 NOTYPE GLOBAL DEFAULT 1 b12 - 120: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved2 - 121: 00000000 0 NOTYPE GLOBAL DEFAULT 1 start - 122: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a23 - 123: 00000014 0 NOTYPE GLOBAL DEFAULT 1 file1text4 - 124: 00000128 0 NOTYPE GLOBAL DEFAULT 3 file2data3 - 125: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa2 - 126: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a1 - 127: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved4 - 128: 0000011c 0 NOTYPE GLOBAL DEFAULT 3 file2data1 - 129: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b23 - 130: 000000b0 0 NOTYPE GLOBAL DEFAULT 1 c123 - 131: 00000000 0 NOTYPE GLOBAL DEFAULT UND a13 - 132: 00000010 0 NOTYPE GLOBAL DEFAULT 3 file1data3 - 133: 00000014 0 NOTYPE GLOBAL DEFAULT 3 file1data4 - 134: 000000cc 0 NOTYPE GLOBAL DEFAULT 1 ob23 - 135: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c1 - 136: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa3 - 137: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved8 + 9: 00000000 0 SECTION LOCAL DEFAULT 9 + 10: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved5 + 11: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved9 + 12: 0000000c 0 NOTYPE GLOBAL DEFAULT 1 file1text2 + 13: 00000064 0 NOTYPE GLOBAL DEFAULT 1 file2text1 + 14: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc2 + 15: 0000005c 0 NOTYPE GLOBAL DEFAULT 1 oc123 + 16: 00000004 0 NOTYPE GLOBAL DEFAULT 3 file1data1 + 17: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b123 + 18: 00000020 0 NOTYPE GLOBAL DEFAULT 1 b2 + 19: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c4 + 20: 0000012c 0 NOTYPE GLOBAL DEFAULT 3 file2data4 + 21: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa4 + 22: 000000bc 0 NOTYPE GLOBAL DEFAULT 1 ob3 + 23: 00000050 0 NOTYPE GLOBAL DEFAULT 1 oc12 + 24: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob4 + 25: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob1 + 26: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a13 + 27: 00000048 0 NOTYPE GLOBAL DEFAULT 1 oc3 + 28: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa2 + 29: 000000a0 0 NOTYPE GLOBAL DEFAULT 1 c4 + 30: 00000054 0 NOTYPE GLOBAL DEFAULT 1 oc13 + 31: 00000098 0 NOTYPE GLOBAL DEFAULT 1 c2 + 32: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa12 + 33: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa13 + 34: 000000c0 0 NOTYPE GLOBAL DEFAULT 1 ob4 + 35: 0000001c 0 NOTYPE GLOBAL DEFAULT 1 b1 + 36: 00000018 0 NOTYPE GLOBAL DEFAULT 1 file1text5 + 37: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c12 + 38: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text5 + 39: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob2 + 40: 00000010 0 NOTYPE GLOBAL DEFAULT 1 file1text3 + 41: 00000124 0 NOTYPE GLOBAL DEFAULT 3 file2data2 + 42: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a4 + 43: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a2 + 44: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved1 + 45: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data3 + 46: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b13 + 47: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc23 + 48: 00000058 0 NOTYPE GLOBAL DEFAULT 1 oc23 + 49: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c2 + 50: 0000000c 0 NOTYPE GLOBAL DEFAULT 3 file1data2 + 51: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b3 + 52: 00000000 0 NOTYPE GLOBAL DEFAULT UND a3 + 53: 00000070 0 NOTYPE GLOBAL DEFAULT 1 file2text3 + 54: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c13 + 55: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved9 + 56: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc123 + 57: 00000028 0 NOTYPE GLOBAL DEFAULT 1 b4 + 58: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file2data4 + 59: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c23 + 60: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc3 + 61: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa23 + 62: 000000ac 0 NOTYPE GLOBAL DEFAULT 1 c23 + 63: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c123 + 64: 00000030 0 NOTYPE GLOBAL DEFAULT 1 b13 + 65: 000000a8 0 NOTYPE GLOBAL DEFAULT 1 c13 + 66: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b1 + 67: 00000000 0 NOTYPE GLOBAL DEFAULT UND a123 + 68: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa23 + 69: 00000000 0 NOTYPE GLOBAL DEFAULT UND a12 + 70: 000000b4 0 NOTYPE GLOBAL DEFAULT 1 ob1 + 71: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved7 + 72: 00000060 0 NOTYPE GLOBAL DEFAULT 1 start2 + 73: 000000d0 0 NOTYPE GLOBAL DEFAULT 1 ob123 + 74: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa13 + 75: 00000094 0 NOTYPE GLOBAL DEFAULT 1 c1 + 76: 0000004c 0 NOTYPE GLOBAL DEFAULT 1 oc4 + 77: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa1 + 78: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa12 + 79: 000000c4 0 NOTYPE GLOBAL DEFAULT 1 ob12 + 80: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data2 + 81: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved1 + 82: 000000c8 0 NOTYPE GLOBAL DEFAULT 1 ob13 + 83: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a3 + 84: 00000018 0 NOTYPE GLOBAL DEFAULT 3 file1data5 + 85: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa123 + 86: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved6 + 87: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b12 + 88: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc4 + 89: 0000003c 0 NOTYPE GLOBAL DEFAULT 1 b123 + 90: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob13 + 91: 00000000 0 NOTYPE GLOBAL DEFAULT UND a2 + 92: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa123 + 93: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob23 + 94: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc1 + 95: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc12 + 96: 00000004 0 NOTYPE GLOBAL DEFAULT 1 file1text1 + 97: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc13 + 98: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text1 + 99: 0000006c 0 NOTYPE GLOBAL DEFAULT 1 file2text2 + 100: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob3 + 101: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob12 + 102: 000000b8 0 NOTYPE GLOBAL DEFAULT 1 ob2 + 103: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a123 + 104: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c3 + 105: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved3 + 106: 00000024 0 NOTYPE GLOBAL DEFAULT 1 b3 + 107: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob123 + 108: 00000074 0 NOTYPE GLOBAL DEFAULT 1 file2text4 + 109: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b4 + 110: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a12 + 111: 0000009c 0 NOTYPE GLOBAL DEFAULT 1 c3 + 112: 00000040 0 NOTYPE GLOBAL DEFAULT 1 oc1 + 113: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved6 + 114: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa3 + 115: 000000a4 0 NOTYPE GLOBAL DEFAULT 1 c12 + 116: 00000034 0 NOTYPE GLOBAL DEFAULT 1 b23 + 117: 00000000 0 NOTYPE GLOBAL DEFAULT UND a23 + 118: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b2 + 119: 00000044 0 NOTYPE GLOBAL DEFAULT 1 oc2 + 120: 0000002c 0 NOTYPE GLOBAL DEFAULT 1 b12 + 121: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved2 + 122: 00000000 0 NOTYPE GLOBAL DEFAULT 1 start + 123: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a23 + 124: 00000014 0 NOTYPE GLOBAL DEFAULT 1 file1text4 + 125: 00000128 0 NOTYPE GLOBAL DEFAULT 3 file2data3 + 126: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa2 + 127: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a1 + 128: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved4 + 129: 0000011c 0 NOTYPE GLOBAL DEFAULT 3 file2data1 + 130: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b23 + 131: 000000b0 0 NOTYPE GLOBAL DEFAULT 1 c123 + 132: 00000000 0 NOTYPE GLOBAL DEFAULT UND a13 + 133: 00000010 0 NOTYPE GLOBAL DEFAULT 3 file1data3 + 134: 00000014 0 NOTYPE GLOBAL DEFAULT 3 file1data4 + 135: 000000cc 0 NOTYPE GLOBAL DEFAULT 1 ob23 + 136: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c1 + 137: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa3 + 138: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved8 Hex dump of section '\.text': 0x00000000 6ff0fff0 6ff0fff0 cc0000a0 cc000140 .* diff --git a/ld/testsuite/ld-sh/sh64/reldl64.rd b/ld/testsuite/ld-sh/sh64/reldl64.rd index 9453ab2..fe002a2 100644 --- a/ld/testsuite/ld-sh/sh64/reldl64.rd +++ b/ld/testsuite/ld-sh/sh64/reldl64.rd @@ -1,173 +1,173 @@ Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 28 entries: .* -0+8 0+5f000000f6 R_SH_IMM_LOW16[ ]+0+4 +file1text1[ ]+\+ 0 -0+c 0+31000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 0 -0+10 0+34000000f6 R_SH_IMM_LOW16[ ]+0+78 +file2text3[ ]+\+ 0 -0+14 0+13000000f6 R_SH_IMM_LOW16[ ]+0+12c +file2data4[ ]+\+ 0 -0+18 0+50000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 -0+1c 0+55000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved6[ ]+\+ 0 -0+20 0+61000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 0 -0+24 0+61000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 18 -0+28 0+25000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text5[ ]+\+ 8 -0+2c 0+31000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 30 -0+30 0+31000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 0 -0+44 0+46000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved7[ ]+\+ 0 -0+48 0+2b000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 -0+34 0+39000000fc R_SH_IMM_HI16[ ]+0+ +file2data4[ ]+\+ 10 -0+38 0+39000000fa R_SH_IMM_MEDHI16[ ]+0+ +file2data4[ ]+\+ 10 -0+3c 0+39000000f8 R_SH_IMM_MEDLOW16[ ]+0+ +file2data4[ ]+\+ 10 -0+40 0+39000000f6 R_SH_IMM_LOW16[ ]+0+ +file2data4[ ]+\+ 10 -0+70 0+c000000f6 R_SH_IMM_LOW16[ ]+0+6c +file2text1[ ]+\+ 0 -0+74 0+28000000f6 R_SH_IMM_LOW16[ ]+0+124 +file2data2[ ]+\+ 0 -0+78 0+27000000f6 R_SH_IMM_LOW16[ ]+0+10 +file1text3[ ]+\+ 0 -0+7c 0+85000000f6 R_SH_IMM_LOW16[ ]+0+14 +file1data4[ ]+\+ 0 -0+80 0+50000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 -0+84 0+68000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved3[ ]+\+ 0 -0+88 0+89000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved8[ ]+\+ 0 -0+8c 0+36000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved9[ ]+\+ 0 -0+90 0+61000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 0 -0+94 0+4f000000f6 R_SH_IMM_LOW16[ ]+0+ +file1data2[ ]+\+ 0 -0+98 0+2c000000f6 R_SH_IMM_LOW16[ ]+0+ +file1data3[ ]+\+ 0 +0+8 0+60000000f6 R_SH_IMM_LOW16[ ]+0+4 +file1text1[ ]+\+ 0 +0+c 0+32000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 0 +0+10 0+35000000f6 R_SH_IMM_LOW16[ ]+0+78 +file2text3[ ]+\+ 0 +0+14 0+14000000f6 R_SH_IMM_LOW16[ ]+0+12c +file2data4[ ]+\+ 0 +0+18 0+51000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 +0+1c 0+56000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved6[ ]+\+ 0 +0+20 0+62000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 0 +0+24 0+62000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 18 +0+28 0+26000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text5[ ]+\+ 8 +0+2c 0+32000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 30 +0+30 0+32000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 0 +0+44 0+47000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved7[ ]+\+ 0 +0+48 0+2c000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 +0+34 0+3a000000fc R_SH_IMM_HI16[ ]+0+ +file2data4[ ]+\+ 10 +0+38 0+3a000000fa R_SH_IMM_MEDHI16[ ]+0+ +file2data4[ ]+\+ 10 +0+3c 0+3a000000f8 R_SH_IMM_MEDLOW16[ ]+0+ +file2data4[ ]+\+ 10 +0+40 0+3a000000f6 R_SH_IMM_LOW16[ ]+0+ +file2data4[ ]+\+ 10 +0+70 0+0d000000f6 R_SH_IMM_LOW16[ ]+0+6c +file2text1[ ]+\+ 0 +0+74 0+29000000f6 R_SH_IMM_LOW16[ ]+0+124 +file2data2[ ]+\+ 0 +0+78 0+28000000f6 R_SH_IMM_LOW16[ ]+0+10 +file1text3[ ]+\+ 0 +0+7c 0+86000000f6 R_SH_IMM_LOW16[ ]+0+14 +file1data4[ ]+\+ 0 +0+80 0+51000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 +0+84 0+69000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved3[ ]+\+ 0 +0+88 0+8a000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved8[ ]+\+ 0 +0+8c 0+37000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved9[ ]+\+ 0 +0+90 0+62000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 0 +0+94 0+50000000f6 R_SH_IMM_LOW16[ ]+0+ +file1data2[ ]+\+ 0 +0+98 0+2d000000f6 R_SH_IMM_LOW16[ ]+0+ +file1data3[ ]+\+ 0 Relocation section '\.rela\.data' at offset 0x[0-9a-f]+ contains 134 entries: .* -0+8 0+f00000001 R_SH_DIR32[ ]+0+4 +file1data1[ ]+\+ 0 -0+c 0+b00000001 R_SH_DIR32[ ]+0+c +file1text2[ ]+\+ 0 -0+10 0+7c00000001 R_SH_DIR32[ ]+0+128 +file2data3[ ]+\+ 0 -0+14 0+6b00000001 R_SH_DIR32[ ]+0+7c +file2text4[ ]+\+ 0 -0+18 0+7800000001 R_SH_DIR32[ ]+0+ +unresolved2[ ]+\+ 0 -0+1c 0+900000001 R_SH_DIR32[ ]+0+ +unresolved5[ ]+\+ 0 -0+20 0+7000000001 R_SH_DIR32[ ]+0+ +unresolved6[ ]+\+ 0 -0+24 0+a00000001 R_SH_DIR32[ ]+0+ +unresolved9[ ]+\+ 0 -0+28 0+7e00000001 R_SH_DIR32[ ]+0+ +a1[ ]+\+ 0 -0+2c 0+7400000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 -0+30 0+5800000001 R_SH_DIR32[ ]+0+44 +b123[ ]+\+ 0 -0+34 0+6e00000001 R_SH_DIR32[ ]+0+a4 +c3[ ]+\+ 0 -0+38 0+4000000001 R_SH_DIR32[ ]+0+b0 +c13[ ]+\+ 0 -0+3c 0+2a00000001 R_SH_DIR32[ ]+0+ +a2[ ]+\+ 0 -0+40 0+5200000001 R_SH_DIR32[ ]+0+ +a3[ ]+\+ 0 -0+44 0+2900000001 R_SH_DIR32[ ]+0+ +a4[ ]+\+ 0 -0+48 0+6d00000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 -0+4c 0+1900000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 -0+50 0+7a00000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 -0+54 0+6600000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 -0+58 0+4100000001 R_SH_DIR32[ ]+0+ +b1[ ]+\+ 0 -0+5c 0+7500000001 R_SH_DIR32[ ]+0+ +b2[ ]+\+ 0 -0+60 0+3300000001 R_SH_DIR32[ ]+0+ +a3[ ]+\+ 0 -0+64 0+8300000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 -0+68 0+3200000001 R_SH_DIR32[ ]+0+ +b3[ ]+\+ 0 -0+6c 0+6c00000001 R_SH_DIR32[ ]+0+ +b4[ ]+\+ 0 -0+70 0+5600000001 R_SH_DIR32[ ]+0+ +b12[ ]+\+ 0 -0+74 0+2d00000001 R_SH_DIR32[ ]+0+ +b13[ ]+\+ 0 -0+78 0+4200000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 -0+7c 0+6900000001 R_SH_DIR32[ ]+0+24 +b3[ ]+\+ 0 -0+80 0+3f00000001 R_SH_DIR32[ ]+0+30 +b13[ ]+\+ 0 -0+84 0+7300000001 R_SH_DIR32[ ]+0+34 +b23[ ]+\+ 0 -0+88 0+8100000001 R_SH_DIR32[ ]+0+ +b23[ ]+\+ 0 -0+8c 0+1000000001 R_SH_DIR32[ ]+0+ +b123[ ]+\+ 0 -0+90 0+8700000001 R_SH_DIR32[ ]+0+ +c1[ ]+\+ 0 -0+94 0+3000000001 R_SH_DIR32[ ]+0+ +c2[ ]+\+ 0 -0+98 0+6700000001 R_SH_DIR32[ ]+0+ +c3[ ]+\+ 0 -0+9c 0+3d00000001 R_SH_DIR32[ ]+0+b4 +c23[ ]+\+ 0 -0+a0 0+8200000001 R_SH_DIR32[ ]+0+b8 +c123[ ]+\+ 0 -0+a4 0+1200000001 R_SH_DIR32[ ]+0+ +c4[ ]+\+ 0 -0+a8 0+2400000001 R_SH_DIR32[ ]+0+ +c12[ ]+\+ 0 -0+ac 0+3500000001 R_SH_DIR32[ ]+0+ +c13[ ]+\+ 0 -0+b0 0+3a00000001 R_SH_DIR32[ ]+0+ +c23[ ]+\+ 0 -0+b4 0+3e00000001 R_SH_DIR32[ ]+0+ +c123[ ]+\+ 0 -0+b8 0+4c00000001 R_SH_DIR32[ ]+0+ +oa1[ ]+\+ 0 -0+bc 0+1800000001 R_SH_DIR32[ ]+0+ +ob1[ ]+\+ 0 -0+c0 0+4800000001 R_SH_DIR32[ ]+0+d8 +ob123[ ]+\+ 0 -0+c4 0+5d00000001 R_SH_DIR32[ ]+0+ +oc1[ ]+\+ 0 -0+c8 0+7d00000001 R_SH_DIR32[ ]+0+ +oa2[ ]+\+ 0 -0+cc 0+6500000001 R_SH_DIR32[ ]+0+c0 +ob2[ ]+\+ 0 -0+d0 0+7600000001 R_SH_DIR32[ ]+0+4c +oc2[ ]+\+ 0 -0+d4 0+4d00000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 -0+d8 0+1f00000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 -0+dc 0+6400000001 R_SH_DIR32[ ]+0+ +ob12[ ]+\+ 0 -0+e0 0+4e00000001 R_SH_DIR32[ ]+0+cc +ob12[ ]+\+ 0 -0+e4 0+5e00000001 R_SH_DIR32[ ]+0+ +oc12[ ]+\+ 0 -0+e8 0+1600000001 R_SH_DIR32[ ]+0+58 +oc12[ ]+\+ 0 -0+ec 0+4300000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 -0+f0 0+4900000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 -0+f4 0+e00000001 R_SH_DIR32[ ]+0+64 +oc123[ ]+\+ 0 -0+f8 0+5900000001 R_SH_DIR32[ ]+0+ +ob13[ ]+\+ 0 -0+fc 0+6000000001 R_SH_DIR32[ ]+0+ +oc13[ ]+\+ 0 -0+100 0+8600000001 R_SH_DIR32[ ]+0+d4 +ob23[ ]+\+ 0 -0+104 0+2f00000001 R_SH_DIR32[ ]+0+60 +oc23[ ]+\+ 0 -0+108 0+5b00000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 -0+10c 0+5400000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 -0+110 0+6a00000001 R_SH_DIR32[ ]+0+ +ob123[ ]+\+ 0 -0+114 0+3700000001 R_SH_DIR32[ ]+0+ +oc123[ ]+\+ 0 -0+120 0+8000000001 R_SH_DIR32[ ]+0+11c +file2data1[ ]+\+ 0 -0+124 0+6200000001 R_SH_DIR32[ ]+0+74 +file2text2[ ]+\+ 0 -0+128 0+8400000001 R_SH_DIR32[ ]+0+10 +file1data3[ ]+\+ 0 -0+12c 0+7b00000001 R_SH_DIR32[ ]+0+14 +file1text4[ ]+\+ 0 -0+130 0+7800000001 R_SH_DIR32[ ]+0+ +unresolved2[ ]+\+ 0 -0+134 0+7f00000001 R_SH_DIR32[ ]+0+ +unresolved4[ ]+\+ 0 -0+138 0+4c00000001 R_SH_DIR32[ ]+0+ +oa1[ ]+\+ 0 -0+13c 0+1b00000001 R_SH_DIR32[ ]+0+ +oa2[ ]+\+ 0 -0+140 0+7100000001 R_SH_DIR32[ ]+0+ +oa3[ ]+\+ 0 -0+144 0+2000000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 -0+148 0+1d00000001 R_SH_DIR32[ ]+0+5c +oc13[ ]+\+ 0 -0+14c 0+1400000001 R_SH_DIR32[ ]+0+ +oa4[ ]+\+ 0 -0+150 0+1f00000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 -0+154 0+4900000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 -0+158 0+3c00000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 -0+15c 0+4300000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 -0+160 0+5b00000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 -0+164 0+1a00000001 R_SH_DIR32[ ]+0+50 +oc3[ ]+\+ 0 -0+168 0+5400000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 -0+16c 0+1800000001 R_SH_DIR32[ ]+0+ +ob1[ ]+\+ 0 -0+170 0+2600000001 R_SH_DIR32[ ]+0+ +ob2[ ]+\+ 0 -0+174 0+6300000001 R_SH_DIR32[ ]+0+ +ob3[ ]+\+ 0 -0+178 0+1700000001 R_SH_DIR32[ ]+0+ +ob4[ ]+\+ 0 -0+17c 0+8800000001 R_SH_DIR32[ ]+0+ +oa3[ ]+\+ 0 -0+180 0+2f00000001 R_SH_DIR32[ ]+0+60 +oc23[ ]+\+ 0 -0+184 0+e00000001 R_SH_DIR32[ ]+0+64 +oc123[ ]+\+ 0 -0+188 0+6400000001 R_SH_DIR32[ ]+0+ +ob12[ ]+\+ 0 -0+18c 0+5900000001 R_SH_DIR32[ ]+0+ +ob13[ ]+\+ 0 -0+190 0+5100000001 R_SH_DIR32[ ]+0+d0 +ob13[ ]+\+ 0 -0+194 0+8600000001 R_SH_DIR32[ ]+0+d4 +ob23[ ]+\+ 0 -0+198 0+5c00000001 R_SH_DIR32[ ]+0+ +ob23[ ]+\+ 0 -0+19c 0+6a00000001 R_SH_DIR32[ ]+0+ +ob123[ ]+\+ 0 -0+1a0 0+5d00000001 R_SH_DIR32[ ]+0+ +oc1[ ]+\+ 0 -0+1a4 0+1500000001 R_SH_DIR32[ ]+0+c4 +ob3[ ]+\+ 0 -0+1a8 0+4800000001 R_SH_DIR32[ ]+0+d8 +ob123[ ]+\+ 0 -0+1ac 0+d00000001 R_SH_DIR32[ ]+0+ +oc2[ ]+\+ 0 -0+1b0 0+3b00000001 R_SH_DIR32[ ]+0+ +oc3[ ]+\+ 0 -0+1b4 0+5700000001 R_SH_DIR32[ ]+0+ +oc4[ ]+\+ 0 -0+1b8 0+5e00000001 R_SH_DIR32[ ]+0+ +oc12[ ]+\+ 0 -0+1bc 0+6000000001 R_SH_DIR32[ ]+0+ +oc13[ ]+\+ 0 -0+1c0 0+2e00000001 R_SH_DIR32[ ]+0+ +oc23[ ]+\+ 0 -0+1c4 0+3700000001 R_SH_DIR32[ ]+0+ +oc123[ ]+\+ 0 -0+1c8 0+7e00000001 R_SH_DIR32[ ]+0+ +a1[ ]+\+ 0 -0+1cc 0+1e00000001 R_SH_DIR32[ ]+0+a0 +c2[ ]+\+ 0 -0+1d0 0+7300000001 R_SH_DIR32[ ]+0+34 +b23[ ]+\+ 0 -0+1d4 0+4100000001 R_SH_DIR32[ ]+0+ +b1[ ]+\+ 0 -0+1d8 0+8700000001 R_SH_DIR32[ ]+0+ +c1[ ]+\+ 0 -0+1dc 0+6d00000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 -0+1e0 0+5a00000001 R_SH_DIR32[ ]+0+ +a2[ ]+\+ 0 -0+1e4 0+1100000001 R_SH_DIR32[ ]+0+20 +b2[ ]+\+ 0 -0+1e8 0+5600000001 R_SH_DIR32[ ]+0+ +b12[ ]+\+ 0 -0+1ec 0+2400000001 R_SH_DIR32[ ]+0+ +c12[ ]+\+ 0 -0+1f0 0+5800000001 R_SH_DIR32[ ]+0+44 +b123[ ]+\+ 0 -0+1f4 0+8200000001 R_SH_DIR32[ ]+0+b8 +c123[ ]+\+ 0 -0+1f8 0+1900000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 -0+1fc 0+2d00000001 R_SH_DIR32[ ]+0+ +b13[ ]+\+ 0 -0+200 0+3d00000001 R_SH_DIR32[ ]+0+b4 +c23[ ]+\+ 0 -0+204 0+4200000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 -0+208 0+3500000001 R_SH_DIR32[ ]+0+ +c13[ ]+\+ 0 -0+20c 0+6600000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 -0+210 0+7200000001 R_SH_DIR32[ ]+0+ac +c12[ ]+\+ 0 -0+214 0+7400000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 -0+218 0+1000000001 R_SH_DIR32[ ]+0+ +b123[ ]+\+ 0 -0+21c 0+4400000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 -0+220 0+7700000001 R_SH_DIR32[ ]+0+2c +b12[ ]+\+ 0 -0+224 0+3e00000001 R_SH_DIR32[ ]+0+ +c123[ ]+\+ 0 +0+8 0+1000000001 R_SH_DIR32[ ]+0+4 +file1data1[ ]+\+ 0 +0+c 0+c00000001 R_SH_DIR32[ ]+0+c +file1text2[ ]+\+ 0 +0+10 0+7d00000001 R_SH_DIR32[ ]+0+128 +file2data3[ ]+\+ 0 +0+14 0+6c00000001 R_SH_DIR32[ ]+0+7c +file2text4[ ]+\+ 0 +0+18 0+7900000001 R_SH_DIR32[ ]+0+ +unresolved2[ ]+\+ 0 +0+1c 0+0a00000001 R_SH_DIR32[ ]+0+ +unresolved5[ ]+\+ 0 +0+20 0+7100000001 R_SH_DIR32[ ]+0+ +unresolved6[ ]+\+ 0 +0+24 0+0b00000001 R_SH_DIR32[ ]+0+ +unresolved9[ ]+\+ 0 +0+28 0+7f00000001 R_SH_DIR32[ ]+0+ +a1[ ]+\+ 0 +0+2c 0+7500000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 +0+30 0+5900000001 R_SH_DIR32[ ]+0+44 +b123[ ]+\+ 0 +0+34 0+6f00000001 R_SH_DIR32[ ]+0+a4 +c3[ ]+\+ 0 +0+38 0+4100000001 R_SH_DIR32[ ]+0+b0 +c13[ ]+\+ 0 +0+3c 0+2b00000001 R_SH_DIR32[ ]+0+ +a2[ ]+\+ 0 +0+40 0+5300000001 R_SH_DIR32[ ]+0+ +a3[ ]+\+ 0 +0+44 0+2a00000001 R_SH_DIR32[ ]+0+ +a4[ ]+\+ 0 +0+48 0+6e00000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 +0+4c 0+1a00000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 +0+50 0+7b00000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 +0+54 0+6700000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 +0+58 0+4200000001 R_SH_DIR32[ ]+0+ +b1[ ]+\+ 0 +0+5c 0+7600000001 R_SH_DIR32[ ]+0+ +b2[ ]+\+ 0 +0+60 0+3400000001 R_SH_DIR32[ ]+0+ +a3[ ]+\+ 0 +0+64 0+8400000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 +0+68 0+3300000001 R_SH_DIR32[ ]+0+ +b3[ ]+\+ 0 +0+6c 0+6d00000001 R_SH_DIR32[ ]+0+ +b4[ ]+\+ 0 +0+70 0+5700000001 R_SH_DIR32[ ]+0+ +b12[ ]+\+ 0 +0+74 0+2e00000001 R_SH_DIR32[ ]+0+ +b13[ ]+\+ 0 +0+78 0+4300000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 +0+7c 0+6a00000001 R_SH_DIR32[ ]+0+24 +b3[ ]+\+ 0 +0+80 0+4000000001 R_SH_DIR32[ ]+0+30 +b13[ ]+\+ 0 +0+84 0+7400000001 R_SH_DIR32[ ]+0+34 +b23[ ]+\+ 0 +0+88 0+8200000001 R_SH_DIR32[ ]+0+ +b23[ ]+\+ 0 +0+8c 0+1100000001 R_SH_DIR32[ ]+0+ +b123[ ]+\+ 0 +0+90 0+8800000001 R_SH_DIR32[ ]+0+ +c1[ ]+\+ 0 +0+94 0+3100000001 R_SH_DIR32[ ]+0+ +c2[ ]+\+ 0 +0+98 0+6800000001 R_SH_DIR32[ ]+0+ +c3[ ]+\+ 0 +0+9c 0+3e00000001 R_SH_DIR32[ ]+0+b4 +c23[ ]+\+ 0 +0+a0 0+8300000001 R_SH_DIR32[ ]+0+b8 +c123[ ]+\+ 0 +0+a4 0+1300000001 R_SH_DIR32[ ]+0+ +c4[ ]+\+ 0 +0+a8 0+2500000001 R_SH_DIR32[ ]+0+ +c12[ ]+\+ 0 +0+ac 0+3600000001 R_SH_DIR32[ ]+0+ +c13[ ]+\+ 0 +0+b0 0+3b00000001 R_SH_DIR32[ ]+0+ +c23[ ]+\+ 0 +0+b4 0+3f00000001 R_SH_DIR32[ ]+0+ +c123[ ]+\+ 0 +0+b8 0+4d00000001 R_SH_DIR32[ ]+0+ +oa1[ ]+\+ 0 +0+bc 0+1900000001 R_SH_DIR32[ ]+0+ +ob1[ ]+\+ 0 +0+c0 0+4900000001 R_SH_DIR32[ ]+0+d8 +ob123[ ]+\+ 0 +0+c4 0+5e00000001 R_SH_DIR32[ ]+0+ +oc1[ ]+\+ 0 +0+c8 0+7e00000001 R_SH_DIR32[ ]+0+ +oa2[ ]+\+ 0 +0+cc 0+6600000001 R_SH_DIR32[ ]+0+c0 +ob2[ ]+\+ 0 +0+d0 0+7700000001 R_SH_DIR32[ ]+0+4c +oc2[ ]+\+ 0 +0+d4 0+4e00000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 +0+d8 0+2000000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 +0+dc 0+6500000001 R_SH_DIR32[ ]+0+ +ob12[ ]+\+ 0 +0+e0 0+4f00000001 R_SH_DIR32[ ]+0+cc +ob12[ ]+\+ 0 +0+e4 0+5f00000001 R_SH_DIR32[ ]+0+ +oc12[ ]+\+ 0 +0+e8 0+1700000001 R_SH_DIR32[ ]+0+58 +oc12[ ]+\+ 0 +0+ec 0+4400000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 +0+f0 0+4a00000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 +0+f4 0+0f00000001 R_SH_DIR32[ ]+0+64 +oc123[ ]+\+ 0 +0+f8 0+5a00000001 R_SH_DIR32[ ]+0+ +ob13[ ]+\+ 0 +0+fc 0+6100000001 R_SH_DIR32[ ]+0+ +oc13[ ]+\+ 0 +0+100 0+8700000001 R_SH_DIR32[ ]+0+d4 +ob23[ ]+\+ 0 +0+104 0+3000000001 R_SH_DIR32[ ]+0+60 +oc23[ ]+\+ 0 +0+108 0+5c00000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 +0+10c 0+5500000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 +0+110 0+6b00000001 R_SH_DIR32[ ]+0+ +ob123[ ]+\+ 0 +0+114 0+3800000001 R_SH_DIR32[ ]+0+ +oc123[ ]+\+ 0 +0+120 0+8100000001 R_SH_DIR32[ ]+0+11c +file2data1[ ]+\+ 0 +0+124 0+6300000001 R_SH_DIR32[ ]+0+74 +file2text2[ ]+\+ 0 +0+128 0+8500000001 R_SH_DIR32[ ]+0+10 +file1data3[ ]+\+ 0 +0+12c 0+7c00000001 R_SH_DIR32[ ]+0+14 +file1text4[ ]+\+ 0 +0+130 0+7900000001 R_SH_DIR32[ ]+0+ +unresolved2[ ]+\+ 0 +0+134 0+8000000001 R_SH_DIR32[ ]+0+ +unresolved4[ ]+\+ 0 +0+138 0+4d00000001 R_SH_DIR32[ ]+0+ +oa1[ ]+\+ 0 +0+13c 0+1c00000001 R_SH_DIR32[ ]+0+ +oa2[ ]+\+ 0 +0+140 0+7200000001 R_SH_DIR32[ ]+0+ +oa3[ ]+\+ 0 +0+144 0+2100000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 +0+148 0+1e00000001 R_SH_DIR32[ ]+0+5c +oc13[ ]+\+ 0 +0+14c 0+1500000001 R_SH_DIR32[ ]+0+ +oa4[ ]+\+ 0 +0+150 0+2000000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 +0+154 0+4a00000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 +0+158 0+3d00000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 +0+15c 0+4400000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 +0+160 0+5c00000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 +0+164 0+1b00000001 R_SH_DIR32[ ]+0+50 +oc3[ ]+\+ 0 +0+168 0+5500000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 +0+16c 0+1900000001 R_SH_DIR32[ ]+0+ +ob1[ ]+\+ 0 +0+170 0+2700000001 R_SH_DIR32[ ]+0+ +ob2[ ]+\+ 0 +0+174 0+6400000001 R_SH_DIR32[ ]+0+ +ob3[ ]+\+ 0 +0+178 0+1800000001 R_SH_DIR32[ ]+0+ +ob4[ ]+\+ 0 +0+17c 0+8900000001 R_SH_DIR32[ ]+0+ +oa3[ ]+\+ 0 +0+180 0+3000000001 R_SH_DIR32[ ]+0+60 +oc23[ ]+\+ 0 +0+184 0+0f00000001 R_SH_DIR32[ ]+0+64 +oc123[ ]+\+ 0 +0+188 0+6500000001 R_SH_DIR32[ ]+0+ +ob12[ ]+\+ 0 +0+18c 0+5a00000001 R_SH_DIR32[ ]+0+ +ob13[ ]+\+ 0 +0+190 0+5200000001 R_SH_DIR32[ ]+0+d0 +ob13[ ]+\+ 0 +0+194 0+8700000001 R_SH_DIR32[ ]+0+d4 +ob23[ ]+\+ 0 +0+198 0+5d00000001 R_SH_DIR32[ ]+0+ +ob23[ ]+\+ 0 +0+19c 0+6b00000001 R_SH_DIR32[ ]+0+ +ob123[ ]+\+ 0 +0+1a0 0+5e00000001 R_SH_DIR32[ ]+0+ +oc1[ ]+\+ 0 +0+1a4 0+1600000001 R_SH_DIR32[ ]+0+c4 +ob3[ ]+\+ 0 +0+1a8 0+4900000001 R_SH_DIR32[ ]+0+d8 +ob123[ ]+\+ 0 +0+1ac 0+0e00000001 R_SH_DIR32[ ]+0+ +oc2[ ]+\+ 0 +0+1b0 0+3c00000001 R_SH_DIR32[ ]+0+ +oc3[ ]+\+ 0 +0+1b4 0+5800000001 R_SH_DIR32[ ]+0+ +oc4[ ]+\+ 0 +0+1b8 0+5f00000001 R_SH_DIR32[ ]+0+ +oc12[ ]+\+ 0 +0+1bc 0+6100000001 R_SH_DIR32[ ]+0+ +oc13[ ]+\+ 0 +0+1c0 0+2f00000001 R_SH_DIR32[ ]+0+ +oc23[ ]+\+ 0 +0+1c4 0+3800000001 R_SH_DIR32[ ]+0+ +oc123[ ]+\+ 0 +0+1c8 0+7f00000001 R_SH_DIR32[ ]+0+ +a1[ ]+\+ 0 +0+1cc 0+1f00000001 R_SH_DIR32[ ]+0+a0 +c2[ ]+\+ 0 +0+1d0 0+7400000001 R_SH_DIR32[ ]+0+34 +b23[ ]+\+ 0 +0+1d4 0+4200000001 R_SH_DIR32[ ]+0+ +b1[ ]+\+ 0 +0+1d8 0+8800000001 R_SH_DIR32[ ]+0+ +c1[ ]+\+ 0 +0+1dc 0+6e00000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 +0+1e0 0+5b00000001 R_SH_DIR32[ ]+0+ +a2[ ]+\+ 0 +0+1e4 0+1200000001 R_SH_DIR32[ ]+0+20 +b2[ ]+\+ 0 +0+1e8 0+5700000001 R_SH_DIR32[ ]+0+ +b12[ ]+\+ 0 +0+1ec 0+2500000001 R_SH_DIR32[ ]+0+ +c12[ ]+\+ 0 +0+1f0 0+5900000001 R_SH_DIR32[ ]+0+44 +b123[ ]+\+ 0 +0+1f4 0+8300000001 R_SH_DIR32[ ]+0+b8 +c123[ ]+\+ 0 +0+1f8 0+1a00000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 +0+1fc 0+2e00000001 R_SH_DIR32[ ]+0+ +b13[ ]+\+ 0 +0+200 0+3e00000001 R_SH_DIR32[ ]+0+b4 +c23[ ]+\+ 0 +0+204 0+4300000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 +0+208 0+3600000001 R_SH_DIR32[ ]+0+ +c13[ ]+\+ 0 +0+20c 0+6700000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 +0+210 0+7300000001 R_SH_DIR32[ ]+0+ac +c12[ ]+\+ 0 +0+214 0+7500000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 +0+218 0+1100000001 R_SH_DIR32[ ]+0+ +b123[ ]+\+ 0 +0+21c 0+4500000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 +0+220 0+7800000001 R_SH_DIR32[ ]+0+2c +b12[ ]+\+ 0 +0+224 0+3f00000001 R_SH_DIR32[ ]+0+ +c123[ ]+\+ 0 -Symbol table '\.symtab' contains 138 entries: +Symbol table '\.symtab' contains 139 entries: Num: Value[ ]+Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 @@ -178,135 +178,136 @@ Symbol table '\.symtab' contains 138 entries: 6: 0+ 0 SECTION LOCAL DEFAULT 6 7: 0+ 0 SECTION LOCAL DEFAULT 7 8: 0+ 0 SECTION LOCAL DEFAULT 8 - 9: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved5 - 10: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved9 - 11: 0+c 0 NOTYPE GLOBAL DEFAULT 1 file1text2 - 12: 0+6c 0 NOTYPE GLOBAL DEFAULT 1 file2text1 - 13: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc2 - 14: 0+64 0 NOTYPE GLOBAL DEFAULT 1 oc123 - 15: 0+4 0 NOTYPE GLOBAL DEFAULT 3 file1data1 - 16: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b123 - 17: 0+20 0 NOTYPE GLOBAL DEFAULT 1 b2 - 18: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c4 - 19: 0+12c 0 NOTYPE GLOBAL DEFAULT 3 file2data4 - 20: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa4 - 21: 0+c4 0 NOTYPE GLOBAL DEFAULT 1 ob3 - 22: 0+58 0 NOTYPE GLOBAL DEFAULT 1 oc12 - 23: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob4 - 24: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob1 - 25: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a13 - 26: 0+50 0 NOTYPE GLOBAL DEFAULT 1 oc3 - 27: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa2 - 28: 0+a8 0 NOTYPE GLOBAL DEFAULT 1 c4 - 29: 0+5c 0 NOTYPE GLOBAL DEFAULT 1 oc13 - 30: 0+a0 0 NOTYPE GLOBAL DEFAULT 1 c2 - 31: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa12 - 32: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa13 - 33: 0+c8 0 NOTYPE GLOBAL DEFAULT 1 ob4 - 34: 0+1c 0 NOTYPE GLOBAL DEFAULT 1 b1 - 35: 0+18 0 NOTYPE GLOBAL DEFAULT 1 file1text5 - 36: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c12 - 37: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text5 - 38: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob2 - 39: 0+10 0 NOTYPE GLOBAL DEFAULT 1 file1text3 - 40: 0+124 0 NOTYPE GLOBAL DEFAULT 3 file2data2 - 41: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a4 - 42: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a2 - 43: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved1 - 44: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data3 - 45: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b13 - 46: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc23 - 47: 0+60 0 NOTYPE GLOBAL DEFAULT 1 oc23 - 48: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c2 - 49: 0+c 0 NOTYPE GLOBAL DEFAULT 3 file1data2 - 50: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b3 - 51: 0+ 0 NOTYPE GLOBAL DEFAULT UND a3 - 52: 0+78 0 NOTYPE GLOBAL DEFAULT 1 file2text3 - 53: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c13 - 54: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved9 - 55: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc123 - 56: 0+28 0 NOTYPE GLOBAL DEFAULT 1 b4 - 57: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file2data4 - 58: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c23 - 59: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc3 - 60: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa23 - 61: 0+b4 0 NOTYPE GLOBAL DEFAULT 1 c23 - 62: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c123 - 63: 0+30 0 NOTYPE GLOBAL DEFAULT 1 b13 - 64: 0+b0 0 NOTYPE GLOBAL DEFAULT 1 c13 - 65: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b1 - 66: 0+ 0 NOTYPE GLOBAL DEFAULT UND a123 - 67: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa23 - 68: 0+ 0 NOTYPE GLOBAL DEFAULT UND a12 - 69: 0+bc 0 NOTYPE GLOBAL DEFAULT 1 ob1 - 70: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved7 - 71: 0+68 0 NOTYPE GLOBAL DEFAULT 1 start2 - 72: 0+d8 0 NOTYPE GLOBAL DEFAULT 1 ob123 - 73: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa13 - 74: 0+9c 0 NOTYPE GLOBAL DEFAULT 1 c1 - 75: 0+54 0 NOTYPE GLOBAL DEFAULT 1 oc4 - 76: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa1 - 77: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa12 - 78: 0+cc 0 NOTYPE GLOBAL DEFAULT 1 ob12 - 79: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data2 - 80: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved1 - 81: 0+d0 0 NOTYPE GLOBAL DEFAULT 1 ob13 - 82: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a3 - 83: 0+18 0 NOTYPE GLOBAL DEFAULT 3 file1data5 - 84: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa123 - 85: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved6 - 86: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b12 - 87: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc4 - 88: 0+44 0 NOTYPE GLOBAL DEFAULT 1 b123 - 89: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob13 - 90: 0+ 0 NOTYPE GLOBAL DEFAULT UND a2 - 91: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa123 - 92: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob23 - 93: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc1 - 94: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc12 - 95: 0+4 0 NOTYPE GLOBAL DEFAULT 1 file1text1 - 96: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc13 - 97: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text1 - 98: 0+74 0 NOTYPE GLOBAL DEFAULT 1 file2text2 - 99: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob3 - 100: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob12 - 101: 0+c0 0 NOTYPE GLOBAL DEFAULT 1 ob2 - 102: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a123 - 103: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c3 - 104: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved3 - 105: 0+24 0 NOTYPE GLOBAL DEFAULT 1 b3 - 106: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob123 - 107: 0+7c 0 NOTYPE GLOBAL DEFAULT 1 file2text4 - 108: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b4 - 109: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a12 - 110: 0+a4 0 NOTYPE GLOBAL DEFAULT 1 c3 - 111: 0+48 0 NOTYPE GLOBAL DEFAULT 1 oc1 - 112: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved6 - 113: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa3 - 114: 0+ac 0 NOTYPE GLOBAL DEFAULT 1 c12 - 115: 0+34 0 NOTYPE GLOBAL DEFAULT 1 b23 - 116: 0+ 0 NOTYPE GLOBAL DEFAULT UND a23 - 117: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b2 - 118: 0+4c 0 NOTYPE GLOBAL DEFAULT 1 oc2 - 119: 0+2c 0 NOTYPE GLOBAL DEFAULT 1 b12 - 120: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved2 - 121: 0+ 0 NOTYPE GLOBAL DEFAULT 1 start - 122: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a23 - 123: 0+14 0 NOTYPE GLOBAL DEFAULT 1 file1text4 - 124: 0+128 0 NOTYPE GLOBAL DEFAULT 3 file2data3 - 125: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa2 - 126: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a1 - 127: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved4 - 128: 0+11c 0 NOTYPE GLOBAL DEFAULT 3 file2data1 - 129: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b23 - 130: 0+b8 0 NOTYPE GLOBAL DEFAULT 1 c123 - 131: 0+ 0 NOTYPE GLOBAL DEFAULT UND a13 - 132: 0+10 0 NOTYPE GLOBAL DEFAULT 3 file1data3 - 133: 0+14 0 NOTYPE GLOBAL DEFAULT 3 file1data4 - 134: 0+d4 0 NOTYPE GLOBAL DEFAULT 1 ob23 - 135: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c1 - 136: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa3 - 137: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved8 + 9: 0+ 0 SECTION LOCAL DEFAULT 9 + 10: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved5 + 11: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved9 + 12: 0+c 0 NOTYPE GLOBAL DEFAULT 1 file1text2 + 13: 0+6c 0 NOTYPE GLOBAL DEFAULT 1 file2text1 + 14: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc2 + 15: 0+64 0 NOTYPE GLOBAL DEFAULT 1 oc123 + 16: 0+4 0 NOTYPE GLOBAL DEFAULT 3 file1data1 + 17: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b123 + 18: 0+20 0 NOTYPE GLOBAL DEFAULT 1 b2 + 19: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c4 + 20: 0+12c 0 NOTYPE GLOBAL DEFAULT 3 file2data4 + 21: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa4 + 22: 0+c4 0 NOTYPE GLOBAL DEFAULT 1 ob3 + 23: 0+58 0 NOTYPE GLOBAL DEFAULT 1 oc12 + 24: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob4 + 25: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob1 + 26: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a13 + 27: 0+50 0 NOTYPE GLOBAL DEFAULT 1 oc3 + 28: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa2 + 29: 0+a8 0 NOTYPE GLOBAL DEFAULT 1 c4 + 30: 0+5c 0 NOTYPE GLOBAL DEFAULT 1 oc13 + 31: 0+a0 0 NOTYPE GLOBAL DEFAULT 1 c2 + 32: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa12 + 33: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa13 + 34: 0+c8 0 NOTYPE GLOBAL DEFAULT 1 ob4 + 35: 0+1c 0 NOTYPE GLOBAL DEFAULT 1 b1 + 36: 0+18 0 NOTYPE GLOBAL DEFAULT 1 file1text5 + 37: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c12 + 38: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text5 + 39: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob2 + 40: 0+10 0 NOTYPE GLOBAL DEFAULT 1 file1text3 + 41: 0+124 0 NOTYPE GLOBAL DEFAULT 3 file2data2 + 42: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a4 + 43: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a2 + 44: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved1 + 45: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data3 + 46: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b13 + 47: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc23 + 48: 0+60 0 NOTYPE GLOBAL DEFAULT 1 oc23 + 49: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c2 + 50: 0+c 0 NOTYPE GLOBAL DEFAULT 3 file1data2 + 51: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b3 + 52: 0+ 0 NOTYPE GLOBAL DEFAULT UND a3 + 53: 0+78 0 NOTYPE GLOBAL DEFAULT 1 file2text3 + 54: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c13 + 55: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved9 + 56: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc123 + 57: 0+28 0 NOTYPE GLOBAL DEFAULT 1 b4 + 58: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file2data4 + 59: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c23 + 60: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc3 + 61: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa23 + 62: 0+b4 0 NOTYPE GLOBAL DEFAULT 1 c23 + 63: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c123 + 64: 0+30 0 NOTYPE GLOBAL DEFAULT 1 b13 + 65: 0+b0 0 NOTYPE GLOBAL DEFAULT 1 c13 + 66: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b1 + 67: 0+ 0 NOTYPE GLOBAL DEFAULT UND a123 + 68: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa23 + 69: 0+ 0 NOTYPE GLOBAL DEFAULT UND a12 + 70: 0+bc 0 NOTYPE GLOBAL DEFAULT 1 ob1 + 71: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved7 + 72: 0+68 0 NOTYPE GLOBAL DEFAULT 1 start2 + 73: 0+d8 0 NOTYPE GLOBAL DEFAULT 1 ob123 + 74: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa13 + 75: 0+9c 0 NOTYPE GLOBAL DEFAULT 1 c1 + 76: 0+54 0 NOTYPE GLOBAL DEFAULT 1 oc4 + 77: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa1 + 78: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa12 + 79: 0+cc 0 NOTYPE GLOBAL DEFAULT 1 ob12 + 80: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data2 + 81: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved1 + 82: 0+d0 0 NOTYPE GLOBAL DEFAULT 1 ob13 + 83: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a3 + 84: 0+18 0 NOTYPE GLOBAL DEFAULT 3 file1data5 + 85: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa123 + 86: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved6 + 87: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b12 + 88: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc4 + 89: 0+44 0 NOTYPE GLOBAL DEFAULT 1 b123 + 90: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob13 + 91: 0+ 0 NOTYPE GLOBAL DEFAULT UND a2 + 92: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa123 + 93: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob23 + 94: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc1 + 95: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc12 + 96: 0+4 0 NOTYPE GLOBAL DEFAULT 1 file1text1 + 97: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oc13 + 98: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text1 + 99: 0+74 0 NOTYPE GLOBAL DEFAULT 1 file2text2 + 100: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob3 + 101: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob12 + 102: 0+c0 0 NOTYPE GLOBAL DEFAULT 1 ob2 + 103: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a123 + 104: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c3 + 105: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved3 + 106: 0+24 0 NOTYPE GLOBAL DEFAULT 1 b3 + 107: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND ob123 + 108: 0+7c 0 NOTYPE GLOBAL DEFAULT 1 file2text4 + 109: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b4 + 110: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a12 + 111: 0+a4 0 NOTYPE GLOBAL DEFAULT 1 c3 + 112: 0+48 0 NOTYPE GLOBAL DEFAULT 1 oc1 + 113: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved6 + 114: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND oa3 + 115: 0+ac 0 NOTYPE GLOBAL DEFAULT 1 c12 + 116: 0+34 0 NOTYPE GLOBAL DEFAULT 1 b23 + 117: 0+ 0 NOTYPE GLOBAL DEFAULT UND a23 + 118: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b2 + 119: 0+4c 0 NOTYPE GLOBAL DEFAULT 1 oc2 + 120: 0+2c 0 NOTYPE GLOBAL DEFAULT 1 b12 + 121: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved2 + 122: 0+ 0 NOTYPE GLOBAL DEFAULT 1 start + 123: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a23 + 124: 0+14 0 NOTYPE GLOBAL DEFAULT 1 file1text4 + 125: 0+128 0 NOTYPE GLOBAL DEFAULT 3 file2data3 + 126: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa2 + 127: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND a1 + 128: 0+ 0 NOTYPE GLOBAL DEFAULT UND unresolved4 + 129: 0+11c 0 NOTYPE GLOBAL DEFAULT 3 file2data1 + 130: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND b23 + 131: 0+b8 0 NOTYPE GLOBAL DEFAULT 1 c123 + 132: 0+ 0 NOTYPE GLOBAL DEFAULT UND a13 + 133: 0+10 0 NOTYPE GLOBAL DEFAULT 3 file1data3 + 134: 0+14 0 NOTYPE GLOBAL DEFAULT 3 file1data4 + 135: 0+d4 0 NOTYPE GLOBAL DEFAULT 1 ob23 + 136: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND c1 + 137: 0+ 0 NOTYPE GLOBAL DEFAULT UND oa3 + 138: 0+ 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved8 Hex dump of section '\.text': 0x00000000 6ff0fff0 6ff0fff0 cc0000a0 cc000140 .* diff --git a/ld/testsuite/ld-sh/sh64/relfail.exp b/ld/testsuite/ld-sh/sh64/relfail.exp index 713d9e9..f9f9210 100644 --- a/ld/testsuite/ld-sh/sh64/relfail.exp +++ b/ld/testsuite/ld-sh/sh64/relfail.exp @@ -27,6 +27,13 @@ if [istarget sh64-*-linux*] { set oformat32 "elf32-sh64-linux" set startsym "_start" set doabi64 0 +} elseif { [istarget sh64*-*-netbsd*] || [istarget sh5*-*-netbsd*] } then { + set emul32 "shelf32_nbsd" + set oformat32 "elf32-sh64-nbsd" + set startsym "__start" + set doabi64 1 + set emul64 "shelf64_nbsd" + set oformat64 "elf64-sh64-nbsd" } else { set emul32 "shelf32" set oformat32 "elf32-sh64" diff --git a/ld/testsuite/ld-sh/sh64/sh64.exp b/ld/testsuite/ld-sh/sh64/sh64.exp index 9bdead4..afd0304 100644 --- a/ld/testsuite/ld-sh/sh64/sh64.exp +++ b/ld/testsuite/ld-sh/sh64/sh64.exp @@ -27,6 +27,10 @@ if [istarget sh64*-*-linux*] { return } +if { [istarget sh64*-*-netbsd*] || [istarget sh5*-*-netbsd*] } then { + return +} + # List contains test-items with 3 items followed by 2 lists: # 0:name 1:ld options 2:assembler options # 3:filenames of assembler files 4: action and options. 5: name of output file @@ -96,14 +100,14 @@ set sh64tests { {{readelf {-S -s -r -x 1 -x 2 -x 9} crange1.rd}} "crange1.bin" } {"Handling SH64 assembler-generated .cranges, partial linking" "-mshelf32 -r" "--abi=32" {crange-2a.s} - {{readelf {-S -s -r -x 2 -x 5} crangerel1.rd}} "crangerel1.bin" } + {{readelf {-S -s -r -x 2 -x 6} crangerel1.rd}} "crangerel1.bin" } {"Mixing SH64 assembler-generated with linker-generated .cranges" "-mshelf32" "--abi=32" {crange-2a.s crange-2b.s crange-1.s} {{readelf {-S -s -r -x 2 -x 9} crange2.rd}} "crange2.bin" } {"Mixing SH64 assembler-generated with linker-generated .cranges, partial linking" "-mshelf32 -r" "--abi=32" {crange-2a.s crange-2c.s crange-2d.s crange-2e.s} - {{readelf {-S -s -r -x 2 -x 5} crangerel2.rd}} "crangerel2.bin" } + {{readelf {-S -s -r -x 2 -x 6} crangerel2.rd}} "crangerel2.bin" } {"Merge and use of SH64 .cranges, some not originally in order" "-mshelf32" "--abi=32" {crange-2e.s crange-2f.s crange-2g.s crange-2a.s crange-2d.s crange-2i.s diff --git a/ld/testsuite/ld-sh/sh64/shdl32.xd b/ld/testsuite/ld-sh/sh64/shdl32.xd index c941f1f..8aa5dd3 100644 --- a/ld/testsuite/ld-sh/sh64/shdl32.xd +++ b/ld/testsuite/ld-sh/sh64/shdl32.xd @@ -5,29 +5,31 @@ EXEC_P, HAS_SYMS, D_PAGED start address 0x0+1001 Program Header: - LOAD off 0x0+80 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 + LOAD off 0x0+100 vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*7 filesz 0x0+348 memsz 0x0+348 flags r-x - LOAD off 0x0+3c8 vaddr 0x0+13c8 paddr 0x0+13c8 align 2\*\*7 + LOAD off 0x0+448 vaddr 0x0+13c8 paddr 0x0+13c8 align 2\*\*7 filesz 0x0+194 memsz 0x0+198 flags rw- + LOAD off 0x0+600 vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*7 + filesz 0x00000004 memsz 0x00000004 flags rw- Sections: Idx Name Size VMA LMA File off Algn - 0 \.text 0+204 0+1000 0+1000 0+80 2\*\*0 + 0 \.text 0+204 0+1000 0+1000 0+100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.rodata 0+144 0+1204 0+1204 0+284 2\*\*0 + 1 \.rodata 0+144 0+1204 0+1204 0+304 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 2 \.data 0+194 0+13c8 0+13c8 0+3c8 2\*\*0 + 2 \.data 0+194 0+13c8 0+13c8 0+448 2\*\*0 CONTENTS, ALLOC, LOAD, DATA - 3 \.ctors 0+ 0+155c 0+155c 0+560 2\*\*0 + 3 \.ctors 0+ 0+155c 0+155c 0+604 2\*\*0 CONTENTS - 4 \.dtors 0+ 0+155c 0+155c 0+560 2\*\*0 + 4 \.dtors 0+ 0+155c 0+155c 0+604 2\*\*0 CONTENTS - 5 \.sbss 0+ 0+1560 0+1560 0+560 2\*\*0 + 5 \.sbss 0+ 0+1560 0+1560 0+604 2\*\*0 CONTENTS - 6 \.bss 0+ 0+1560 0+1560 0+560 2\*\*0 + 6 \.bss 0+ 0+1560 0+1560 0+5e0 2\*\*0 ALLOC - 7 \.stack 0+ 0+80000 0+80000 0+560 2\*\*0 - CONTENTS + 7 \.stack 0+4 0+80000 0+80000 0+600 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA SYMBOL TABLE: 0+1000 l d \.text 0+ 0+1204 l d \.rodata 0+ diff --git a/ld/testsuite/ld-sh/sh64/shdl64.sd b/ld/testsuite/ld-sh/sh64/shdl64.sd index 1891c87..abe257a 100644 --- a/ld/testsuite/ld-sh/sh64/shdl64.sd +++ b/ld/testsuite/ld-sh/sh64/shdl64.sd @@ -83,7 +83,5 @@ Contents of section \.data: 1538 00001584 00001584 00000000 00001580 .* 1548 00001580 00000000 00001576 00000000 .* 1558 0000156c .* -Contents of section \.ctors: -Contents of section \.dtors: -Contents of section \.sbss: Contents of section \.stack: + 80000 deaddead .* diff --git a/ld/testsuite/ld-sh/sh64/shdl64.xd b/ld/testsuite/ld-sh/sh64/shdl64.xd index 181692f..34123b1 100644 --- a/ld/testsuite/ld-sh/sh64/shdl64.xd +++ b/ld/testsuite/ld-sh/sh64/shdl64.xd @@ -9,6 +9,8 @@ Program Header: filesz 0x0+348 memsz 0x0+348 flags r-x LOAD off 0x0+448 vaddr 0x0+13c8 paddr 0x0+13c8 align 2\*\*7 filesz 0x0+194 memsz 0x0+198 flags rw- + LOAD off 0x0+600 vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*7 + filesz 0x0+4 memsz 0x0+4 flags rw- Sections: Idx Name Size VMA LMA File off Algn @@ -18,16 +20,16 @@ Idx Name Size VMA LMA File off Algn CONTENTS, ALLOC, LOAD, READONLY, DATA 2 \.data 0+194 0+13c8 0+13c8 0+448 2\*\*0 CONTENTS, ALLOC, LOAD, DATA - 3 \.ctors 0+ 0+155c 0+155c 0+5e0 2\*\*0 + 3 \.ctors 0+ 0+155c 0+155c 0+604 2\*\*0 CONTENTS - 4 \.dtors 0+ 0+155c 0+155c 0+5e0 2\*\*0 + 4 \.dtors 0+ 0+155c 0+155c 0+604 2\*\*0 CONTENTS - 5 \.sbss 0+ 0+1560 0+1560 0+5e0 2\*\*0 + 5 \.sbss 0+ 0+1560 0+1560 0+604 2\*\*0 CONTENTS 6 \.bss 0+ 0+1560 0+1560 0+5e0 2\*\*0 ALLOC - 7 \.stack 0+ 0+80000 0+80000 0+5e0 2\*\*0 - CONTENTS + 7 \.stack 0+4 0+80000 0+80000 0+600 2\*\*0 + CONTENTS, ALLOC, LOAD, DATA SYMBOL TABLE: 0+1000 l d \.text 0+ 0+1204 l d \.rodata 0+ diff --git a/ld/testsuite/ld-sh/shared-1.d b/ld/testsuite/ld-sh/shared-1.d index 2da55ab..82198ae 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 .* diff --git a/ld/testsuite/ld-sh/sub2l-1.d b/ld/testsuite/ld-sh/sub2l-1.d index 42a9b5e..40d4e08 100644 --- a/ld/testsuite/ld-sh/sub2l-1.d +++ b/ld/testsuite/ld-sh/sub2l-1.d @@ -4,7 +4,7 @@ #objdump: -st #target: sh*-*-elf -.*/dump: file format elf32-shl +.*/dump: file format elf32-sh.* SYMBOL TABLE: #... @@ -19,5 +19,5 @@ Contents of section \.text: 1010 09000900 09000900 09000900 09000900 .* 1020 09000900 09000900 0b000900 d8ffffff .* 1030 daffffff 02100000 28100000 24100000 .* -Contents of section \.data: +Contents of section \..*: #pass diff --git a/ld/testsuite/ld-sh/weak1.d b/ld/testsuite/ld-sh/weak1.d index 4d38c97..d248bb9 100644 --- a/ld/testsuite/ld-sh/weak1.d +++ b/ld/testsuite/ld-sh/weak1.d @@ -4,7 +4,7 @@ #objdump: -ts #target: sh*-*-elf -.*: file format elf32-shl +.*: file format elf32-sh.* SYMBOL TABLE: #... |