* elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
[external/binutils.git] / ld / testsuite / ld-sh / sh64 / crange2.rd
index 4231780..131712c 100644 (file)
@@ -1,57 +1,45 @@
-There are 13 section headers, starting at offset 0x17c:
+.*
 
 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
+ +\[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\] \.stack +PROGBITS +00080000 000100 000004 00 +WA +0 +0 +1
+ +\[ 4\] \.cranges +LOUSER\+1 +00000000 000104 000046 00 +W +0 +0 +1
+ +\[ 5\] \.shstrtab +STRTAB +.*
+ +\[ 6\] \.symtab +SYMTAB +.*
+ +\[ 7\] \.strtab +STRTAB +.*
 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\)
+#...
 
 There are no relocations in this file\.
 
-Symbol table '\.symtab' contains 28 entries:
-   Num:    Value  Size Type    Bind   Vis      Ndx Name
-     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
-     1: 00001000     0 SECTION LOCAL  DEFAULT    1 
-     2: 00001004     0 SECTION LOCAL  DEFAULT    2 
-     3: 000010e0     0 SECTION LOCAL  DEFAULT    3 
-     4: 000010e0     0 SECTION LOCAL  DEFAULT    4 
-     5: 000010e0     0 SECTION LOCAL  DEFAULT    5 
-     6: 000010e0     0 SECTION LOCAL  DEFAULT    6 
-     7: 000010e0     0 SECTION LOCAL  DEFAULT    7 
-     8: 00080000     0 SECTION LOCAL  DEFAULT    8 
-     9: 00000000     0 SECTION LOCAL  DEFAULT    9 
-    10: 00000000     0 SECTION LOCAL  DEFAULT   10 
-    11: 00000000     0 SECTION LOCAL  DEFAULT   11 
-    12: 00000000     0 SECTION LOCAL  DEFAULT   12 
-    13: 00001004     0 NOTYPE  LOCAL  DEFAULT    2 start2
-    14: 0000101c     0 NOTYPE  LOCAL  DEFAULT    2 sec1
-    15: 0000102c     0 NOTYPE  LOCAL  DEFAULT    2 sec2
-    16: 00001040     0 NOTYPE  LOCAL  DEFAULT    2 sec3
-    17: 00001048     0 NOTYPE  LOCAL  DEFAULT    2 sec4
-    18: 000010e0     0 OBJECT  GLOBAL DEFAULT    5 ___dtors
-    19: 000010e0     0 OBJECT  GLOBAL DEFAULT  ABS __bss_start
-    20: 000010e0     0 OBJECT  GLOBAL DEFAULT    4 ___ctors_end
-    21: 00001004     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    22: 000010e0     0 OBJECT  GLOBAL DEFAULT    4 ___ctors
-    23: 000010e0     0 OBJECT  GLOBAL DEFAULT  ABS _edata
-    24: 000010e0     0 OBJECT  GLOBAL DEFAULT  ABS _end
-    25: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
-    26: 00080000     0 OBJECT  GLOBAL DEFAULT    8 _stack
-    27: 000010e0     0 OBJECT  GLOBAL DEFAULT    5 ___dtors_end
+Symbol table '\.symtab' contains [0-9]+ entries:
+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
+.*: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND 
+.*: 00001000 +0 +SECTION +LOCAL +DEFAULT +1 
+.*: 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 +2 __bss_start
+.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end
+.*: 00001004 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2
+.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors
+.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +2 _edata
+.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +2 _end
+.*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start
+.*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack
+.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .*