aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/sh64
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-06-06 10:50:18 +0000
committerAlan Modra <amodra@gmail.com>2012-06-06 10:50:18 +0000
commitffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5 (patch)
treefaa1a304878cc3a84bbb519e71b76a371975937e /ld/testsuite/ld-sh/sh64
parent7b2fe205fd75672d5925fe63f3a0896fa3168aaf (diff)
downloadfsf-binutils-gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.zip
fsf-binutils-gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.tar.gz
fsf-binutils-gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.tar.bz2
bfd/
* elflink.c (elf_link_input_bfd): Provide a file symbol for each input file with local syms, if the input lacks such. (bfd_elf_final_link): Add a file symbol to mark end of locals for which we can associate with input files. (struct elf_final_link_info): Add filesym_count field. (struct elf_outext_info): Add need_second_pass and second_pass. (elf_link_output_extsym): Detect symbols defined in the output file, emit them on second pass over locals. ld/testsuite/ Update to suit added STT_FILE symbols.
Diffstat (limited to 'ld/testsuite/ld-sh/sh64')
-rw-r--r--ld/testsuite/ld-sh/sh64/abi32.xd3
-rw-r--r--ld/testsuite/ld-sh/sh64/abi64.xd3
-rw-r--r--ld/testsuite/ld-sh/sh64/cmpct1.xd2
-rw-r--r--ld/testsuite/ld-sh/sh64/crange1.rd2
-rw-r--r--ld/testsuite/ld-sh/sh64/crange2.rd3
-rw-r--r--ld/testsuite/ld-sh/sh64/crange3-cmpct.rd4
-rw-r--r--ld/testsuite/ld-sh/sh64/crange3-media.rd4
-rw-r--r--ld/testsuite/ld-sh/sh64/crange3.rd4
-rw-r--r--ld/testsuite/ld-sh/sh64/crangerel1.rd26
-rw-r--r--ld/testsuite/ld-sh/sh64/crangerel2.rd37
-rw-r--r--ld/testsuite/ld-sh/sh64/mix1.xd2
-rw-r--r--ld/testsuite/ld-sh/sh64/mix2.xd2
-rw-r--r--ld/testsuite/ld-sh/sh64/shdl32.xd2
-rw-r--r--ld/testsuite/ld-sh/sh64/shdl64.xd2
14 files changed, 68 insertions, 28 deletions
diff --git a/ld/testsuite/ld-sh/sh64/abi32.xd b/ld/testsuite/ld-sh/sh64/abi32.xd
index 94b1014..34bf961 100644
--- a/ld/testsuite/ld-sh/sh64/abi32.xd
+++ b/ld/testsuite/ld-sh/sh64/abi32.xd
@@ -25,9 +25,12 @@ SYMBOL TABLE:
0+1000 l d \.text 0+ (|\.text)
0+10e8 l d \.data 0+ (|\.data)
0+80000 l d \.stack 0+ (|\.stack)
+0+ l df \*ABS\* 0+ .*
0+10f4 l \.data 0+ foobar
+0+ l df \*ABS\* 0+ .*
0+10fc l \.data 0+ foobar2
0+1060 l \.text 0+ 0x04 plugh
+0+ l df \*ABS\* 0+ .*
0+10f8 g \.data 0+ foobar
0+10e8 g \.data 0+ baz
0+10e8 g .* 0+ ___dtors
diff --git a/ld/testsuite/ld-sh/sh64/abi64.xd b/ld/testsuite/ld-sh/sh64/abi64.xd
index 9af5b47..12fdc5a 100644
--- a/ld/testsuite/ld-sh/sh64/abi64.xd
+++ b/ld/testsuite/ld-sh/sh64/abi64.xd
@@ -24,9 +24,12 @@ SYMBOL TABLE:
0000000000001000 l d \.text 0000000000000000 (|\.text)
0000000000001130 l d \.data 0000000000000000 (|\.data)
0000000000080000 l d \.stack 0000000000000000 (|\.stack)
+0000000000000000 l df \*ABS\* 0000000000000000 .*
000000000000113c l \.data 0000000000000000 foobar
+0000000000000000 l df \*ABS\* 0000000000000000 .*
0000000000001144 l \.data 0000000000000000 foobar2
00000000000010a8 l \.text 0000000000000000 0x04 plugh
+0000000000000000 l df \*ABS\* 0000000000000000 .*
0000000000001140 g \.data 0000000000000000 foobar
0000000000001130 g \.data 0000000000000000 baz
0000000000001130 g .* 0000000000000000 ___dtors
diff --git a/ld/testsuite/ld-sh/sh64/cmpct1.xd b/ld/testsuite/ld-sh/sh64/cmpct1.xd
index 41f898e..317d044 100644
--- a/ld/testsuite/ld-sh/sh64/cmpct1.xd
+++ b/ld/testsuite/ld-sh/sh64/cmpct1.xd
@@ -23,8 +23,10 @@ SYMBOL TABLE:
0+1000 l d \.text 0+ (|\.text)
0+1008 l d \.rodata 0+ (|\.rodata)
0+80000 l d \.stack 0+ (|\.stack)
+0+ l df \*ABS\* 0+ .*
0+1004 l \.text 0+ next
0+100c l \.rodata 0+ here
+0+ l df \*ABS\* 0+ .*
0+1098 g .* 0+ ___dtors
0+1098 g \*ABS\* 0+ __bss_start
0+1098 g .* 0+ ___ctors_end
diff --git a/ld/testsuite/ld-sh/sh64/crange1.rd b/ld/testsuite/ld-sh/sh64/crange1.rd
index 2d2e69c..2546130 100644
--- a/ld/testsuite/ld-sh/sh64/crange1.rd
+++ b/ld/testsuite/ld-sh/sh64/crange1.rd
@@ -22,7 +22,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2
.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3
.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4
+.* FILE +LOCAL +DEFAULT +ABS .*
.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
+.* FILE +LOCAL +DEFAULT +ABS .*
.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors
.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end
diff --git a/ld/testsuite/ld-sh/sh64/crange2.rd b/ld/testsuite/ld-sh/sh64/crange2.rd
index 3ee4dbb..5bff4c3 100644
--- a/ld/testsuite/ld-sh/sh64/crange2.rd
+++ b/ld/testsuite/ld-sh/sh64/crange2.rd
@@ -22,11 +22,14 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2
.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3
.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4
+.* FILE +LOCAL +DEFAULT +ABS .*
.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
+.* FILE +LOCAL +DEFAULT +ABS .*
.*: 0000101c +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec1
.*: 0000102c +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec2
.*: 00001040 +0 +NOTYPE +LOCAL +DEFAULT +2 sec3
.*: 00001048 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4
+.* FILE +LOCAL +DEFAULT +ABS .*
.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors
.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end
diff --git a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd
index 21f5ec2..65b3dfa 100644
--- a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd
+++ b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd
@@ -39,9 +39,13 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2
.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3
.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010a4 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010bc +0 +NOTYPE +LOCAL +DEFAULT +2 sec3
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +2 diversion
.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors
.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
diff --git a/ld/testsuite/ld-sh/sh64/crange3-media.rd b/ld/testsuite/ld-sh/sh64/crange3-media.rd
index 18ce30e..e443ad9 100644
--- a/ld/testsuite/ld-sh/sh64/crange3-media.rd
+++ b/ld/testsuite/ld-sh/sh64/crange3-media.rd
@@ -39,9 +39,13 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2
.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3
.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010a4 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010bc +0 +NOTYPE +LOCAL +DEFAULT +2 sec3
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +2 diversion
.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors
.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
diff --git a/ld/testsuite/ld-sh/sh64/crange3.rd b/ld/testsuite/ld-sh/sh64/crange3.rd
index 1a0b7a5..58f511c 100644
--- a/ld/testsuite/ld-sh/sh64/crange3.rd
+++ b/ld/testsuite/ld-sh/sh64/crange3.rd
@@ -20,9 +20,13 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2
.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3
.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010a4 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010bc +0 +NOTYPE +LOCAL +DEFAULT +2 sec3
+.*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
.*: 000010c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +2 diversion
.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors
.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
diff --git a/ld/testsuite/ld-sh/sh64/crangerel1.rd b/ld/testsuite/ld-sh/sh64/crangerel1.rd
index 0100b10..8dd642e 100644
--- a/ld/testsuite/ld-sh/sh64/crangerel1.rd
+++ b/ld/testsuite/ld-sh/sh64/crangerel1.rd
@@ -11,8 +11,8 @@ Section Headers:
+\[ 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 000090 10 +10 +8 +4
- +\[10\] \.strtab +STRTAB +00000000 000328 000013 00 +0 +0 +1
+ +\[ 9\] \.symtab +SYMTAB .*
+ +\[10\] \.strtab +STRTAB .*
Key to Flags:
#...
@@ -22,17 +22,19 @@ 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 9 entries:
+Symbol table '\.symtab' contains [0-9]+ entries:
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
- +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1
- +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +2
- +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +3
- +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +4
- +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +5
- +6: 00000000 +0 +SECTION +LOCAL +DEFAULT +6
- +7: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
- +8: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2
+.* 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +1
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +2
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +3
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +4
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +5
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +6
+.* 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
+.* 00000000 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
+.* 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
+.* 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 4f8a9cd..5b3227b 100644
--- a/ld/testsuite/ld-sh/sh64/crangerel2.rd
+++ b/ld/testsuite/ld-sh/sh64/crangerel2.rd
@@ -11,8 +11,8 @@ Section Headers:
+\[ 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 0000d0 10 +10 +12 +4
- +\[10\] \.strtab +STRTAB +00000000 000404 000027 00 +0 +0 +1
+ +\[ 9\] \.symtab +SYMTAB +00000000 [0-9a-f]+ [0-9a-f]+ 10 +10 +[0-9]+ +4
+ +\[10\] \.strtab +STRTAB +00000000 [0-9a-f]+ [0-9a-f]+ 00 +0 +0 +1
Key to Flags:
#...
@@ -26,21 +26,26 @@ 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 13 entries:
+Symbol table '\.symtab' contains [0-9]+ entries:
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
- +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1
- +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +2
- +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +3
- +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +4
- +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +5
- +6: 00000000 +0 +SECTION +LOCAL +DEFAULT +6
- +7: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
- +8: 00000018 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec1
- +9: 00000028 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec2
- +10: 0000003c +0 +NOTYPE +LOCAL +DEFAULT +2 sec3
- +11: 00000044 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4
- +12: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2
+.* 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +1
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +2
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +3
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +4
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +5
+.* 00000000 +0 +SECTION +LOCAL +DEFAULT +6
+.* 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
+.* 00000000 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
+.* 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
+.* 00000018 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec1
+.* 00000028 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec2
+.* 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
+.* 0000003c +0 +NOTYPE +LOCAL +DEFAULT +2 sec3
+.* 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
+.* 00000044 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4
+.* 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .*
+.* 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/mix1.xd b/ld/testsuite/ld-sh/sh64/mix1.xd
index de72ce0..8015f23 100644
--- a/ld/testsuite/ld-sh/sh64/mix1.xd
+++ b/ld/testsuite/ld-sh/sh64/mix1.xd
@@ -27,10 +27,12 @@ SYMBOL TABLE:
0+10c8 l d \.data 0+ (|\.data)
0+80000 l d \.stack 0+ (|\.stack)
0+ l d \.cranges 0+ (|\.cranges)
+0+ l df \*ABS\* 0+ .*
0+1008 l \.text 0+ forw
0+1004 l \.text 0+ start2
0+1030 l \.text 0+ 0x04 mediacode2
0+1018 l \.text 0+ 0x04 mediacode
+0+ l df \*ABS\* 0+ .*
0+10c8 g .* 0+ ___dtors
0+10d8 g \*ABS\* 0+ __bss_start
0+10c8 g .* 0+ ___ctors_end
diff --git a/ld/testsuite/ld-sh/sh64/mix2.xd b/ld/testsuite/ld-sh/sh64/mix2.xd
index 5c72763..0bece09 100644
--- a/ld/testsuite/ld-sh/sh64/mix2.xd
+++ b/ld/testsuite/ld-sh/sh64/mix2.xd
@@ -31,7 +31,9 @@ SYMBOL TABLE:
0+10c8 l d \.data 0+ (|\.data)
0+80000 l d \.stack 0+ (|\.stack)
0+ l d \.cranges 0+ (|\.cranges)
+0+ l df \*ABS\* 0+ .*
0+1020 l \.text 0+ locallabel
+0+ l df \*ABS\* 0+ .*
0+1040 g \.rodata 0+ compactlabel4
0+101c g \.text 0+ 0x04 medialabel2
0+1038 g \.rodata 0+ medialabel3
diff --git a/ld/testsuite/ld-sh/sh64/shdl32.xd b/ld/testsuite/ld-sh/sh64/shdl32.xd
index 56773e3..94a2c2b 100644
--- a/ld/testsuite/ld-sh/sh64/shdl32.xd
+++ b/ld/testsuite/ld-sh/sh64/shdl32.xd
@@ -27,7 +27,9 @@ SYMBOL TABLE:
0+1204 l d \.rodata 0+ (|\.rodata)
0+13c8 l d \.data 0+ (|\.data)
0+80000 l d \.stack 0+ (|\.stack)
+0+ l df \*ABS\* 0+ .*
0+1150 l \.text 0+ 0x04 part2
+0+ l df \*ABS\* 0+ .*
0+13f8 g \.data 0+ dfoo_otherboth2
0+1178 g \.text 0+ 0x04 bar_otherwithout
0+11b4 g \.text 0+ 0x04 bazwithout
diff --git a/ld/testsuite/ld-sh/sh64/shdl64.xd b/ld/testsuite/ld-sh/sh64/shdl64.xd
index 142ca96..aa97cb7 100644
--- a/ld/testsuite/ld-sh/sh64/shdl64.xd
+++ b/ld/testsuite/ld-sh/sh64/shdl64.xd
@@ -27,7 +27,9 @@ SYMBOL TABLE:
0+1204 l d \.rodata 0+ (|\.rodata)
0+13c8 l d \.data 0+ (|\.data)
0+80000 l d \.stack 0+ (|\.stack)
+0+ l df \*ABS\* 0+ .*
0+1150 l \.text 0+ 0x04 part2
+0+ l df \*ABS\* 0+ .*
0+13f8 g \.data 0+ dfoo_otherboth2
0+1178 g \.text 0+ 0x04 bar_otherwithout
0+11b4 g \.text 0+ 0x04 bazwithout