From c23487d4ef2e01c1b0ee95bae5a1602aaf03e82f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 5 Sep 2002 00:07:08 +0000 Subject: [PATCH] * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym. * ld-sh/sh64/crange3-cmpct.rd: Likewise. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. --- ld/testsuite/ChangeLog | 7 ++++++ ld/testsuite/ld-sh/sh64/cmpct1.xd | 1 - ld/testsuite/ld-sh/sh64/crange3-cmpct.rd | 29 ++++++++++++------------ ld/testsuite/ld-sh/sh64/crange3-media.rd | 29 ++++++++++++------------ ld/testsuite/ld-sh/sh64/crange3.rd | 29 ++++++++++++------------ 5 files changed, 49 insertions(+), 46 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index c7e70fbb0c3..094013c72c6 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-09-05 Alan Modra + + * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + 2002-08-31 Hans-Peter Nilsson * ld-mmix/bpo-10.d: Tweak for change in symbols handling. diff --git a/ld/testsuite/ld-sh/sh64/cmpct1.xd b/ld/testsuite/ld-sh/sh64/cmpct1.xd index 9c09c462231..aae01b19f2b 100644 --- a/ld/testsuite/ld-sh/sh64/cmpct1.xd +++ b/ld/testsuite/ld-sh/sh64/cmpct1.xd @@ -43,7 +43,6 @@ SYMBOL TABLE: 0+ l d \*ABS\* 0+ 0+1004 l \.text 0+ next 0+100c l \.rodata 0+ here -0+ l \*ABS\* 0+ \*ABS\* 0+1098 g \.dtors 0+ ___dtors 0+1098 g \*ABS\* 0+ __bss_start 0+1098 g \.ctors 0+ ___ctors_end diff --git a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd index a4a4273e35b..1bc5587e557 100644 --- a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd +++ b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd @@ -32,14 +32,14 @@ Section Headers: \[ 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 0001c0 10 12 11 4 - \[12\] \.strtab STRTAB 00000000 0005bc 00007e 00 0 0 1 + \[11\] \.symtab SYMTAB 00000000 0003fc 0001b0 10 12 10 4 + \[12\] \.strtab STRTAB 00000000 0005ac 000078 00 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 28 entries: +Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00001000 0 SECTION LOCAL DEFAULT 1 @@ -57,18 +57,17 @@ Symbol table '\.symtab' contains 28 entries: 13: 00001004 0 NOTYPE LOCAL DEFAULT 2 sec4 14: 000010a4 0 NOTYPE LOCAL DEFAULT 2 start2 15: 000010bc 0 NOTYPE LOCAL DEFAULT 2 sec3 - 16: 00000000 0 NOTYPE LOCAL DEFAULT ABS \*ABS\* - 17: 000010c4 0 NOTYPE GLOBAL DEFAULT 2 diversion - 18: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors - 19: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - 20: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors_end - 21: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 - 22: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors - 23: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata - 24: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end - 25: 00001000 0 NOTYPE GLOBAL DEFAULT 1 start - 26: 00080000 0 NOTYPE GLOBAL DEFAULT 8 _stack - 27: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors_end + 16: 000010c4 0 NOTYPE GLOBAL DEFAULT 2 diversion + 17: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors + 18: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start + 19: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors_end + 20: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 + 21: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors + 22: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata + 23: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end + 24: 00001000 0 NOTYPE GLOBAL DEFAULT 1 start + 25: 00080000 0 NOTYPE GLOBAL DEFAULT 8 _stack + 26: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors_end Hex dump of section '\.text': 0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .* diff --git a/ld/testsuite/ld-sh/sh64/crange3-media.rd b/ld/testsuite/ld-sh/sh64/crange3-media.rd index 7598fbb5226..e8df92a58bb 100644 --- a/ld/testsuite/ld-sh/sh64/crange3-media.rd +++ b/ld/testsuite/ld-sh/sh64/crange3-media.rd @@ -32,14 +32,14 @@ Section Headers: \[ 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 0001c0 10 12 11 4 - \[12\] \.strtab STRTAB 00000000 0005bc 00007e 00 0 0 1 + \[11\] \.symtab SYMTAB 00000000 0003fc 0001b0 10 12 10 4 + \[12\] \.strtab STRTAB 00000000 0005ac 000078 00 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 28 entries: +Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00001000 0 SECTION LOCAL DEFAULT 1 @@ -57,18 +57,17 @@ Symbol table '\.symtab' contains 28 entries: 13: 00001004 0 NOTYPE LOCAL DEFAULT 2 sec4 14: 000010a4 0 NOTYPE LOCAL DEFAULT 2 start2 15: 000010bc 0 NOTYPE LOCAL DEFAULT 2 sec3 - 16: 00000000 0 NOTYPE LOCAL DEFAULT ABS \*ABS\* - 17: 000010c4 0 NOTYPE GLOBAL DEFAULT 2 diversion - 18: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors - 19: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - 20: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors_end - 21: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 - 22: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors - 23: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata - 24: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end - 25: 00001000 0 NOTYPE GLOBAL DEFAULT 1 start - 26: 00080000 0 NOTYPE GLOBAL DEFAULT 8 _stack - 27: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors_end + 16: 000010c4 0 NOTYPE GLOBAL DEFAULT 2 diversion + 17: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors + 18: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start + 19: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors_end + 20: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 + 21: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors + 22: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata + 23: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end + 24: 00001000 0 NOTYPE GLOBAL DEFAULT 1 start + 25: 00080000 0 NOTYPE GLOBAL DEFAULT 8 _stack + 26: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors_end Hex dump of section '\.text': 0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .* diff --git a/ld/testsuite/ld-sh/sh64/crange3.rd b/ld/testsuite/ld-sh/sh64/crange3.rd index 12c2f57034c..ae8be07f2bf 100644 --- a/ld/testsuite/ld-sh/sh64/crange3.rd +++ b/ld/testsuite/ld-sh/sh64/crange3.rd @@ -13,14 +13,14 @@ Section Headers: \[ 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 0001c0 10 12 11 4 - \[12\] \.strtab STRTAB 00000000 0005bc 00007e 00 0 0 1 + \[11\] \.symtab SYMTAB 00000000 0003fc 0001b0 10 12 10 4 + \[12\] \.strtab STRTAB 00000000 0005ac 000078 00 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 28 entries: +Symbol table '\.symtab' contains 27 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00001000 0 SECTION LOCAL DEFAULT 1 @@ -38,18 +38,17 @@ Symbol table '\.symtab' contains 28 entries: 13: 00001004 0 NOTYPE LOCAL DEFAULT 2 sec4 14: 000010a4 0 NOTYPE LOCAL DEFAULT 2 start2 15: 000010bc 0 NOTYPE LOCAL DEFAULT 2 sec3 - 16: 00000000 0 NOTYPE LOCAL DEFAULT ABS \*ABS\* - 17: 000010c4 0 NOTYPE GLOBAL DEFAULT 2 diversion - 18: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors - 19: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - 20: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors_end - 21: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 - 22: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors - 23: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata - 24: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end - 25: 00001000 0 NOTYPE GLOBAL DEFAULT 1 start - 26: 00080000 0 NOTYPE GLOBAL DEFAULT 8 _stack - 27: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors_end + 16: 000010c4 0 NOTYPE GLOBAL DEFAULT 2 diversion + 17: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors + 18: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start + 19: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors_end + 20: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 + 21: 00001160 0 NOTYPE GLOBAL DEFAULT 4 ___ctors + 22: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata + 23: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end + 24: 00001000 0 NOTYPE GLOBAL DEFAULT 1 start + 25: 00080000 0 NOTYPE GLOBAL DEFAULT 8 _stack + 26: 00001160 0 NOTYPE GLOBAL DEFAULT 5 ___dtors_end Hex dump of section '\.text': 0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .* -- 2.30.2