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-powerpc | |
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-powerpc')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexe.r | 72 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexe32.r | 72 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexetoc.r | 70 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsso.r | 88 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsso32.r | 90 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlstocso.r | 88 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/vxworks1-lib.nd | 4 |
7 files changed, 242 insertions, 242 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexe.r b/ld/testsuite/ld-powerpc/tlsexe.r index b4be766..32126f3 100644 --- a/ld/testsuite/ld-powerpc/tlsexe.r +++ b/ld/testsuite/ld-powerpc/tlsexe.r @@ -62,32 +62,32 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr_opt \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +UND ld -.* TLS +GLOBAL DEFAULT +9 ld2 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +UND ld +.* TLS +GLOBAL +DEFAULT +9 ld2 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* 0+ +0 NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 -.* SECTION LOCAL +DEFAULT +13 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +13 .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 .* TLS +LOCAL +DEFAULT +8 ld5 @@ -97,17 +97,17 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +8 le5 .* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC .* (FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt) -.* GLOBAL DEFAULT +UND gd -.* GLOBAL DEFAULT +9 le0 -.* GLOBAL DEFAULT +9 ld0 -.* GLOBAL DEFAULT +9 le1 -.* GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +7 _start -.* TLS +GLOBAL DEFAULT +9 ld2 -.* TLS +GLOBAL DEFAULT +9 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start +.* GLOBAL +DEFAULT +UND gd +.* GLOBAL +DEFAULT +9 le0 +.* GLOBAL +DEFAULT +9 ld0 +.* GLOBAL +DEFAULT +9 le1 +.* GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +7 _start +.* TLS +GLOBAL +DEFAULT +9 ld2 +.* TLS +GLOBAL +DEFAULT +9 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +9 gd0 -.* TLS +GLOBAL DEFAULT +9 ie0 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +9 gd0 +.* TLS +GLOBAL +DEFAULT +9 ie0 diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r index f2c1a45..f5443bd 100644 --- a/ld/testsuite/ld-powerpc/tlsexe32.r +++ b/ld/testsuite/ld-powerpc/tlsexe32.r @@ -60,31 +60,31 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [0-9a-f ]+R_PPC_JMP_SLOT[0-9a-f ]+__tls_get_addr_opt \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +ABS __end -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 .* TLS +LOCAL +DEFAULT +8 ld5 @@ -94,18 +94,18 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +8 le5 .* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC .* OBJECT +LOCAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +9 le0 -.* TLS +GLOBAL DEFAULT +9 ld0 -.* TLS +GLOBAL DEFAULT +9 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +7 _start -.* NOTYPE +GLOBAL DEFAULT +ABS __end -.* TLS +GLOBAL DEFAULT +9 ld2 -.* TLS +GLOBAL DEFAULT +9 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +9 gd0 -.* TLS +GLOBAL DEFAULT +9 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +9 le0 +.* TLS +GLOBAL +DEFAULT +9 ld0 +.* TLS +GLOBAL +DEFAULT +9 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +7 _start +.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* TLS +GLOBAL +DEFAULT +9 ld2 +.* TLS +GLOBAL +DEFAULT +9 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +9 gd0 +.* TLS +GLOBAL +DEFAULT +9 ie0 diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.r b/ld/testsuite/ld-powerpc/tlsexetoc.r index d1f75df..267cba5 100644 --- a/ld/testsuite/ld-powerpc/tlsexetoc.r +++ b/ld/testsuite/ld-powerpc/tlsexetoc.r @@ -62,31 +62,31 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr_opt \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 -.* SECTION LOCAL +DEFAULT +13 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +13 .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 .* TLS +LOCAL +DEFAULT +8 ld5 @@ -97,17 +97,17 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +LOCAL +DEFAULT +12 \.Lie0 .* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC .* (FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt) -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +9 le0 -.* TLS +GLOBAL DEFAULT +9 ld0 -.* TLS +GLOBAL DEFAULT +9 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +7 _start -.* TLS +GLOBAL DEFAULT +9 ld2 -.* TLS +GLOBAL DEFAULT +9 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +9 gd0 -.* TLS +GLOBAL DEFAULT +9 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +9 le0 +.* TLS +GLOBAL +DEFAULT +9 ld0 +.* TLS +GLOBAL +DEFAULT +9 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +7 _start +.* TLS +GLOBAL +DEFAULT +9 ld2 +.* TLS +GLOBAL +DEFAULT +9 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +9 gd0 +.* TLS +GLOBAL +DEFAULT +9 ie0 diff --git a/ld/testsuite/ld-powerpc/tlsso.r b/ld/testsuite/ld-powerpc/tlsso.r index 4693c28..c1a7347 100644 --- a/ld/testsuite/ld-powerpc/tlsso.r +++ b/ld/testsuite/ld-powerpc/tlsso.r @@ -68,40 +68,40 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 .* TLS +LOCAL +DEFAULT +7 gd4 .* TLS +LOCAL +DEFAULT +7 ld4 .* TLS +LOCAL +DEFAULT +7 ld5 @@ -111,17 +111,17 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +7 le5 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC .* NOTYPE +LOCAL +DEFAULT +UND \.__tls_get_addr -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 diff --git a/ld/testsuite/ld-powerpc/tlsso32.r b/ld/testsuite/ld-powerpc/tlsso32.r index b29f2c4..aff469b 100644 --- a/ld/testsuite/ld-powerpc/tlsso32.r +++ b/ld/testsuite/ld-powerpc/tlsso32.r @@ -69,40 +69,40 @@ Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_PPC_JMP_SLOT +0+ +__tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* NOTYPE +GLOBAL DEFAULT +ABS __end -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 .* TLS +LOCAL +DEFAULT +7 gd4 .* TLS +LOCAL +DEFAULT +7 ld4 .* TLS +LOCAL +DEFAULT +7 ld5 @@ -112,18 +112,18 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +7 le5 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* NOTYPE +GLOBAL DEFAULT +ABS __end -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 diff --git a/ld/testsuite/ld-powerpc/tlstocso.r b/ld/testsuite/ld-powerpc/tlstocso.r index b557767..2855dda 100644 --- a/ld/testsuite/ld-powerpc/tlstocso.r +++ b/ld/testsuite/ld-powerpc/tlstocso.r @@ -63,40 +63,40 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 .* TLS +LOCAL +DEFAULT +7 gd4 .* TLS +LOCAL +DEFAULT +7 ld4 .* TLS +LOCAL +DEFAULT +7 ld5 @@ -107,17 +107,17 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +LOCAL +DEFAULT +11 \.Lie0 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC .* NOTYPE +LOCAL +DEFAULT +UND \.__tls_get_addr -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 diff --git a/ld/testsuite/ld-powerpc/vxworks1-lib.nd b/ld/testsuite/ld-powerpc/vxworks1-lib.nd index cbc1c8c..7531ec7 100644 --- a/ld/testsuite/ld-powerpc/vxworks1-lib.nd +++ b/ld/testsuite/ld-powerpc/vxworks1-lib.nd @@ -1,9 +1,9 @@ #... Symbol table '\.dynsym' .*: #... -.*: 00090400 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_ +.*: 00090400 +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _GLOBAL_OFFSET_TABLE_ #... Symbol table '\.symtab' .*: #... -.*: 00090400 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_ +.*: 00090400 +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _GLOBAL_OFFSET_TABLE_ #pass |