diff options
author | Alan Modra <amodra@gmail.com> | 2009-09-23 03:12:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-09-23 03:12:28 +0000 |
commit | f9272224cdd8ee09437255989d70d3f2284de413 (patch) | |
tree | 942833fc405688cc4f248a45c82ace9a32d6afdc /gas | |
parent | dfc3ab44df77a8842c24ab2fc6ea2aa3ad880aed (diff) | |
download | gdb-f9272224cdd8ee09437255989d70d3f2284de413.zip gdb-f9272224cdd8ee09437255989d70d3f2284de413.tar.gz gdb-f9272224cdd8ee09437255989d70d3f2284de413.tar.bz2 |
Tolerate some whitespace differences in readelf output.
Diffstat (limited to 'gas')
27 files changed, 368 insertions, 339 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 04b6c4b..16036ff 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,32 @@ +2009-09-23 Alan Modra <amodra@bigpond.net.au> + + * gas/arm/thumbver.d: Tolerate some whitespace differences. + * gas/elf/elf.exp: Likewise. + * gas/elf/section2.e: Likewise. + * gas/elf/section2.e-armeabi: Likewise. + * gas/elf/section2.e-armelf: Likewise. + * gas/elf/section2.e-m32r: Likewise. + * gas/elf/section2.e-mips: Likewise. + * gas/elf/section2.e-miwmmxt: Likewise. + * gas/elf/section2.e-score: Likewise. + * gas/elf/section2.e-xtensa: Likewise. + * gas/elf/type-noifunc.e: Likewise. + * gas/elf/type.e: Likewise. + * gas/ia64/alias-ilp32.d: Likewise. + * gas/ia64/alias.d: Likewise. + * gas/ia64/global.d: Likewise. + * gas/mips/mips16-vis-1.d: Likewise. + * gas/mmix/bspec-1.d: Likewise. + * gas/mmix/byte-1.d: Likewise. + * gas/mmix/comment-1.d: Likewise. + * gas/mmix/loc-1.d: Likewise. + * gas/mmix/loc-2.d: Likewise. + * gas/mmix/loc-3.d: Likewise. + * gas/mmix/loc-4.d: Likewise. + * gas/mmix/loc-5.d: Likewise. + * gas/mmix/loc-6.d: Likewise. + * gas/mmix/loc-7.d: Likewise. + 2009-09-22 Alan Modra <amodra@bigpond.net.au> * gas/ppc/a2.d: Match PPC64 relocs. @@ -1206,9 +1235,9 @@ 2009-01-15 Nick Clifton <nickc@redhat.com> PR 9722 - * gas/testsuite/gas/arm/archv6m.d: Update expected NOP opcode. - * gas/testsuite/gas/arm/pr9722.s: New test. - * gas/testsuite/gas/arm/pr9722.d: Expected disassembly. + * gas/arm/archv6m.d: Update expected NOP opcode. + * gas/arm/pr9722.s: New test. + * gas/arm/pr9722.d: Expected disassembly. 2009-01-14 Peter Bergner <bergner@vnet.ibm.com> diff --git a/gas/testsuite/gas/arm/thumbver.d b/gas/testsuite/gas/arm/thumbver.d index ddc46df..d33d315 100644 --- a/gas/testsuite/gas/arm/thumbver.d +++ b/gas/testsuite/gas/arm/thumbver.d @@ -4,12 +4,12 @@ #not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* Symbol table '\.symtab' contains .* entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 #... - .*: 00000001 0 FUNC LOCAL DEFAULT 1 a_alias - .*: 00000001 0 FUNC LOCAL DEFAULT 1 a_body - .*: 00000000 0 NOTYPE LOCAL DEFAULT 1 \$t - .*: 00000001 0 FUNC LOCAL DEFAULT 1 a_export@VERSION + +.*: 00000001 +0 +FUNC +LOCAL +DEFAULT +1 a_alias + +.*: 00000001 +0 +FUNC +LOCAL +DEFAULT +1 a_body + +.*: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +1 \$t + +.*: 00000001 +0 +FUNC +LOCAL +DEFAULT +1 a_export@VERSION #... diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 65245f4..caf8436 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -137,10 +137,10 @@ if { ([istarget "*-*-*elf*"] if { [istarget "msp*-*-*"] || [istarget "arm*-*-*"] || [istarget "xscale*-*-*"]} then { - run_elf_list_test "type-noifunc" "" "" "-s" "| grep \"1 \\\[FONTC\\\]\"" + run_elf_list_test "type-noifunc" "" "" "-s" "| grep \"1 *\\\[FONTC\\\]\"" } else { run_dump_test ifunc-1 - run_elf_list_test "type" "" "" "-s" "| grep \"1 \\\[FIONTCU\\\]\"" + run_elf_list_test "type" "" "" "-s" "| grep \"1 *\\\[FIONTCU\\\]\"" } run_dump_test "section6" diff --git a/gas/testsuite/gas/elf/section2.e b/gas/testsuite/gas/elf/section2.e index c424082..9b50798 100644 --- a/gas/testsuite/gas/elf/section2.e +++ b/gas/testsuite/gas/elf/section2.e @@ -1,8 +1,8 @@ Symbol table '.symtab' contains 5 entries: - Num: Value[ ]* Size Type Bind Vis Ndx Name - 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 SECTION LOCAL DEFAULT 4 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 diff --git a/gas/testsuite/gas/elf/section2.e-armeabi b/gas/testsuite/gas/elf/section2.e-armeabi index 84463b1..115bae2 100644 --- a/gas/testsuite/gas/elf/section2.e-armeabi +++ b/gas/testsuite/gas/elf/section2.e-armeabi @@ -1,9 +1,9 @@ Symbol table '.symtab' contains 6 entries: - Num: Value[ ]* Size Type Bind Vis Ndx Name - 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 SECTION LOCAL DEFAULT 4 - 5: 0+0 0 SECTION LOCAL DEFAULT 5 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 diff --git a/gas/testsuite/gas/elf/section2.e-armelf b/gas/testsuite/gas/elf/section2.e-armelf index 44ecffc..de16912 100644 --- a/gas/testsuite/gas/elf/section2.e-armelf +++ b/gas/testsuite/gas/elf/section2.e-armelf @@ -1,10 +1,10 @@ Symbol table '.symtab' contains 7 entries: - Num: Value[ ]* Size Type Bind Vis Ndx Name - 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 SECTION LOCAL DEFAULT 4 - 5: 0+0 0 NOTYPE LOCAL DEFAULT 4 \$d - 6: 0+0 0 SECTION LOCAL DEFAULT 5 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 + +5: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +4 \$d + +6: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 diff --git a/gas/testsuite/gas/elf/section2.e-m32r b/gas/testsuite/gas/elf/section2.e-m32r index 4f401e1..c4cf6d9 100644 --- a/gas/testsuite/gas/elf/section2.e-m32r +++ b/gas/testsuite/gas/elf/section2.e-m32r @@ -1,9 +1,9 @@ Symbol table '.symtab' contains 6 entries: - Num: Value[ ]* Size Type Bind Vis Ndx Name - 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 SECTION LOCAL DEFAULT 5 - 5: 0+0 0 SECTION LOCAL DEFAULT 4 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 diff --git a/gas/testsuite/gas/elf/section2.e-mips b/gas/testsuite/gas/elf/section2.e-mips index 8dd50a1..9e70f5c 100644 --- a/gas/testsuite/gas/elf/section2.e-mips +++ b/gas/testsuite/gas/elf/section2.e-mips @@ -1,10 +1,10 @@ Symbol table '.symtab' contains 7 entries: - Num: Value[ ]* Size Type Bind Vis Ndx Name - 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 (|\.text) - 2: 0+0 0 SECTION LOCAL DEFAULT 2 (|\.data) - 3: 0+0 0 SECTION LOCAL DEFAULT 3 (|\.bss) - 4: 0+0 0 SECTION LOCAL DEFAULT 6 (|A) - 5: 0+0 0 SECTION LOCAL DEFAULT 4 (|\.reginfo) - 6: 0+0 0 SECTION LOCAL DEFAULT 5 (|\.pdr) + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 (|\.text) + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 (|\.data) + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 (|\.bss) + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +6 (|A) + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 (|\.reginfo) + +6: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 (|\.pdr) diff --git a/gas/testsuite/gas/elf/section2.e-miwmmxt b/gas/testsuite/gas/elf/section2.e-miwmmxt index dafccf7..4ebeaf2 100644 --- a/gas/testsuite/gas/elf/section2.e-miwmmxt +++ b/gas/testsuite/gas/elf/section2.e-miwmmxt @@ -1,10 +1,10 @@ Symbol table '.symtab' contains 6 entries: - Num: Value[ ]* Size Type Bind Vis Ndx Name - 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 SECTION LOCAL DEFAULT 5 - 5: 0+0 0 SECTION LOCAL DEFAULT 4 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 diff --git a/gas/testsuite/gas/elf/section2.e-score b/gas/testsuite/gas/elf/section2.e-score index 6f30cba..132d22d 100644 --- a/gas/testsuite/gas/elf/section2.e-score +++ b/gas/testsuite/gas/elf/section2.e-score @@ -1,9 +1,9 @@ Symbol table '.symtab' contains 6 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 5 - 5: 00000000 0 SECTION LOCAL DEFAULT 4 + +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 +5 + +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 diff --git a/gas/testsuite/gas/elf/section2.e-xtensa b/gas/testsuite/gas/elf/section2.e-xtensa index 84463b1..115bae2 100644 --- a/gas/testsuite/gas/elf/section2.e-xtensa +++ b/gas/testsuite/gas/elf/section2.e-xtensa @@ -1,9 +1,9 @@ Symbol table '.symtab' contains 6 entries: - Num: Value[ ]* Size Type Bind Vis Ndx Name - 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 SECTION LOCAL DEFAULT 4 - 5: 0+0 0 SECTION LOCAL DEFAULT 5 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 + +5: 0+0 +0 +SECTION +LOCAL +DEFAULT +5 diff --git a/gas/testsuite/gas/elf/type-noifunc.e b/gas/testsuite/gas/elf/type-noifunc.e index 81ee39b..8b2a6bc 100644 --- a/gas/testsuite/gas/elf/type-noifunc.e +++ b/gas/testsuite/gas/elf/type-noifunc.e @@ -1,5 +1,5 @@ - .: 0+0 1 FUNC LOCAL DEFAULT . function - .: 0+0 1 OBJECT LOCAL DEFAULT . object - .: 0+1 1 TLS LOCAL DEFAULT . tls_object - ..: 0+2 1 NOTYPE LOCAL DEFAULT . notype - ..: 0+1 1 (COMMON|OBJECT) GLOBAL DEFAULT COM common + +.: 0+0 +1 +FUNC +LOCAL +DEFAULT +. function + +.: 0+0 +1 +OBJECT +LOCAL +DEFAULT +. object + +.: 0+1 +1 +TLS +LOCAL +DEFAULT +. tls_object + +..: 0+2 +1 +NOTYPE +LOCAL +DEFAULT +. notype + +..: 0+1 +1 +(COMMON|OBJECT) +GLOBAL +DEFAULT +COM common diff --git a/gas/testsuite/gas/elf/type.e b/gas/testsuite/gas/elf/type.e index 2d26af8..fbc9aac 100644 --- a/gas/testsuite/gas/elf/type.e +++ b/gas/testsuite/gas/elf/type.e @@ -1,7 +1,7 @@ - .: 0+0 1 FUNC LOCAL DEFAULT . function - .: 0+1 1 IFUNC LOCAL DEFAULT . indirect_function - .: 0+0 1 OBJECT LOCAL DEFAULT . object - .: 0+1 1 TLS LOCAL DEFAULT . tls_object - ..: 0+2 1 NOTYPE LOCAL DEFAULT . notype - ..: 0+3 1 OBJECT UNIQUE DEFAULT . unique_global - ..: 0+1 1 (COMMON|OBJECT) GLOBAL DEFAULT COM common + +.: 0+0 +1 +FUNC +LOCAL +DEFAULT +. function + +.: 0+1 +1 +IFUNC +LOCAL +DEFAULT +. indirect_function + +.: 0+0 +1 +OBJECT +LOCAL +DEFAULT +. object + +.: 0+1 +1 +TLS +LOCAL +DEFAULT +. tls_object + +..: 0+2 +1 +NOTYPE +LOCAL +DEFAULT +. notype + +..: 0+3 +1 +OBJECT +UNIQUE +DEFAULT +. unique_global + +..: 0+1 +1 +(COMMON|OBJECT) +GLOBAL +DEFAULT +COM common diff --git a/gas/testsuite/gas/ia64/alias-ilp32.d b/gas/testsuite/gas/ia64/alias-ilp32.d index 29d108f..e669e89 100644 --- a/gas/testsuite/gas/ia64/alias-ilp32.d +++ b/gas/testsuite/gas/ia64/alias-ilp32.d @@ -6,25 +6,25 @@ There are 8 section headers, starting at offset 0x78: Section Headers: - \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al - \[ 0\] NULL 00000000 000000 000000 00 0 0 0 - \[ 1\] .text PROGBITS 00000000 000040 000000 00 AX 0 0 16 - \[ 2\] .data PROGBITS 00000000 000040 000000 00 WA 0 0 1 - \[ 3\] .bss NOBITS 00000000 000040 000000 00 WA 0 0 1 - \[ 4\] 1234 PROGBITS 00000000 000040 000005 00 WA 0 0 1 - \[ 5\] .shstrtab STRTAB 00000000 000045 000031 00 0 0 1 - \[ 6\] .symtab SYMTAB 00000000 0001b8 000060 10 7 6 4 - \[ 7\] .strtab STRTAB 00000000 000218 000006 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\] .text +PROGBITS +00000000 000040 000000 00 +AX +0 +0 16 + +\[ 2\] .data +PROGBITS +00000000 000040 000000 00 +WA +0 +0 +1 + +\[ 3\] .bss +NOBITS +00000000 000040 000000 00 +WA +0 +0 +1 + +\[ 4\] 1234 +PROGBITS +00000000 000040 000005 00 +WA +0 +0 +1 + +\[ 5\] .shstrtab +STRTAB +00000000 000045 000031 00 +0 +0 +1 + +\[ 6\] .symtab +SYMTAB +00000000 0001b8 000060 10 +7 +6 +4 + +\[ 7\] .strtab +STRTAB +00000000 000218 000006 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\) + +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 6 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 NOTYPE LOCAL DEFAULT 4 "@D" + +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 +NOTYPE +LOCAL +DEFAULT +4 "@D" diff --git a/gas/testsuite/gas/ia64/alias.d b/gas/testsuite/gas/ia64/alias.d index c943b3a..cbaa081 100644 --- a/gas/testsuite/gas/ia64/alias.d +++ b/gas/testsuite/gas/ia64/alias.d @@ -4,34 +4,34 @@ There are 8 section headers, starting at offset 0x78: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0000000000000000 00000000 - 0000000000000000 0000000000000000 0 0 0 - \[ 1\] \.text PROGBITS 0000000000000000 00000040 - 0000000000000000 0000000000000000 AX 0 0 16 - \[ 2\] \.data PROGBITS 0000000000000000 00000040 - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 3\] \.bss NOBITS 0000000000000000 00000040 - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 4\] 1234 PROGBITS 0000000000000000 00000040 - 0000000000000005 0000000000000000 WA 0 0 1 - \[ 5\] \.shstrtab STRTAB 0000000000000000 00000045 - 0000000000000031 0000000000000000 0 0 1 - \[ 6\] \.symtab SYMTAB 0000000000000000 00000278 - 0000000000000090 0000000000000018 7 6 8 - \[ 7\] \.strtab STRTAB 0000000000000000 00000308 - 0000000000000006 0000000000000000 0 0 1 + +\[Nr\] +Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0000000000000000 +00000000 + +0000000000000000 +0000000000000000 +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0000000000000000 +00000040 + +0000000000000000 +0000000000000000 +AX +0 +0 +16 + +\[ 2\] \.data +PROGBITS +0000000000000000 +00000040 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000040 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 4\] 1234 +PROGBITS +0000000000000000 +00000040 + +0000000000000005 +0000000000000000 +WA +0 +0 +1 + +\[ 5\] \.shstrtab +STRTAB +0000000000000000 +00000045 + +0000000000000031 +0000000000000000 +0 +0 +1 + +\[ 6\] \.symtab +SYMTAB +0000000000000000 +00000278 + +0000000000000090 +0000000000000018 +7 +6 +8 + +\[ 7\] \.strtab +STRTAB +0000000000000000 +00000308 + +0000000000000006 +0000000000000000 +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\) + +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 6 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND - 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1 - 2: 0000000000000000 0 SECTION LOCAL DEFAULT 2 - 3: 0000000000000000 0 SECTION LOCAL DEFAULT 3 - 4: 0000000000000000 0 SECTION LOCAL DEFAULT 4 - 5: 0000000000000000 0 NOTYPE LOCAL DEFAULT 4 "@D" + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +4 + +5: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +4 "@D" diff --git a/gas/testsuite/gas/ia64/global.d b/gas/testsuite/gas/ia64/global.d index 3078358..c247ad8 100644 --- a/gas/testsuite/gas/ia64/global.d +++ b/gas/testsuite/gas/ia64/global.d @@ -2,9 +2,9 @@ #name: ia64 global label Symbol table '.symtab' contains 5 entries: - Num:[ ]+Value[ ]+Size[ ]+Type[ ]+Bind[ ]+Vis[ ]+Ndx[ ]+Name - 0: 0+0 0 NOTYPE LOCAL DEFAULT UND - 1: 0+0 0 SECTION LOCAL DEFAULT 1 - 2: 0+0 0 SECTION LOCAL DEFAULT 2 - 3: 0+0 0 SECTION LOCAL DEFAULT 3 - 4: 0+0 0 NOTYPE GLOBAL DEFAULT 2 foo + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0+0 +0 +NOTYPE +GLOBAL +DEFAULT +2 foo diff --git a/gas/testsuite/gas/mips/mips16-vis-1.d b/gas/testsuite/gas/mips/mips16-vis-1.d index 7cdce48..90a190a 100644 --- a/gas/testsuite/gas/mips/mips16-vis-1.d +++ b/gas/testsuite/gas/mips/mips16-vis-1.d @@ -1,3 +1,3 @@ # readelf: --symbols #... -.*: 0+0 * 2 * FUNC * GLOBAL * HIDDEN \[MIPS16\] * [0-9]+ foo +.*: 0+0 +2 +FUNC +GLOBAL +HIDDEN +\[MIPS16\] +[0-9]+ foo diff --git a/gas/testsuite/gas/mmix/bspec-1.d b/gas/testsuite/gas/mmix/bspec-1.d index c648a02..1d5269e 100644 --- a/gas/testsuite/gas/mmix/bspec-1.d +++ b/gas/testsuite/gas/mmix/bspec-1.d @@ -1,23 +1,23 @@ #readelf: -Ssr -x1 -x4 There are 9 section headers, starting at offset 0x..: #... - \[ 4\] \.MMIX\.spec_data\.2 PROGBITS 0+ 0+44 - 0+4 0+ 0 0 4 - \[ 5\] \.rela\.MMIX\.spec_d RELA 0+ .* - 0+18 0+18 7 4 8 + +\[ 4\] \.MMIX\.spec_data\.2 +PROGBITS +0+ +0+44 + +0+4 +0+ +0 +0 +4 + +\[ 5\] \.rela\.MMIX\.spec_d +RELA +0+ +.* + +0+18 +0+18 +7 +4 +8 #... Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x... contains 1 entries: .* -0+ 0+500000004 R_MMIX_32 +0+ +forw +\+ 0 +0+ +0+500000004 R_MMIX_32 +0+ +forw +\+ 0 Symbol table '\.symtab' contains 6 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 forw + +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 forw Hex dump of section '\.text': 0x0+ fd010203 .* diff --git a/gas/testsuite/gas/mmix/byte-1.d b/gas/testsuite/gas/mmix/byte-1.d index 635c4c6..0bcf713 100644 --- a/gas/testsuite/gas/mmix/byte-1.d +++ b/gas/testsuite/gas/mmix/byte-1.d @@ -2,39 +2,39 @@ There are 7 section headers, starting at offset 0x88: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0000000000000000 00000000 - 0000000000000000 0000000000000000 0 0 0 - \[ 1\] \.text PROGBITS 0000000000000000 00000040 - 0000000000000016 0000000000000000 AX 0 0 4 - \[ 2\] \.data PROGBITS 0000000000000000 00000056 - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 3\] \.bss NOBITS 0000000000000000 00000056 - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 4\] \.shstrtab STRTAB 0000000000000000 00000056 - 000000000000002c 0000000000000000 0 0 1 - \[ 5\] \.symtab SYMTAB 0000000000000000 00000248 - 00000000000000c0 0000000000000018 6 7 8 - \[ 6\] \.strtab STRTAB 0000000000000000 00000308 - 0000000000000018 0000000000000000 0 0 1 + +\[Nr\] +Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0000000000000000 +00000000 + +0000000000000000 +0000000000000000 +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0000000000000000 +00000040 + +0000000000000016 +0000000000000000 +AX +0 +0 +4 + +\[ 2\] \.data +PROGBITS +0000000000000000 +00000056 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000056 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000056 + +000000000000002c +0000000000000000 +0 +0 +1 + +\[ 5\] \.symtab +SYMTAB +0000000000000000 +00000248 + +00000000000000c0 +0000000000000018 +6 +7 +8 + +\[ 6\] \.strtab +STRTAB +0000000000000000 +00000308 + +0000000000000018 +0000000000000000 +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\) + +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 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+2a 0 NOTYPE LOCAL DEFAULT ABS number - 5: 0+4 0 NOTYPE LOCAL DEFAULT 1 label - 6: 0+c 0 NOTYPE LOCAL DEFAULT 1 lab2 - 7: 0+ 0 FUNC GLOBAL DEFAULT 1 Main + +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+2a +0 +NOTYPE +LOCAL +DEFAULT +ABS number + +5: 0+4 +0 +NOTYPE +LOCAL +DEFAULT +1 label + +6: 0+c +0 +NOTYPE +LOCAL +DEFAULT +1 lab2 + +7: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main Hex dump of section '\.text': 0x00000000 fd2b2a29 73747269 6e670aff 8e007374 .* diff --git a/gas/testsuite/gas/mmix/comment-1.d b/gas/testsuite/gas/mmix/comment-1.d index 22ffdf5..75b69bf 100644 --- a/gas/testsuite/gas/mmix/comment-1.d +++ b/gas/testsuite/gas/mmix/comment-1.d @@ -2,33 +2,33 @@ #readelf: -Ssrx1 -x6 There are 10 section headers, starting at offset 0x...: #... - \[ 5\] \.MMIX\.spec_data\.4 PROGBITS 0+ 0+c4 - 0+ 0+ 0 0 1 - \[ 6\] \.MMIX\.reg_content PROGBITS 0+ 0+c4 - 0+8 0+ W 0 0 1 + +\[ 5\] \.MMIX\.spec_data\.4 +PROGBITS +0+ +0+c4 + +0+ +0+ +0 +0 +1 + +\[ 6\] \.MMIX\.reg_content +PROGBITS +0+ +0+c4 + +0+8 +0+ +W +0 +0 +1 #... Relocation section '\.rela\.text' at offset 0x... contains 5 entries: .* -0+34 .* R_MMIX_ADDR19 +0+ +target +\+ 2c -0+46 .* R_MMIX_16 +0+ +target2 +\+ 30 -0+48 .* R_MMIX_ADDR27 +0+ +target3 +\+ 38 -0+54 .* R_MMIX_ADDR19 +0+ +target3 +\+ 0 -0+78 .* R_MMIX_LOCAL +0+30 +0+34 +.* R_MMIX_ADDR19 +0+ +target +\+ 2c +0+46 +.* R_MMIX_16 +0+ +target2 +\+ 30 +0+48 +.* R_MMIX_ADDR27 +0+ +target3 +\+ 38 +0+54 +.* R_MMIX_ADDR19 +0+ +target3 +\+ 0 +0+78 +.* R_MMIX_LOCAL +0+30 Symbol table '\.symtab' contains 12 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 3 - 3: 0+ 0 SECTION LOCAL DEFAULT 4 - 4: 0+18 0 NOTYPE LOCAL DEFAULT ABS z - 5: 0+80 0 NOTYPE LOCAL DEFAULT 1 x - 6: 0+ 0 SECTION LOCAL DEFAULT 5 - 7: 0+ 0 SECTION LOCAL DEFAULT 6 - 8: 0+ 0 FUNC GLOBAL DEFAULT 1 Main - 9: 0+ 0 NOTYPE GLOBAL DEFAULT UND target - 10: 0+ 0 NOTYPE GLOBAL DEFAULT UND target2 - 11: 0+ 0 NOTYPE GLOBAL DEFAULT UND target3 + +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 +3 + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +4 + +4: 0+18 +0 +NOTYPE +LOCAL +DEFAULT +ABS z + +5: 0+80 +0 +NOTYPE +LOCAL +DEFAULT +1 x + +6: 0+ +0 +SECTION +LOCAL +DEFAULT +5 + +7: 0+ +0 +SECTION +LOCAL +DEFAULT +6 + +8: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main + +9: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND target + +10: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND target2 + +11: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND target3 Hex dump of section '\.text': NOTE: This section has relocations against it, but these have NOT been applied to this dump. diff --git a/gas/testsuite/gas/mmix/loc-1.d b/gas/testsuite/gas/mmix/loc-1.d index 2dd8670..92a690a 100644 --- a/gas/testsuite/gas/mmix/loc-1.d +++ b/gas/testsuite/gas/mmix/loc-1.d @@ -3,39 +3,39 @@ There are 7 section headers, starting at offset 0x90: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0000000000000000 00000000 - 0000000000000000 0000000000000000 0 0 0 - \[ 1\] \.text PROGBITS 0000000000000000 00000040 - 0000000000000020 0000000000000000 AX 0 0 4 - \[ 2\] \.data PROGBITS 0000000000000000 00000060 - 0000000000000004 0000000000000000 WA 0 0 4 - \[ 3\] \.bss NOBITS 0000000000000000 00000064 - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 4\] \.shstrtab STRTAB 0000000000000000 00000064 - 000000000000002c 0000000000000000 0 0 1 - \[ 5\] \.symtab SYMTAB 0000000000000000 00000250 - 00000000000000c0 0000000000000018 6 6 8 - \[ 6\] \.strtab STRTAB 0000000000000000 00000310 - 000000000000002a 0000000000000000 0 0 1 + +\[Nr\] +Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0000000000000000 +00000000 + +0000000000000000 +0000000000000000 +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0000000000000000 +00000040 + +0000000000000020 +0000000000000000 +AX +0 +0 +4 + +\[ 2\] \.data +PROGBITS +0000000000000000 +00000060 + +0000000000000004 +0000000000000000 +WA +0 +0 +4 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000064 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000064 + +000000000000002c +0000000000000000 +0 +0 +1 + +\[ 5\] \.symtab +SYMTAB +0000000000000000 +00000250 + +00000000000000c0 +0000000000000018 +6 +6 +8 + +\[ 6\] \.strtab +STRTAB +0000000000000000 +00000310 + +000000000000002a +0000000000000000 +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\) + +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 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+4 0 NOTYPE LOCAL DEFAULT 1 m2 - 5: 2000000000000000 0 NOTYPE LOCAL DEFAULT ABS Data_Segment - 6: 0+ 0 FUNC GLOBAL DEFAULT 1 Main - 7: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.data + +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+4 +0 +NOTYPE +LOCAL +DEFAULT +1 m2 + +5: 2000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +ABS Data_Segment + +6: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main + +7: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.data Hex dump of section '\.text': 0x00000000 fd000000 00000000 00000000 00000000 .* diff --git a/gas/testsuite/gas/mmix/loc-2.d b/gas/testsuite/gas/mmix/loc-2.d index 0f90c05..994cd61 100644 --- a/gas/testsuite/gas/mmix/loc-2.d +++ b/gas/testsuite/gas/mmix/loc-2.d @@ -3,37 +3,37 @@ There are 7 section headers, starting at offset 0x78: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0000000000000000 00000000 - 0000000000000000 0000000000000000 0 0 0 - \[ 1\] \.text PROGBITS 0000000000000000 00000040 - 0000000000000008 0000000000000000 AX 0 0 4 - \[ 2\] \.data PROGBITS 0000000000000000 00000048 - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 3\] \.bss NOBITS 0000000000000000 00000048 - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 4\] \.shstrtab STRTAB 0000000000000000 00000048 - 000000000000002c 0000000000000000 0 0 1 - \[ 5\] \.symtab SYMTAB 0000000000000000 00000238 - 0000000000000090 0000000000000018 6 4 8 - \[ 6\] \.strtab STRTAB 0000000000000000 000002c8 - 000000000000001a 0000000000000000 0 0 1 + +\[Nr\] +Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0000000000000000 +00000000 + +0000000000000000 +0000000000000000 +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0000000000000000 +00000040 + +0000000000000008 +0000000000000000 +AX +0 +0 +4 + +\[ 2\] \.data +PROGBITS +0000000000000000 +00000048 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000048 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000048 + +000000000000002c +0000000000000000 +0 +0 +1 + +\[ 5\] \.symtab +SYMTAB +0000000000000000 +00000238 + +0000000000000090 +0000000000000018 +6 +4 +8 + +\[ 6\] \.strtab +STRTAB +0000000000000000 +000002c8 + +000000000000001a +0000000000000000 +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\) + +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 6 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+4 0 FUNC GLOBAL DEFAULT 1 Main - 5: 0+100 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.text + +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+4 +0 +FUNC +GLOBAL +DEFAULT +1 Main + +5: 0+100 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.text Hex dump of section '\.text': 0x00000000 fd010102 fd000070 .* diff --git a/gas/testsuite/gas/mmix/loc-3.d b/gas/testsuite/gas/mmix/loc-3.d index fa62639..0883965 100644 --- a/gas/testsuite/gas/mmix/loc-3.d +++ b/gas/testsuite/gas/mmix/loc-3.d @@ -2,39 +2,39 @@ There are 7 section headers, starting at offset 0x80: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0000000000000000 00000000 - 0000000000000000 0000000000000000 0 0 0 - \[ 1\] \.text PROGBITS 0000000000000000 00000040 - 000000000000000c 0000000000000000 AX 0 0 4 - \[ 2\] \.data PROGBITS 0000000000000000 0000004c - 0000000000000008 0000000000000000 WA 0 0 4 - \[ 3\] \.bss NOBITS 0000000000000000 00000054 - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 4\] \.shstrtab STRTAB 0000000000000000 00000054 - 000000000000002c 0000000000000000 0 0 1 - \[ 5\] \.symtab SYMTAB 0000000000000000 00000240 - 00000000000000c0 0000000000000018 6 5 8 - \[ 6\] \.strtab STRTAB 0000000000000000 00000300 - 0000000000000030 0000000000000000 0 0 1 + +\[Nr\] +Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0000000000000000 +00000000 + +0000000000000000 +0000000000000000 +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0000000000000000 +00000040 + +000000000000000c +0000000000000000 +AX +0 +0 +4 + +\[ 2\] \.data +PROGBITS +0000000000000000 +0000004c + +0000000000000008 +0000000000000000 +WA +0 +0 +4 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000054 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000054 + +000000000000002c +0000000000000000 +0 +0 +1 + +\[ 5\] \.symtab +SYMTAB +0000000000000000 +00000240 + +00000000000000c0 +0000000000000018 +6 +5 +8 + +\[ 6\] \.strtab +STRTAB +0000000000000000 +00000300 + +0000000000000030 +0000000000000000 +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\) + +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 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 NOTYPE LOCAL DEFAULT 2 a - 5: 0+4 0 FUNC GLOBAL DEFAULT 1 Main - 6: 0+200 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.text - 7: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.data + +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 +NOTYPE +LOCAL +DEFAULT +2 a + +5: 0+4 +0 +FUNC +GLOBAL +DEFAULT +1 Main + +6: 0+200 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.text + +7: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.data Hex dump of section '\.text': 0x00000000 fd00038f fd090101 fd000065 .* diff --git a/gas/testsuite/gas/mmix/loc-4.d b/gas/testsuite/gas/mmix/loc-4.d index 6259f91..b04c764 100644 --- a/gas/testsuite/gas/mmix/loc-4.d +++ b/gas/testsuite/gas/mmix/loc-4.d @@ -2,39 +2,39 @@ There are 7 section headers, starting at offset 0x88: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0000000000000000 00000000 - 0000000000000000 0000000000000000 0 0 0 - \[ 1\] \.text PROGBITS 0000000000000000 00000040 - 0000000000000018 0000000000000000 AX 0 0 4 - \[ 2\] \.data PROGBITS 0000000000000000 00000058 - 0000000000000004 0000000000000000 WA 0 0 4 - \[ 3\] \.bss NOBITS 0000000000000000 0000005c - 0000000000000000 0000000000000000 WA 0 0 1 - \[ 4\] \.shstrtab STRTAB 0000000000000000 0000005c - 000000000000002c 0000000000000000 0 0 1 - \[ 5\] \.symtab SYMTAB 0000000000000000 00000248 - 00000000000000c0 0000000000000018 6 5 8 - \[ 6\] \.strtab STRTAB 0000000000000000 00000308 - 000000000000003b 0000000000000000 0 0 1 + +\[Nr\] +Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0000000000000000 +00000000 + +0000000000000000 +0000000000000000 +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0000000000000000 +00000040 + +0000000000000018 +0000000000000000 +AX +0 +0 +4 + +\[ 2\] \.data +PROGBITS +0000000000000000 +00000058 + +0000000000000004 +0000000000000000 +WA +0 +0 +4 + +\[ 3\] \.bss +NOBITS +0000000000000000 +0000005c + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +0000005c + +000000000000002c +0000000000000000 +0 +0 +1 + +\[ 5\] \.symtab +SYMTAB +0000000000000000 +00000248 + +00000000000000c0 +0000000000000018 +6 +5 +8 + +\[ 6\] \.strtab +STRTAB +0000000000000000 +00000308 + +000000000000003b +0000000000000000 +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\) + +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 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: 2000000000000000 0 NOTYPE LOCAL DEFAULT ABS Data_Segment - 5: 0+14 0 FUNC GLOBAL DEFAULT 1 Main - 6: 0+ 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.text - 7: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.data + +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: 2000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +ABS Data_Segment + +5: 0+14 +0 +FUNC +GLOBAL +DEFAULT +1 Main + +6: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.text + +7: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.data Hex dump of section '\.text': 0x00000000 fd001807 00000000 00000000 00000000 .* diff --git a/gas/testsuite/gas/mmix/loc-5.d b/gas/testsuite/gas/mmix/loc-5.d index 7f632f3..03d3d63 100644 --- a/gas/testsuite/gas/mmix/loc-5.d +++ b/gas/testsuite/gas/mmix/loc-5.d @@ -2,39 +2,39 @@ There are 7 section headers, starting at offset 0x98: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0+ 0+ - 0+ 0+ 0 0 0 - \[ 1\] \.text PROGBITS 0+ 0+40 - 0+8 0+ AX 0 0 4 - \[ 2\] \.data PROGBITS 0+ 0+48 - 0+24 0+ WA 0 0 4 - \[ 3\] \.bss NOBITS 0+ 0+6c - 0+ 0+ WA 0 0 1 - \[ 4\] \.shstrtab STRTAB 0+ 0+6c - 0+2c 0+ 0 0 1 - \[ 5\] \.symtab SYMTAB 0+ 0+258 - 0+c0 0+18 6 6 8 - \[ 6\] \.strtab STRTAB 0+ 0+318 - 0+29 0+ 0 0 1 + +\[Nr\] +Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0+ +0+ + +0+ +0+ +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0+ +0+40 + +0+8 +0+ +AX +0 +0 +4 + +\[ 2\] \.data +PROGBITS +0+ +0+48 + +0+24 +0+ +WA +0 +0 +4 + +\[ 3\] \.bss +NOBITS +0+ +0+6c + +0+ +0+ +WA +0 +0 +1 + +\[ 4\] \.shstrtab +STRTAB +0+ +0+6c + +0+2c +0+ +0 +0 +1 + +\[ 5\] \.symtab +SYMTAB +0+ +0+258 + +0+c0 +0+18 +6 +6 +8 + +\[ 6\] \.strtab +STRTAB +0+ +0+318 + +0+29 +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\) + +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 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 NOTYPE LOCAL DEFAULT 1 t - 5: 2000000000000000 0 NOTYPE LOCAL DEFAULT ABS Data_Segment - 6: 0+4 0 FUNC GLOBAL DEFAULT 1 Main - 7: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.data + +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 +NOTYPE +LOCAL +DEFAULT +1 t + +5: 2000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +ABS Data_Segment + +6: 0+4 +0 +FUNC +GLOBAL +DEFAULT +1 Main + +7: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.data Hex dump of section '\.text': 0x0+ fd001807 fd090101 .* diff --git a/gas/testsuite/gas/mmix/loc-6.d b/gas/testsuite/gas/mmix/loc-6.d index 8303e21..23a4a6b 100644 --- a/gas/testsuite/gas/mmix/loc-6.d +++ b/gas/testsuite/gas/mmix/loc-6.d @@ -2,9 +2,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - .: 8000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.text + +.: 8000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.text Hex dump of section '\.text': 0x0+ f4000000 .* diff --git a/gas/testsuite/gas/mmix/loc-7.d b/gas/testsuite/gas/mmix/loc-7.d index 1341274..bd53351 100644 --- a/gas/testsuite/gas/mmix/loc-7.d +++ b/gas/testsuite/gas/mmix/loc-7.d @@ -2,9 +2,9 @@ There are no relocations in this file\. Symbol table '\.symtab' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - .: 8000000000042000 0 NOTYPE GLOBAL DEFAULT ABS __\.MMIX\.start\.\.text + +.: 8000000000042000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.text Hex dump of section '\.text': 0x0+ f4000000 00000000 00000000 00000000 .* |