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 /ld/testsuite/ld-cris | |
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 'ld/testsuite/ld-cris')
-rw-r--r-- | ld/testsuite/ld-cris/libdso-2.d | 74 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/tls-local-63.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/tls-local-64.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/tls-und-38.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/tls-und-42.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/tls-und-46.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/tls-und-50.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/weakref3.d | 16 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/weakref4.d | 8 |
9 files changed, 67 insertions, 67 deletions
diff --git a/ld/testsuite/ld-cris/libdso-2.d b/ld/testsuite/ld-cris/libdso-2.d index 92a17841..ff1a4db 100644 --- a/ld/testsuite/ld-cris/libdso-2.d +++ b/ld/testsuite/ld-cris/libdso-2.d @@ -12,47 +12,47 @@ There are 13 section headers.* #... - \[ 1\] \.hash HASH .* - \[ 2\] \.dynsym DYNSYM .* - \[ 3\] \.dynstr STRTAB .* - \[ 4\] \.gnu\.version VERSYM .* - \[ 5\] \.gnu\.version_d VERDEF .* - \[ 6\] \.rela\.dyn RELA .* - \[ 7\] \.text PROGBITS .* - \[ 8\] \.dynamic DYNAMIC .* - \[ 9\] \.got PROGBITS .* - \[10\] \.shstrtab STRTAB .* - \[11\] \.symtab SYMTAB .* - \[12\] \.strtab STRTAB .* + +\[ 1\] \.hash +HASH +.* + +\[ 2\] \.dynsym +DYNSYM +.* + +\[ 3\] \.dynstr +STRTAB +.* + +\[ 4\] \.gnu\.version +VERSYM +.* + +\[ 5\] \.gnu\.version_d +VERDEF +.* + +\[ 6\] \.rela\.dyn +RELA +.* + +\[ 7\] \.text +PROGBITS .* + +\[ 8\] \.dynamic +DYNAMIC +.* + +\[ 9\] \.got +PROGBITS .* + +\[10\] \.shstrtab +STRTAB +.* + +\[11\] \.symtab +SYMTAB +.* + +\[12\] \.strtab +STRTAB +.* #... Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries: #... -00002[12][0-9a-f][048c] 0000000c R_CRIS_RELATIVE 00000150 +00002[12][0-9a-f][048c] +0000000c R_CRIS_RELATIVE +00000150 #... Symbol table '\.dynsym' contains 4 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7 - 2: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 - 3: 0+154 0 FUNC GLOBAL DEFAULT 7 export_1@@TST1 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 + +2: 0+ +0 +OBJECT +GLOBAL +DEFAULT +ABS TST1 + +3: 0+154 +0 +FUNC +GLOBAL +DEFAULT +7 export_1@@TST1 Symbol table '\.symtab' contains 18 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 1 - 2: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 2 - 3: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 3 - 4: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 4 - 5: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 5 - 6: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 6 - 7: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7 - 8: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 8 - 9: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 9 - 10: 0+2..[046c] 0 OBJECT LOCAL HIDDEN ABS _DYNAMIC - 11: 0+2..[046c] 0 NOTYPE LOCAL DEFAULT ABS __bss_start - 12: 0+2..[046c] 0 NOTYPE LOCAL DEFAULT ABS _edata - 13: 0+2..[046c] 0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ - 14: 0+2..[046c] 0 NOTYPE LOCAL DEFAULT ABS _end - 15: 0+150 2 FUNC LOCAL DEFAULT 7 dsofn - 16: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 - 17: 0+154 0 FUNC GLOBAL DEFAULT 7 export_1 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 + +3: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 + +4: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 + +5: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 + +6: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 + +7: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 + +8: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 + +9: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 + +10: 0+2..[046c] +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +11: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS __bss_start + +12: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS _edata + +13: 0+2..[046c] +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ + +14: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS _end + +15: 0+150 +2 +FUNC +LOCAL +DEFAULT +7 dsofn + +16: 0+ +0 +OBJECT +GLOBAL +DEFAULT +ABS TST1 + +17: 0+154 +0 +FUNC +GLOBAL +DEFAULT +7 export_1 diff --git a/ld/testsuite/ld-cris/tls-local-63.d b/ld/testsuite/ld-cris/tls-local-63.d index f6f0bdb..3242833 100644 --- a/ld/testsuite/ld-cris/tls-local-63.d +++ b/ld/testsuite/ld-cris/tls-local-63.d @@ -19,7 +19,7 @@ Symbol table '.dynsym' contains 7 entries: #... Symbol table '.symtab' contains 16 entries: #... - .: 00000000 4 TLS LOCAL HIDDEN 6 x + .: 00000000 +4 +TLS +LOCAL +HIDDEN +6 x #... Hex dump of section '.text': 0x00000184 5fae0c00 .* diff --git a/ld/testsuite/ld-cris/tls-local-64.d b/ld/testsuite/ld-cris/tls-local-64.d index 9fb3019..bc9aeab 100644 --- a/ld/testsuite/ld-cris/tls-local-64.d +++ b/ld/testsuite/ld-cris/tls-local-64.d @@ -21,7 +21,7 @@ Symbol table '.dynsym' contains 7 entries: #... Symbol table '.symtab' contains 17 entries: #... - ..: 00000080 4 TLS LOCAL HIDDEN 6 x + ..: 00000080 +4 +TLS +LOCAL +HIDDEN +6 x #... Hex dump of section '.text': 0x00000184 5fae0c00 .* diff --git a/ld/testsuite/ld-cris/tls-und-38.d b/ld/testsuite/ld-cris/tls-und-38.d index e4df56f..314dac5 100644 --- a/ld/testsuite/ld-cris/tls-und-38.d +++ b/ld/testsuite/ld-cris/tls-und-38.d @@ -10,15 +10,15 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -000021ec 00000217 R_CRIS_DTP 00000000 x \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +000021ec +00000217 R_CRIS_DTP +00000000 +x \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - [0-9]: 00000000 0 TLS GLOBAL DEFAULT UND x + +[0-9]: 00000000 +0 +TLS +GLOBAL +DEFAULT +UND x #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/tls-und-42.d b/ld/testsuite/ld-cris/tls-und-42.d index b2fba40..a9965067 100644 --- a/ld/testsuite/ld-cris/tls-und-42.d +++ b/ld/testsuite/ld-cris/tls-und-42.d @@ -10,15 +10,15 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -000021f4 0000021c R_CRIS_32_TPREL 0+ x \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +000021f4 +0000021c R_CRIS_32_TPREL +0+ +x \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - [0-9]: 00000000 0 TLS GLOBAL DEFAULT UND x + +[0-9]: 0+ +0 +TLS +GLOBAL +DEFAULT +UND x #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/tls-und-46.d b/ld/testsuite/ld-cris/tls-und-46.d index 8da45b3..65421a0 100644 --- a/ld/testsuite/ld-cris/tls-und-46.d +++ b/ld/testsuite/ld-cris/tls-und-46.d @@ -10,15 +10,15 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -000021e8 00000217 R_CRIS_DTP 00000000 x \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +000021e8 +00000217 R_CRIS_DTP +00000000 +x \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - [0-9]: 00000000 0 TLS GLOBAL DEFAULT UND x + +[0-9]: 00000000 +0 +TLS +GLOBAL +DEFAULT +UND x #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/tls-und-50.d b/ld/testsuite/ld-cris/tls-und-50.d index 417e7a9..71f3d90 100644 --- a/ld/testsuite/ld-cris/tls-und-50.d +++ b/ld/testsuite/ld-cris/tls-und-50.d @@ -10,15 +10,15 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -000021ec 0000021c R_CRIS_32_TPREL 0+ x \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +000021ec +0000021c R_CRIS_32_TPREL +0+ +x \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - [0-9]: 00000000 0 TLS GLOBAL DEFAULT UND x + +[0-9]: 00000000 +0 +TLS +GLOBAL +DEFAULT +UND x #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/weakref3.d b/ld/testsuite/ld-cris/weakref3.d index 492ef41..2d3b285 100644 --- a/ld/testsuite/ld-cris/weakref3.d +++ b/ld/testsuite/ld-cris/weakref3.d @@ -10,25 +10,25 @@ # object, instead yielding NULL. #... - \[[0-9]+\] .got PROGBITS 0+82314 000314 000010 04 WA 0 0 4 + +\[[0-9]+\] .got +PROGBITS +0+82314 000314 000010 04 +WA +0 +0 +4 #... - \[[0-9]+\] .bss NOBITS 0+82324 .* + +\[[0-9]+\] .bss +NOBITS +0+82324 .* #... Relocation section '.rela.dyn' at offset 0x... contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -00082324 00000109 R_CRIS_COPY 00082324 __expobj2 \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +00082324 +00000109 R_CRIS_COPY +00082324 +__expobj2 \+ 0 Relocation section '.rela.plt' at offset 0x... contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -00082320 0000030b R_CRIS_JUMP_SLOT 00080238 expfn2 \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +00082320 +0000030b R_CRIS_JUMP_SLOT +00080238 +expfn2 \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: #... - .: 00082324 4 OBJECT GLOBAL DEFAULT 13 __expobj2@TST3 \(2\) + +.: 00082324 +4 +OBJECT +GLOBAL +DEFAULT +13 __expobj2@TST3 \(2\) #... - .: 00080238 0 FUNC GLOBAL DEFAULT UND expfn2@TST3 \(2\) + +.: 00080238 +0 +FUNC +GLOBAL +DEFAULT +UND expfn2@TST3 \(2\) #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/weakref4.d b/ld/testsuite/ld-cris/weakref4.d index 8b19f2f..b034576 100644 --- a/ld/testsuite/ld-cris/weakref4.d +++ b/ld/testsuite/ld-cris/weakref4.d @@ -11,19 +11,19 @@ # sure we get a valid reloc. #... - \[[0-9]+\] .data PROGBITS 0+822a4 0002a4 000004 00 WA 0 0 1 + +\[[0-9]+\] .data +PROGBITS +0+822a4 0002a4 000004 00 +WA +0 +0 +1 #... - \[[0-9]+\] .bss NOBITS 0+822a8 .* + +\[[0-9]+\] .bss +NOBITS +0+822a8 .* #... Relocation section '.rela.dyn' at offset 0x... contains 1 entries: #... -000822a8 00000109 R_CRIS_COPY 000822a8 __expobj2 \+ 0 +000822a8 +00000109 R_CRIS_COPY +000822a8 +__expobj2 \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: #... - .: 000822a8 4 OBJECT GLOBAL DEFAULT 12 __expobj2@TST3 \(2\) + +.: 000822a8 +4 +OBJECT +GLOBAL +DEFAULT +12 __expobj2@TST3 \(2\) #... Symbol table '.symtab' contains .. entries: #... |