diff options
author | Alan Modra <amodra@gmail.com> | 2006-06-02 00:32:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-06-02 00:32:00 +0000 |
commit | f0b5bb34d5c2c7023c5e54789743e398ab5669c0 (patch) | |
tree | ce9ee9b9bbfde2a148a709a914490b1021eda21d /ld/testsuite/ld-mmix | |
parent | 57078fa5d1382256f1e4bb46f609c448569f94a3 (diff) | |
download | gdb-f0b5bb34d5c2c7023c5e54789743e398ab5669c0.zip gdb-f0b5bb34d5c2c7023c5e54789743e398ab5669c0.tar.gz gdb-f0b5bb34d5c2c7023c5e54789743e398ab5669c0.tar.bz2 |
bfd/
PR ld/2723
* elflink.c (bfd_elf_final_link): Don't output section symbols
for special ELF sections.
ld/testsuite/
Update for removal of some section syms.
Diffstat (limited to 'ld/testsuite/ld-mmix')
40 files changed, 48 insertions, 168 deletions
diff --git a/ld/testsuite/ld-mmix/bpo-1.d b/ld/testsuite/ld-mmix/bpo-1.d index 5b07e5f..97bc33d 100644 --- a/ld/testsuite/ld-mmix/bpo-1.d +++ b/ld/testsuite/ld-mmix/bpo-1.d @@ -11,9 +11,6 @@ SYMBOL TABLE: 0000000000000000 l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-10.d b/ld/testsuite/ld-mmix/bpo-10.d index dfd9858..90908cb 100644 --- a/ld/testsuite/ld-mmix/bpo-10.d +++ b/ld/testsuite/ld-mmix/bpo-10.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.init 0+ (|\.init) 0+7f8 l +d \.MMIX.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ l \.init 0+ _start 2000000000000000 g \*ABS\* 0+ __bss_start 2000000000000000 g \*ABS\* 0+ _edata diff --git a/ld/testsuite/ld-mmix/bpo-11.d b/ld/testsuite/ld-mmix/bpo-11.d index 1adeb1d..5925cff 100644 --- a/ld/testsuite/ld-mmix/bpo-11.d +++ b/ld/testsuite/ld-mmix/bpo-11.d @@ -14,9 +14,6 @@ SYMBOL TABLE: 0+ l d \.init 0+ (|\.init) 0+10 l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ l \.init 0+ _start 0+14 g \.text 0+ x 0+10 g \.text 0+ x2 diff --git a/ld/testsuite/ld-mmix/bpo-14.d b/ld/testsuite/ld-mmix/bpo-14.d index e57412c..e19e4a8 100644 --- a/ld/testsuite/ld-mmix/bpo-14.d +++ b/ld/testsuite/ld-mmix/bpo-14.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ g \.text 0+ _start 0+8 g \.text 0+ areg #... diff --git a/ld/testsuite/ld-mmix/bpo-16.d b/ld/testsuite/ld-mmix/bpo-16.d index a4022e1..d7e372c 100644 --- a/ld/testsuite/ld-mmix/bpo-16.d +++ b/ld/testsuite/ld-mmix/bpo-16.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ g \.text 0+ _start 0+c g \.text 0+ areg #... diff --git a/ld/testsuite/ld-mmix/bpo-17.d b/ld/testsuite/ld-mmix/bpo-17.d index 6c8fe34..f70b852 100644 --- a/ld/testsuite/ld-mmix/bpo-17.d +++ b/ld/testsuite/ld-mmix/bpo-17.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ g \.text 0+ _start 0+10 g \.text 0+ areg #... diff --git a/ld/testsuite/ld-mmix/bpo-18.d b/ld/testsuite/ld-mmix/bpo-18.d index 96fda3b..3d1d2f1 100644 --- a/ld/testsuite/ld-mmix/bpo-18.d +++ b/ld/testsuite/ld-mmix/bpo-18.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+100 l d \.text 0+ (|\.text) 4000000000001060 l d \.text\.away 0+ (|\.text\.away) 0+7e0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 4000000000001064 l \.text\.away 0+ x 0+100 g \.text 0+ x 4000000000001060 g \.text\.away 0+ Main diff --git a/ld/testsuite/ld-mmix/bpo-19.d b/ld/testsuite/ld-mmix/bpo-19.d index 870dba2..d8ee554 100644 --- a/ld/testsuite/ld-mmix/bpo-19.d +++ b/ld/testsuite/ld-mmix/bpo-19.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+100 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) #... 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-2.d b/ld/testsuite/ld-mmix/bpo-2.d index 4781175..7206cab 100644 --- a/ld/testsuite/ld-mmix/bpo-2.d +++ b/ld/testsuite/ld-mmix/bpo-2.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ _start 0+fe g \*REG\* 0+ areg diff --git a/ld/testsuite/ld-mmix/bpo-22.d b/ld/testsuite/ld-mmix/bpo-22.d index 15aea85..c6a1314 100644 --- a/ld/testsuite/ld-mmix/bpo-22.d +++ b/ld/testsuite/ld-mmix/bpo-22.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0000000000000000 l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ Main 0+ g \.text 0+ _start diff --git a/ld/testsuite/ld-mmix/bpo-3.d b/ld/testsuite/ld-mmix/bpo-3.d index 00fb7a9..e1435ef 100644 --- a/ld/testsuite/ld-mmix/bpo-3.d +++ b/ld/testsuite/ld-mmix/bpo-3.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-4.d b/ld/testsuite/ld-mmix/bpo-4.d index 1e7c903..372e7e6 100644 --- a/ld/testsuite/ld-mmix/bpo-4.d +++ b/ld/testsuite/ld-mmix/bpo-4.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7e0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+8 l \.text 0+ x 0+ g \.text 0+ _start 0+fe g \*REG\* 0+ areg diff --git a/ld/testsuite/ld-mmix/bpo-5.d b/ld/testsuite/ld-mmix/bpo-5.d index 0460028..a1a192d 100644 --- a/ld/testsuite/ld-mmix/bpo-5.d +++ b/ld/testsuite/ld-mmix/bpo-5.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-6.d b/ld/testsuite/ld-mmix/bpo-6.d index 39c3a91..a5978c9 100644 --- a/ld/testsuite/ld-mmix/bpo-6.d +++ b/ld/testsuite/ld-mmix/bpo-6.d @@ -11,9 +11,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+100 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) #... 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-9.d b/ld/testsuite/ld-mmix/bpo-9.d index f230b19..16d0017 100644 --- a/ld/testsuite/ld-mmix/bpo-9.d +++ b/ld/testsuite/ld-mmix/bpo-9.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.init 0+ (|\.init) 0+10 l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ l \.init 0+ _start 0+14 g \.text 0+ x 0+10 g \.text 0+ x2 diff --git a/ld/testsuite/ld-mmix/bspec1.d b/ld/testsuite/ld-mmix/bspec1.d index ce83480..79d53d4 100644 --- a/ld/testsuite/ld-mmix/bspec1.d +++ b/ld/testsuite/ld-mmix/bspec1.d @@ -17,8 +17,8 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+80 0+33 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+238 - 0+120 0+18 5 6 8 - \[ 5\] \.strtab STRTAB 0+ 0+358 + 0+d8 0+18 5 3 8 + \[ 5\] \.strtab STRTAB 0+ 0+310 0+2d 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) @@ -27,16 +27,13 @@ Key to Flags: There are no relocations in this file\. -Symbol table '\.symtab' contains 12 entries: +Symbol table '\.symtab' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+ 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+ 0 FUNC GLOBAL DEFAULT 1 Main - 7: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+ 0 FUNC GLOBAL DEFAULT 1 Main + 4: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/bspec2.d b/ld/testsuite/ld-mmix/bspec2.d index b5e683b..98296e7 100644 --- a/ld/testsuite/ld-mmix/bspec2.d +++ b/ld/testsuite/ld-mmix/bspec2.d @@ -22,8 +22,8 @@ Section Headers: \[ 4\] \.shstrtab STRTAB 0+ 0+88 0+45 0+ 0 0 1 \[ 5\] \.symtab SYMTAB 0+ 0+290 - 0+150 0+18 6 7 8 - \[ 6\] \.strtab STRTAB 0+ 0+3e0 + 0+108 0+18 6 4 8 + \[ 6\] \.strtab STRTAB 0+ 0+398 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) @@ -32,18 +32,15 @@ Key to Flags: There are no relocations in this file\. -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+ 0 SECTION LOCAL DEFAULT 2 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+ 0 SECTION LOCAL DEFAULT 6 - 7: 0+ 0 FUNC GLOBAL DEFAULT 1 Main - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 9: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start + 4: 0+ 0 FUNC GLOBAL DEFAULT 1 Main + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 + 6: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/greg-1.d b/ld/testsuite/ld-mmix/greg-1.d index b5a42ca..d64ce0a 100644 --- a/ld/testsuite/ld-mmix/greg-1.d +++ b/ld/testsuite/ld-mmix/greg-1.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+c g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-19.d b/ld/testsuite/ld-mmix/greg-19.d index b4a9025..4468161 100644 --- a/ld/testsuite/ld-mmix/greg-19.d +++ b/ld/testsuite/ld-mmix/greg-19.d @@ -9,9 +9,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ g F \.text 0+ Main 0+ g \.text 0+ _start 0+fe g \*REG\* 0+ areg diff --git a/ld/testsuite/ld-mmix/greg-2.d b/ld/testsuite/ld-mmix/greg-2.d index baf3647..ab8fbb2 100644 --- a/ld/testsuite/ld-mmix/greg-2.d +++ b/ld/testsuite/ld-mmix/greg-2.d @@ -16,9 +16,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7e0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+fe g \*REG\* 0+ b 0+20 g \.text 0+ _start 0+fc g \*REG\* 0+ areg diff --git a/ld/testsuite/ld-mmix/greg-3.d b/ld/testsuite/ld-mmix/greg-3.d index 0e55087..25189c2 100644 --- a/ld/testsuite/ld-mmix/greg-3.d +++ b/ld/testsuite/ld-mmix/greg-3.d @@ -16,9 +16,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+10 g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-4.d b/ld/testsuite/ld-mmix/greg-4.d index 67715ed..8b882c1 100644 --- a/ld/testsuite/ld-mmix/greg-4.d +++ b/ld/testsuite/ld-mmix/greg-4.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+18 g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-5.d b/ld/testsuite/ld-mmix/greg-5.d index 81f4fa5..67e50d2 100644 --- a/ld/testsuite/ld-mmix/greg-5.d +++ b/ld/testsuite/ld-mmix/greg-5.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+14 g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-5s.d b/ld/testsuite/ld-mmix/greg-5s.d index 30d3b04..84f5951 100644 --- a/ld/testsuite/ld-mmix/greg-5s.d +++ b/ld/testsuite/ld-mmix/greg-5s.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-6.d b/ld/testsuite/ld-mmix/greg-6.d index 2cf163e..e4df905 100644 --- a/ld/testsuite/ld-mmix/greg-6.d +++ b/ld/testsuite/ld-mmix/greg-6.d @@ -41,9 +41,6 @@ SYMBOL TABLE: 0+0 l d \.text 0+ (|\.text) 0+100 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+20 l \*REG\* 0+ P 0+21 l \*REG\* 0+ O 0+22 l \*REG\* 0+ N diff --git a/ld/testsuite/ld-mmix/greg-7.d b/ld/testsuite/ld-mmix/greg-7.d index 13d0aa2..a5d1692 100644 --- a/ld/testsuite/ld-mmix/greg-7.d +++ b/ld/testsuite/ld-mmix/greg-7.d @@ -41,9 +41,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+100 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+21 l \*REG\* 0+ P 0+22 l \*REG\* 0+ O 0+23 l \*REG\* 0+ N diff --git a/ld/testsuite/ld-mmix/loc1.d b/ld/testsuite/ld-mmix/loc1.d index 7ecf491..cac2689 100644 --- a/ld/testsuite/ld-mmix/loc1.d +++ b/ld/testsuite/ld-mmix/loc1.d @@ -8,9 +8,6 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1000 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text 2000000000000000 g \*ABS\* 0+ __bss_start diff --git a/ld/testsuite/ld-mmix/loc2.d b/ld/testsuite/ld-mmix/loc2.d index c4e8cc9..7d44c22 100644 --- a/ld/testsuite/ld-mmix/loc2.d +++ b/ld/testsuite/ld-mmix/loc2.d @@ -9,9 +9,6 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1004 g \.text 0+ _start 0+1000 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text diff --git a/ld/testsuite/ld-mmix/loc3.d b/ld/testsuite/ld-mmix/loc3.d index 7969d00..ff0fe8a 100644 --- a/ld/testsuite/ld-mmix/loc3.d +++ b/ld/testsuite/ld-mmix/loc3.d @@ -9,9 +9,6 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1000 g \.text 0+ _start 0+1004 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text diff --git a/ld/testsuite/ld-mmix/loc4.d b/ld/testsuite/ld-mmix/loc4.d index 15333de..34428a9 100644 --- a/ld/testsuite/ld-mmix/loc4.d +++ b/ld/testsuite/ld-mmix/loc4.d @@ -11,9 +11,6 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) 2000000000000000 l d \.data 0+ (|\.data) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 2000000000000000 l \.data 0+ xx 0+1004 g F \.text 0+ Main 2000000000000000 g \*ABS\* 0+ __\.MMIX\.start\.\.data diff --git a/ld/testsuite/ld-mmix/loc6.d b/ld/testsuite/ld-mmix/loc6.d index 030ba6c..425edae 100644 --- a/ld/testsuite/ld-mmix/loc6.d +++ b/ld/testsuite/ld-mmix/loc6.d @@ -10,9 +10,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 2000000000000200 l d \.data 0+ (|\.data) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 2000000000000200 g \.data 0+ dloc1 2000000000000200 g \*ABS\* 0+ __\.MMIX\.start\.\.data 0+ g \.text 0+ _start diff --git a/ld/testsuite/ld-mmix/local1.d b/ld/testsuite/ld-mmix/local1.d index 3e8ecaa..fc08da7 100644 --- a/ld/testsuite/ld-mmix/local1.d +++ b/ld/testsuite/ld-mmix/local1.d @@ -24,26 +24,23 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+90 0+34 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+150 0+18 5 8 8 - \[ 5\] \.strtab STRTAB 0+ 0+398 + 0+108 0+18 5 5 8 + \[ 5\] \.strtab STRTAB 0+ 0+350 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 7: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 - 9: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 + 6: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local3.d b/ld/testsuite/ld-mmix/local3.d index db54591..62db6c3 100644 --- a/ld/testsuite/ld-mmix/local3.d +++ b/ld/testsuite/ld-mmix/local3.d @@ -22,26 +22,23 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+90 0+34 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+150 0+18 5 8 8 - \[ 5\] \.strtab STRTAB 0+ 0+398 + 0+108 0+18 5 5 8 + \[ 5\] \.strtab STRTAB 0+ 0+350 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 7: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 9: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 + 6: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local5.d b/ld/testsuite/ld-mmix/local5.d index 37dc0f5..955c3fa 100644 --- a/ld/testsuite/ld-mmix/local5.d +++ b/ld/testsuite/ld-mmix/local5.d @@ -23,26 +23,23 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+94 0+34 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+150 0+18 5 8 8 - \[ 5\] \.strtab STRTAB 0+ 0+398 + 0+108 0+18 5 5 8 + \[ 5\] \.strtab STRTAB 0+ 0+350 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 7: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 - 9: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 + 6: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local7.d b/ld/testsuite/ld-mmix/local7.d index 2407fcd..0109d13 100644 --- a/ld/testsuite/ld-mmix/local7.d +++ b/ld/testsuite/ld-mmix/local7.d @@ -24,26 +24,23 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+94 0+34 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+150 0+18 5 8 8 - \[ 5\] \.strtab STRTAB 0+ 0+398 + 0+108 0+18 5 5 8 + \[ 5\] \.strtab STRTAB 0+ 0+350 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 7: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 9: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 + 6: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/locdo-1.d b/ld/testsuite/ld-mmix/locdo-1.d index 2e8409f..4a16735 100644 --- a/ld/testsuite/ld-mmix/locdo-1.d +++ b/ld/testsuite/ld-mmix/locdo-1.d @@ -8,9 +8,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 2000000000000008 l d \.data 0+ (|\.data) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 2000000000000008 g \*ABS\* 0+ __\.MMIX\.start\.\.data 2000000000000008 g \.data 0+ od 0+ g \.text 0+ _start diff --git a/ld/testsuite/ld-mmix/loct-1.d b/ld/testsuite/ld-mmix/loct-1.d index 96b6a14..24f4112 100644 --- a/ld/testsuite/ld-mmix/loct-1.d +++ b/ld/testsuite/ld-mmix/loct-1.d @@ -7,9 +7,6 @@ SYMBOL TABLE: 0+1004 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1004 l \.text 0+ t 0+100c g \.text 0+ _start 0+1004 g \*ABS\* 0+ __\.MMIX\.start\.\.text diff --git a/ld/testsuite/ld-mmix/locto-1.d b/ld/testsuite/ld-mmix/locto-1.d index 08e6652..5c5c391 100644 --- a/ld/testsuite/ld-mmix/locto-1.d +++ b/ld/testsuite/ld-mmix/locto-1.d @@ -7,9 +7,6 @@ SYMBOL TABLE: 0+1008 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1008 g \.text 0+ od 0+1010 g \.text 0+ _start 0+1008 g \*ABS\* 0+ __\.MMIX\.start\.\.text diff --git a/ld/testsuite/ld-mmix/start-1.d b/ld/testsuite/ld-mmix/start-1.d index 13fdbdc..37c23d6 100644 --- a/ld/testsuite/ld-mmix/start-1.d +++ b/ld/testsuite/ld-mmix/start-1.d @@ -6,9 +6,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 g \.text 0+ _start 2000000000000000 g \*ABS\* 0+ __bss_start 2000000000000000 g \*ABS\* 0+ _edata diff --git a/ld/testsuite/ld-mmix/undef-3.d b/ld/testsuite/ld-mmix/undef-3.d index a17b968..5b3ce98 100644 --- a/ld/testsuite/ld-mmix/undef-3.d +++ b/ld/testsuite/ld-mmix/undef-3.d @@ -14,24 +14,21 @@ Section Headers: \[ 2\] \.shstrtab STRTAB 0+ 0+7c 0+21 0+ 0 0 1 \[ 3\] \.symtab SYMTAB 0+ 0+1e0 - 0+108 0+18 4 5 8 - \[ 4\] \.strtab STRTAB 0+ 0+2e8 + 0+c0 0+18 4 2 8 + \[ 4\] \.strtab STRTAB 0+ 0+2a0 0+2f 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 11 entries: +Symbol table '\.symtab' contains 8 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+ 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 NOTYPE GLOBAL DEFAULT UND undefd - 6: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start - 7: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - 8: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _edata - 9: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _end - 10: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start\. + 2: 0+ 0 NOTYPE GLOBAL DEFAULT UND undefd + 3: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start + 4: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __bss_start + 5: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _edata + 6: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _end + 7: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start\. |