ld/ELF: refine fake STT_FILE symbol emission
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sh / sh64 / crange3-cmpct.rd
index d2856584dd5bbc512deaebcb99060b90c2d413b8..cfd0b5a9c0d893992247582840bfede24e2da3d9 100644 (file)
@@ -1,73 +1,61 @@
 ELF Header:
 Magic:   7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 
 Class:                             ELF32
 Data:                              2's complement, big endian
 Version:                           1 \(current\)
 OS/ABI:                            UNIX - System V
 ABI Version:                       0
 Type:                              EXEC \(Executable file\)
 Machine:                           Renesas / SuperH SH
 Version:                           0x1
 Entry point address:               0x10c4
 Start of program headers:          52 \(bytes into file\)
 Start of section headers:          664 \(bytes into file\)
-  Flags:                             0xa
 Size of this header:               52 \(bytes\)
 Size of program headers:           32 \(bytes\)
-  Number of program headers:         3
 Size of section headers:           40 \(bytes\)
-  Number of section headers:         13
-  Section header string table index: 10
+Magic: +7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 
+Class: +ELF32
+Data: +2's complement, big endian
+Version: +1 \(current\)
+OS/ABI: +UNIX - System V
+ABI Version: +0
+Type: +EXEC \(Executable file\)
+Machine: +Renesas / SuperH SH
+Version: +0x1
+Entry point address: +0x10c4
+Start of program headers: +52 \(bytes into file\)
+Start of section headers: +504 \(bytes into file\)
+ +Flags: +0xa, sh5
+Size of this header: +52 \(bytes\)
+Size of program headers: +32 \(bytes\)
+ +Number of program headers: +2
+Size of section headers: +40 \(bytes\)
+ +Number of section headers: +8
+ +Section header string table index: 5
 
 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 000100 000004 00 AXp  0   0  4
-  \[ 2\] \.text             PROGBITS        00001004 000104 0000d8 00 AXp  0   0  4
-  \[ 3\] \.ctors            PROGBITS        00001160 000204 000000 00   W  0   0  1
-  \[ 4\] \.dtors            PROGBITS        00001160 000204 000000 00   W  0   0  1
-  \[ 5\] \.data             PROGBITS        00001160 0001e0 000000 00  WA  0   0  1
-  \[ 6\] \.sbss             PROGBITS        00001160 000204 000000 00   W  0   0  1
-  \[ 7\] \.bss              NOBITS          00001160 0001e0 000000 00  WA  0   0  1
-  \[ 8\] \.stack            PROGBITS        00080000 000200 000004 00  WA  0   0  1
-  \[ 9\] \.cranges          LOUSER\+1        00000000 000204 00003c 00   W  0   0  1
-  \[10\] \.shstrtab         STRTAB          00000000 000240 000056 00      0   0  1
-  \[11\] \.symtab           SYMTAB          00000000 0004a0 0001b0 10     12  16  4
-  \[12\] \.strtab           STRTAB          00000000 000650 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 0000d8 00 AXp +0 +0 +4
+ +\[ 3\] \.stack +PROGBITS +00080000 000180 000004 00 +WA +0 +0 +1
+ +\[ 4\] \.cranges +LOUSER\+1 +00000000 000184 00003c 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\)
+#...
 
-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 
-     2: 00001004     0 SECTION LOCAL  DEFAULT    2 
-     3: 00001160     0 SECTION LOCAL  DEFAULT    3 
-     4: 00001160     0 SECTION LOCAL  DEFAULT    4 
-     5: 00001160     0 SECTION LOCAL  DEFAULT    5 
-     6: 00001160     0 SECTION LOCAL  DEFAULT    6 
-     7: 00001160     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 sec4
-    14: 000010a4     0 NOTYPE  LOCAL  DEFAULT    2 start2
-    15: 000010bc     0 NOTYPE  LOCAL  DEFAULT    2 sec3
-    16: 000010c4     0 NOTYPE  GLOBAL DEFAULT    2 diversion
-    17: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors
-    18: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
-    19: 00001160     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors_end
-    20: 000010a4     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    21: 00001160     0 NOTYPE  GLOBAL DEFAULT    3 ___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    4 ___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 
+.*: 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
+.*: 000010c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +2 diversion
+.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors
+.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 __bss_start
+.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end
+.*: 000010a4 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2
+.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors
+.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 _edata
+.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 _end
+.*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start
+.*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack
+.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
This page took 0.027114 seconds and 4 git commands to generate.