summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-12-11 04:32:37 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-12-11 04:32:37 +0000
commitda2e7e9b39428b6f9b7d7473f66ea914c58d106b (patch)
tree42f2d7a807a4deafcba598dd1cfc822aeff72d58 /ld/testsuite/ld-sh
parent5aafb9b3ff042614fd8e92d1a78d4df42c4ad58f (diff)
downloadbinutils-redhat-da2e7e9b39428b6f9b7d7473f66ea914c58d106b.tar.gz
bfd/
* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that canonical sections syms have a name. gas/testsuite/ Update for changed section syms. ld/testsuite/ Update for changed section syms.
Diffstat (limited to 'ld/testsuite/ld-sh')
-rw-r--r--ld/testsuite/ld-sh/sh64/abi32.xd20
-rw-r--r--ld/testsuite/ld-sh/sh64/abi64.xd20
-rw-r--r--ld/testsuite/ld-sh/sh64/cmpct1.xd22
-rw-r--r--ld/testsuite/ld-sh/sh64/mix1.xd22
-rw-r--r--ld/testsuite/ld-sh/sh64/mix2.xd24
-rw-r--r--ld/testsuite/ld-sh/sh64/rel32.xd18
-rw-r--r--ld/testsuite/ld-sh/sh64/rel64.xd18
-rw-r--r--ld/testsuite/ld-sh/sh64/shdl32.xd22
-rw-r--r--ld/testsuite/ld-sh/sh64/shdl64.xd22
9 files changed, 94 insertions, 94 deletions
diff --git a/ld/testsuite/ld-sh/sh64/abi32.xd b/ld/testsuite/ld-sh/sh64/abi32.xd
index c6bd1dad96..a267d31280 100644
--- a/ld/testsuite/ld-sh/sh64/abi32.xd
+++ b/ld/testsuite/ld-sh/sh64/abi32.xd
@@ -30,16 +30,16 @@ Idx Name Size VMA LMA File off Algn
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 \.ctors 0+
-0+10e8 l d \.dtors 0+
-0+10e8 l d \.data 0+
-0+1100 l d \.sbss 0+
-0+1100 l d \.bss 0+
-0+80000 l d \.stack 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
+0+1000 l d \.text 0+ (|\.text)
+0+10e8 l d \.ctors 0+ (|\.ctors)
+0+10e8 l d \.dtors 0+ (|\.dtors)
+0+10e8 l d \.data 0+ (|\.data)
+0+1100 l d \.sbss 0+ (|\.sbss)
+0+1100 l d \.bss 0+ (|\.bss)
+0+80000 l d \.stack 0+ (|\.stack)
+0+ l d \*ABS\* 0+ (|\.shstrtab)
+0+ l d \*ABS\* 0+ (|\.symtab)
+0+ l d \*ABS\* 0+ (|\.strtab)
0+10f4 l \.data 0+ foobar
0+10fc l \.data 0+ foobar2
0+1060 l \.text 0+ 0x04 plugh
diff --git a/ld/testsuite/ld-sh/sh64/abi64.xd b/ld/testsuite/ld-sh/sh64/abi64.xd
index 08146795fb..56e883cb98 100644
--- a/ld/testsuite/ld-sh/sh64/abi64.xd
+++ b/ld/testsuite/ld-sh/sh64/abi64.xd
@@ -29,16 +29,16 @@ Idx Name Size VMA LMA File off Algn
6 \.stack 00000004 0000000000080000 0000000000080000 00000200 2\*\*0
CONTENTS, ALLOC, LOAD, DATA
SYMBOL TABLE:
-0000000000001000 l d \.text 0000000000000000
-0000000000001130 l d \.ctors 0000000000000000
-0000000000001130 l d \.dtors 0000000000000000
-0000000000001130 l d \.data 0000000000000000
-0000000000001148 l d \.sbss 0000000000000000
-0000000000001148 l d \.bss 0000000000000000
-0000000000080000 l d \.stack 0000000000000000
-0000000000000000 l d \*ABS\* 0000000000000000
-0000000000000000 l d \*ABS\* 0000000000000000
-0000000000000000 l d \*ABS\* 0000000000000000
+0000000000001000 l d \.text 0000000000000000 (|\.text)
+0000000000001130 l d \.ctors 0000000000000000 (|\.ctors)
+0000000000001130 l d \.dtors 0000000000000000 (|\.dtors)
+0000000000001130 l d \.data 0000000000000000 (|\.data)
+0000000000001148 l d \.sbss 0000000000000000 (|\.sbss)
+0000000000001148 l d \.bss 0000000000000000 (|\.bss)
+0000000000080000 l d \.stack 0000000000000000 (|\.stack)
+0000000000000000 l d \*ABS\* 0000000000000000 (|\.shstrtab)
+0000000000000000 l d \*ABS\* 0000000000000000 (|\.symtab)
+0000000000000000 l d \*ABS\* 0000000000000000 (|\.strtab)
000000000000113c l \.data 0000000000000000 foobar
0000000000001144 l \.data 0000000000000000 foobar2
00000000000010a8 l \.text 0000000000000000 0x04 plugh
diff --git a/ld/testsuite/ld-sh/sh64/cmpct1.xd b/ld/testsuite/ld-sh/sh64/cmpct1.xd
index 06e47a9433..f5e622444f 100644
--- a/ld/testsuite/ld-sh/sh64/cmpct1.xd
+++ b/ld/testsuite/ld-sh/sh64/cmpct1.xd
@@ -32,17 +32,17 @@ Idx Name Size VMA LMA File off Algn
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+
-0+1098 l d \.ctors 0+
-0+1098 l d \.dtors 0+
-0+1098 l d \.data 0+
-0+1098 l d \.sbss 0+
-0+1098 l d \.bss 0+
-0+80000 l d \.stack 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
+0+1000 l d \.text 0+ (|\.text)
+0+1008 l d \.rodata 0+ (|\.rodata)
+0+1098 l d \.ctors 0+ (|\.ctors)
+0+1098 l d \.dtors 0+ (|\.dtors)
+0+1098 l d \.data 0+ (|\.data)
+0+1098 l d \.sbss 0+ (|\.sbss)
+0+1098 l d \.bss 0+ (|\.bss)
+0+80000 l d \.stack 0+ (|\.stack)
+0+ l d \*ABS\* 0+ (|\.shstrtab)
+0+ l d \*ABS\* 0+ (|\.symtab)
+0+ l d \*ABS\* 0+ (|\.strtab)
0+1004 l \.text 0+ next
0+100c l \.rodata 0+ here
0+1098 g \.dtors 0+ ___dtors
diff --git a/ld/testsuite/ld-sh/sh64/mix1.xd b/ld/testsuite/ld-sh/sh64/mix1.xd
index 005e161a64..ea17531e9f 100644
--- a/ld/testsuite/ld-sh/sh64/mix1.xd
+++ b/ld/testsuite/ld-sh/sh64/mix1.xd
@@ -31,17 +31,17 @@ Idx Name Size VMA LMA File off Algn
7 \.cranges 00000014 0+ 0+ 00000184 2\*\*0
CONTENTS, DEBUGGING, SORT_ENTRIES
SYMBOL TABLE:
-0+1000 l d \.text 0+
-0+10c8 l d \.ctors 0+
-0+10c8 l d \.dtors 0+
-0+10c8 l d \.data 0+
-0+10d8 l d \.sbss 0+
-0+10d8 l d \.bss 0+
-0+80000 l d \.stack 0+
-0+ l d \.cranges 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
+0+1000 l d \.text 0+ (|\.text)
+0+10c8 l d \.ctors 0+ (|\.ctors)
+0+10c8 l d \.dtors 0+ (|\.dtors)
+0+10c8 l d \.data 0+ (|\.data)
+0+10d8 l d \.sbss 0+ (|\.sbss)
+0+10d8 l d \.bss 0+ (|\.bss)
+0+80000 l d \.stack 0+ (|\.stack)
+0+ l d \.cranges 0+ (|\.cranges)
+0+ l d \*ABS\* 0+ (|\.shstrtab)
+0+ l d \*ABS\* 0+ (|\.symtab)
+0+ l d \*ABS\* 0+ (|\.strtab)
0+1008 l \.text 0+ forw
0+1004 l \.text 0+ start2
0+1030 l \.text 0+ 0x04 mediacode2
diff --git a/ld/testsuite/ld-sh/sh64/mix2.xd b/ld/testsuite/ld-sh/sh64/mix2.xd
index 28234f9394..ec76cc8222 100644
--- a/ld/testsuite/ld-sh/sh64/mix2.xd
+++ b/ld/testsuite/ld-sh/sh64/mix2.xd
@@ -34,18 +34,18 @@ Idx Name Size VMA LMA File off Algn
8 \.cranges 00000014 0+ 0+ 00000184 2\*\*0
CONTENTS, DEBUGGING, SORT_ENTRIES
SYMBOL TABLE:
-0+1000 l d \.text 0+
-0+1034 l d \.rodata 0+
-0+10c8 l d \.ctors 0+
-0+10c8 l d \.dtors 0+
-0+10c8 l d \.data 0+
-0+10d8 l d \.sbss 0+
-0+10d8 l d \.bss 0+
-0+80000 l d \.stack 0+
-0+ l d \.cranges 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
+0+1000 l d \.text 0+ (|\.text)
+0+1034 l d \.rodata 0+ (|\.rodata)
+0+10c8 l d \.ctors 0+ (|\.ctors)
+0+10c8 l d \.dtors 0+ (|\.dtors)
+0+10c8 l d \.data 0+ (|\.data)
+0+10d8 l d \.sbss 0+ (|\.sbss)
+0+10d8 l d \.bss 0+ (|\.bss)
+0+80000 l d \.stack 0+ (|\.stack)
+0+ l d \.cranges 0+ (|\.cranges)
+0+ l d \*ABS\* 0+ (|\.shstrtab)
+0+ l d \*ABS\* 0+ (|\.symtab)
+0+ l d \*ABS\* 0+ (|\.strtab)
0+1020 l \.text 0+ locallabel
0+1040 g \.rodata 0+ compactlabel4
0+101c g \.text 0+ 0x04 medialabel2
diff --git a/ld/testsuite/ld-sh/sh64/rel32.xd b/ld/testsuite/ld-sh/sh64/rel32.xd
index 61c2f3927c..d49b21f6a1 100644
--- a/ld/testsuite/ld-sh/sh64/rel32.xd
+++ b/ld/testsuite/ld-sh/sh64/rel32.xd
@@ -16,15 +16,15 @@ Idx Name Size VMA LMA File off Algn
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+
+0+ l d \.text 0+ (|.text)
+0+ l d \*ABS\* 0+ (|.rela.text)
+0+ l d \.data 0+ (|.data)
+0+ l d \*ABS\* 0+ (|.rela.data)
+0+ l d \.bss 0+ (|.bss)
+0+ l d \.stack 0+ (|.stack)
+0+ l d \*ABS\* 0+ (|.shstrtab)
+0+ l d \*ABS\* 0+ (|.symtab)
+0+ l d \*ABS\* 0+ (|.strtab)
0+ \*UND\* 0+ unresolved5
0+c g \.text 0+ 0x04 file1text2
0+24 g \.text 0+ 0x04 file2text1
diff --git a/ld/testsuite/ld-sh/sh64/rel64.xd b/ld/testsuite/ld-sh/sh64/rel64.xd
index c1842cc91d..86791c9498 100644
--- a/ld/testsuite/ld-sh/sh64/rel64.xd
+++ b/ld/testsuite/ld-sh/sh64/rel64.xd
@@ -16,15 +16,15 @@ Idx Name Size VMA LMA File off Algn
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+
+0+ l d \.text 0+ (|.text)
+0+ l d \*ABS\* 0+ (|.rela.text)
+0+ l d \.data 0+ (|.data)
+0+ l d \*ABS\* 0+ (|.rela.data)
+0+ l d \.bss 0+ (|.bss)
+0+ l d \.stack 0+ (|.stack)
+0+ l d \*ABS\* 0+ (|.shstrtab)
+0+ l d \*ABS\* 0+ (|.symtab)
+0+ l d \*ABS\* 0+ (|.strtab)
0+ \*UND\* 0+ unresolved5
0+c g \.text 0+ 0x04 file1text2
0+24 g \.text 0+ 0x04 file2text1
diff --git a/ld/testsuite/ld-sh/sh64/shdl32.xd b/ld/testsuite/ld-sh/sh64/shdl32.xd
index 0e46444c2d..84dabc50d5 100644
--- a/ld/testsuite/ld-sh/sh64/shdl32.xd
+++ b/ld/testsuite/ld-sh/sh64/shdl32.xd
@@ -31,17 +31,17 @@ Idx Name Size VMA LMA File off Algn
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+
-0+13c8 l d \.ctors 0+
-0+13c8 l d \.dtors 0+
-0+13c8 l d \.data 0+
-0+1560 l d \.sbss 0+
-0+1560 l d \.bss 0+
-0+80000 l d \.stack 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
+0+1000 l d \.text 0+ (|\.text)
+0+1204 l d \.rodata 0+ (|\.rodata)
+0+13c8 l d \.ctors 0+ (|\.ctors)
+0+13c8 l d \.dtors 0+ (|\.dtors)
+0+13c8 l d \.data 0+ (|\.data)
+0+1560 l d \.sbss 0+ (|\.sbss)
+0+1560 l d \.bss 0+ (|\.bss)
+0+80000 l d \.stack 0+ (|\.stack)
+0+ l d \*ABS\* 0+ (|\.shstrtab)
+0+ l d \*ABS\* 0+ (|\.symtab)
+0+ l d \*ABS\* 0+ (|\.strtab)
0+1150 l \.text 0+ 0x04 part2
0+13f8 g \.data 0+ dfoo_otherboth2
0+1178 g \.text 0+ 0x04 bar_otherwithout
diff --git a/ld/testsuite/ld-sh/sh64/shdl64.xd b/ld/testsuite/ld-sh/sh64/shdl64.xd
index 48826c3edc..71ab0d31e3 100644
--- a/ld/testsuite/ld-sh/sh64/shdl64.xd
+++ b/ld/testsuite/ld-sh/sh64/shdl64.xd
@@ -31,17 +31,17 @@ Idx Name Size VMA LMA File off Algn
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+
-0+13c8 l d \.ctors 0+
-0+13c8 l d \.dtors 0+
-0+13c8 l d \.data 0+
-0+1560 l d \.sbss 0+
-0+1560 l d \.bss 0+
-0+80000 l d \.stack 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
-0+ l d \*ABS\* 0+
+0+1000 l d \.text 0+ (|\.text)
+0+1204 l d \.rodata 0+ (|\.rodata)
+0+13c8 l d \.ctors 0+ (|\.ctors)
+0+13c8 l d \.dtors 0+ (|\.dtors)
+0+13c8 l d \.data 0+ (|\.data)
+0+1560 l d \.sbss 0+ (|\.sbss)
+0+1560 l d \.bss 0+ (|\.bss)
+0+80000 l d \.stack 0+ (|\.stack)
+0+ l d \*ABS\* 0+ (|\.shstrtab)
+0+ l d \*ABS\* 0+ (|\.symtab)
+0+ l d \*ABS\* 0+ (|\.strtab)
0+1150 l \.text 0+ 0x04 part2
0+13f8 g \.data 0+ dfoo_otherboth2
0+1178 g \.text 0+ 0x04 bar_otherwithout