diff options
author | Alan Modra <amodra@gmail.com> | 2021-07-24 15:34:55 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-07-24 17:59:52 +0930 |
commit | c09c8b42021180eee9495bd50d8b35e683d3901b (patch) | |
tree | 84452244c58664fa946c9d820d14a6de9279e7b7 /ld | |
parent | 553dd76c7e49e3e6afb528ff865589da8f6f3e1c (diff) | |
download | binutils-gdb-c09c8b42021180eee9495bd50d8b35e683d3901b.tar.gz |
Revert: PowerPC: Don't generate unused section symbols
Blindly following x86 broke linux kernel builds.
bfd/
* elf32-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define as true.
* elf64-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Likewise.
gas/
* testsuite/gas/ppc/power4.d: Adjust for section sym change.
* testsuite/gas/ppc/test1elf32.d: Likewise.
* testsuite/gas/ppc/test1elf64.d: Likewise.
ld/
* testsuite/ld-powerpc/tlsexe.r: Adjust for section sym change.
* testsuite/ld-powerpc/tlsexe32.r: Likewise.
* testsuite/ld-powerpc/tlsexe32no.r: Likewise.
* testsuite/ld-powerpc/tlsexeno.r: Likewise.
* testsuite/ld-powerpc/tlsexenors.r: Likewise.
* testsuite/ld-powerpc/tlsexers.r: Likewise.
* testsuite/ld-powerpc/tlsexetoc.r: Likewise.
* testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
* testsuite/ld-powerpc/tlsget.d: Likewise.
* testsuite/ld-powerpc/tlsget.wf: Likewise.
* testsuite/ld-powerpc/tlsget2.d: Likewise.
* testsuite/ld-powerpc/tlsget2.wf: Likewise.
* testsuite/ld-powerpc/tlsso.r: Likewise.
* testsuite/ld-powerpc/tlsso32.r: Likewise.
* testsuite/ld-powerpc/tlstocso.r: Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexe.r | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexe32.r | 12 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexe32no.r | 12 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexeno.r | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexenors.r | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexers.r | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexetoc.r | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexetocrs.r | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsget.d | 23 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsget.wf | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsget2.d | 16 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsget2.wf | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsso.r | 12 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsso32.r | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/tlstocso.r | 12 |
15 files changed, 159 insertions, 23 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexe.r b/ld/testsuite/ld-powerpc/tlsexe.r index 13c3efb12d5..bae5aac0664 100644 --- a/ld/testsuite/ld-powerpc/tlsexe.r +++ b/ld/testsuite/ld-powerpc/tlsexe.r @@ -70,6 +70,19 @@ Symbol table '\.dynsym' contains [0-9]+ entries: 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 \.interp +.* SECTION +LOCAL +DEFAULT +2 \.hash +.* SECTION +LOCAL +DEFAULT +3 \.dynsym +.* SECTION +LOCAL +DEFAULT +4 \.dynstr +.* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +6 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +7 \.text +.* SECTION +LOCAL +DEFAULT +8 \.tdata +.* SECTION +LOCAL +DEFAULT +9 \.tbss +.* SECTION +LOCAL +DEFAULT +10 \.dynamic +.* SECTION +LOCAL +DEFAULT +11 \.opd +.* SECTION +LOCAL +DEFAULT +12 \.got +.* SECTION +LOCAL +DEFAULT +13 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK .* TLS +LOCAL +DEFAULT +8 gd4 diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r index 9017069ad84..43db7379a4c 100644 --- a/ld/testsuite/ld-powerpc/tlsexe32.r +++ b/ld/testsuite/ld-powerpc/tlsexe32.r @@ -69,6 +69,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +1 \.interp +.* SECTION +LOCAL +DEFAULT +2 \.hash +.* SECTION +LOCAL +DEFAULT +3 \.dynsym +.* SECTION +LOCAL +DEFAULT +4 \.dynstr +.* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +6 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +7 \.text +.* SECTION +LOCAL +DEFAULT +8 \.tdata +.* SECTION +LOCAL +DEFAULT +9 \.tbss +.* SECTION +LOCAL +DEFAULT +10 \.dynamic +.* SECTION +LOCAL +DEFAULT +11 \.got +.* SECTION +LOCAL +DEFAULT +12 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK .* TLS +LOCAL +DEFAULT +8 gd4 diff --git a/ld/testsuite/ld-powerpc/tlsexe32no.r b/ld/testsuite/ld-powerpc/tlsexe32no.r index 9715b6bc631..e254eeadf71 100644 --- a/ld/testsuite/ld-powerpc/tlsexe32no.r +++ b/ld/testsuite/ld-powerpc/tlsexe32no.r @@ -70,6 +70,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +1 \.interp +.* SECTION +LOCAL +DEFAULT +2 \.hash +.* SECTION +LOCAL +DEFAULT +3 \.dynsym +.* SECTION +LOCAL +DEFAULT +4 \.dynstr +.* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +6 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +7 \.text +.* SECTION +LOCAL +DEFAULT +8 \.tdata +.* SECTION +LOCAL +DEFAULT +9 \.tbss +.* SECTION +LOCAL +DEFAULT +10 \.dynamic +.* SECTION +LOCAL +DEFAULT +11 \.got +.* SECTION +LOCAL +DEFAULT +12 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK .* TLS +LOCAL +DEFAULT +8 gd4 diff --git a/ld/testsuite/ld-powerpc/tlsexeno.r b/ld/testsuite/ld-powerpc/tlsexeno.r index d4dcebf4ec2..59e2f89ffd9 100644 --- a/ld/testsuite/ld-powerpc/tlsexeno.r +++ b/ld/testsuite/ld-powerpc/tlsexeno.r @@ -71,6 +71,19 @@ Symbol table '\.dynsym' contains [0-9]+ entries: 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 \.interp +.* SECTION +LOCAL +DEFAULT +2 \.hash +.* SECTION +LOCAL +DEFAULT +3 \.dynsym +.* SECTION +LOCAL +DEFAULT +4 \.dynstr +.* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +6 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +7 \.text +.* SECTION +LOCAL +DEFAULT +8 \.tdata +.* SECTION +LOCAL +DEFAULT +9 \.tbss +.* SECTION +LOCAL +DEFAULT +10 \.dynamic +.* SECTION +LOCAL +DEFAULT +11 \.opd +.* SECTION +LOCAL +DEFAULT +12 \.got +.* SECTION +LOCAL +DEFAULT +13 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK .* TLS +LOCAL +DEFAULT +8 gd4 diff --git a/ld/testsuite/ld-powerpc/tlsexenors.r b/ld/testsuite/ld-powerpc/tlsexenors.r index aec6a8dec88..3a9af781c0d 100644 --- a/ld/testsuite/ld-powerpc/tlsexenors.r +++ b/ld/testsuite/ld-powerpc/tlsexenors.r @@ -71,6 +71,19 @@ Symbol table '\.dynsym' contains [0-9]+ entries: 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 \.interp +.* SECTION +LOCAL +DEFAULT +2 \.hash +.* SECTION +LOCAL +DEFAULT +3 \.dynsym +.* SECTION +LOCAL +DEFAULT +4 \.dynstr +.* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +6 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +7 \.text +.* SECTION +LOCAL +DEFAULT +8 \.tdata +.* SECTION +LOCAL +DEFAULT +9 \.tbss +.* SECTION +LOCAL +DEFAULT +10 \.dynamic +.* SECTION +LOCAL +DEFAULT +11 \.opd +.* SECTION +LOCAL +DEFAULT +12 \.got +.* SECTION +LOCAL +DEFAULT +13 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK .* TLS +LOCAL +DEFAULT +8 gd4 diff --git a/ld/testsuite/ld-powerpc/tlsexers.r b/ld/testsuite/ld-powerpc/tlsexers.r index bb852310574..0c623b6eaa9 100644 --- a/ld/testsuite/ld-powerpc/tlsexers.r +++ b/ld/testsuite/ld-powerpc/tlsexers.r @@ -70,6 +70,19 @@ Symbol table '\.dynsym' contains [0-9]+ entries: 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 \.interp +.* SECTION +LOCAL +DEFAULT +2 \.hash +.* SECTION +LOCAL +DEFAULT +3 \.dynsym +.* SECTION +LOCAL +DEFAULT +4 \.dynstr +.* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +6 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +7 \.text +.* SECTION +LOCAL +DEFAULT +8 \.tdata +.* SECTION +LOCAL +DEFAULT +9 \.tbss +.* SECTION +LOCAL +DEFAULT +10 \.dynamic +.* SECTION +LOCAL +DEFAULT +11 \.opd +.* SECTION +LOCAL +DEFAULT +12 \.got +.* SECTION +LOCAL +DEFAULT +13 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK .* TLS +LOCAL +DEFAULT +8 gd4 diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.r b/ld/testsuite/ld-powerpc/tlsexetoc.r index 6e676e15dfc..4c6b9189bbb 100644 --- a/ld/testsuite/ld-powerpc/tlsexetoc.r +++ b/ld/testsuite/ld-powerpc/tlsexetoc.r @@ -71,6 +71,19 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * +.* SECTION +LOCAL +DEFAULT +1 \.interp +.* SECTION +LOCAL +DEFAULT +2 \.hash +.* SECTION +LOCAL +DEFAULT +3 \.dynsym +.* SECTION +LOCAL +DEFAULT +4 \.dynstr +.* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +6 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +7 \.text +.* SECTION +LOCAL +DEFAULT +8 \.tdata +.* SECTION +LOCAL +DEFAULT +9 \.tbss +.* SECTION +LOCAL +DEFAULT +10 \.dynamic +.* SECTION +LOCAL +DEFAULT +11 \.opd +.* SECTION +LOCAL +DEFAULT +12 \.got +.* SECTION +LOCAL +DEFAULT +13 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 diff --git a/ld/testsuite/ld-powerpc/tlsexetocrs.r b/ld/testsuite/ld-powerpc/tlsexetocrs.r index 36919c7aedc..a41fd2e10a5 100644 --- a/ld/testsuite/ld-powerpc/tlsexetocrs.r +++ b/ld/testsuite/ld-powerpc/tlsexetocrs.r @@ -71,6 +71,19 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * +.* SECTION +LOCAL +DEFAULT +1 \.interp +.* SECTION +LOCAL +DEFAULT +2 \.hash +.* SECTION +LOCAL +DEFAULT +3 \.dynsym +.* SECTION +LOCAL +DEFAULT +4 \.dynstr +.* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +6 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +7 \.text +.* SECTION +LOCAL +DEFAULT +8 \.tdata +.* SECTION +LOCAL +DEFAULT +9 \.tbss +.* SECTION +LOCAL +DEFAULT +10 \.dynamic +.* SECTION +LOCAL +DEFAULT +11 \.opd +.* SECTION +LOCAL +DEFAULT +12 \.got +.* SECTION +LOCAL +DEFAULT +13 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 diff --git a/ld/testsuite/ld-powerpc/tlsget.d b/ld/testsuite/ld-powerpc/tlsget.d index 31ee8482d9e..f419fca4d29 100644 --- a/ld/testsuite/ld-powerpc/tlsget.d +++ b/ld/testsuite/ld-powerpc/tlsget.d @@ -8,6 +8,16 @@ Disassembly of section \.text: +.* <.*\.plt_call\..*>: +.*: (04 10 .. ..|.. .. 10 04) pld r12,.* +.*: (e5 80 .. ..|.. .. 80 e5) +.*: (7d 89 03 a6|a6 03 89 7d) mtctr r12 +.*: (4e 80 04 20|20 04 80 4e) bctr +.*: (f8 41 00 18|18 00 41 f8) std r2,24\(r1\) +.*: (e9 82 .. ..|.. .. 82 e9) ld r12,.*\(r2\) +.*: (7d 89 03 a6|a6 03 89 7d) mtctr r12 +.*: (4e 80 04 20|20 04 80 4e) bctr + .* <.*\.plt_call\.__tls_get_addr_opt.*>: .*: (e8 03 00 00|00 00 03 e8) ld r0,0\(r3\) .*: (e9 83 00 08|08 00 83 e9) ld r12,8\(r3\) @@ -38,17 +48,6 @@ Disassembly of section \.text: .*: (e8 01 00 08|08 00 01 e8) ld r0,8\(r1\) .*: (7c 08 03 a6|a6 03 08 7c) mtlr r0 .*: (4e 80 00 20|20 00 80 4e) blr - -.* <.*\.plt_call\..*>: -.*: (60 00 00 00|00 00 00 60) nop -.*: (04 10 .. ..|.. .. 10 04) pld r12,.* -.*: (e5 80 .. ..|.. .. 80 e5) -.*: (7d 89 03 a6|a6 03 89 7d) mtctr r12 -.*: (4e 80 04 20|20 04 80 4e) bctr -.*: (f8 41 00 18|18 00 41 f8) std r2,24\(r1\) -.*: (e9 82 .. ..|.. .. 82 e9) ld r12,.*\(r2\) -.*: (7d 89 03 a6|a6 03 89 7d) mtctr r12 -.*: (4e 80 04 20|20 04 80 4e) bctr #... .* <_start>: @@ -60,7 +59,7 @@ Disassembly of section \.text: .*: (4b ff .. ..|.. .. ff 4b) bl .* <.*\.plt_call\.__tls_get_addr_opt.*\+0x30> .*: (60 00 00 00|00 00 00 60) nop .*: (4b ff .. ..|.. .. ff 4b) bl .* <.*\.plt_call\..*:[^\+]*> -.*: (4b ff .. ..|.. .. ff 4b) bl .* <.*.plt_call\..*:.*\+0x14> +.*: (4b ff .. ..|.. .. ff 4b) bl .* <.*.plt_call\..*:.*\+0x10> .*: (e8 41 00 18|18 00 41 e8) ld r2,24\(r1\) .* <fun>: diff --git a/ld/testsuite/ld-powerpc/tlsget.wf b/ld/testsuite/ld-powerpc/tlsget.wf index 181bb397f97..bc9ccadf442 100644 --- a/ld/testsuite/ld-powerpc/tlsget.wf +++ b/ld/testsuite/ld-powerpc/tlsget.wf @@ -9,8 +9,8 @@ Contents of the .eh_frame section: Augmentation data: 1b DW_CFA_def_cfa: r1 ofs 0 -0+14 0+14 0+18 FDE cie=0+ pc=0+280..0+318 - DW_CFA_advance_loc: 96 to 0+2e0 +0+14 0+14 0+18 FDE cie=0+ pc=0+280..0+314 + DW_CFA_advance_loc: 128 to 0+300 DW_CFA_offset_extended_sf: r65 at cfa\+8 DW_CFA_advance_loc: 16 to .* DW_CFA_restore_extended: r65 diff --git a/ld/testsuite/ld-powerpc/tlsget2.d b/ld/testsuite/ld-powerpc/tlsget2.d index 03798075942..13dc64b595e 100644 --- a/ld/testsuite/ld-powerpc/tlsget2.d +++ b/ld/testsuite/ld-powerpc/tlsget2.d @@ -8,6 +8,14 @@ Disassembly of section \.text: +.* <.*\.plt_call\..*>: +.*: (f8 41 00 18|18 00 41 f8) std r2,24\(r1\) +.*: (60 00 00 00|00 00 00 60) nop +.*: (04 10 .. ..|.. .. 10 04) pld r12,.* +.*: (e5 80 .. ..|.. .. 80 e5) +.*: (7d 89 03 a6|a6 03 89 7d) mtctr r12 +.*: (4e 80 04 20|20 04 80 4e) bctr + .* <.*\.plt_call\.__tls_get_addr_opt.*>: .*: (e8 03 00 00|00 00 03 e8) ld r0,0\(r3\) .*: (e9 83 00 08|08 00 83 e9) ld r12,8\(r3\) @@ -27,14 +35,6 @@ Disassembly of section \.text: .*: (e8 01 00 08|08 00 01 e8) ld r0,8\(r1\) .*: (7c 08 03 a6|a6 03 08 7c) mtlr r0 .*: (4e 80 00 20|20 00 80 4e) blr - -.* <.*\.plt_call\..*>: -.*: (f8 41 00 18|18 00 41 f8) std r2,24\(r1\) -.*: (60 00 00 00|00 00 00 60) nop -.*: (04 10 .. ..|.. .. 10 04) pld r12,.* -.*: (e5 80 .. ..|.. .. 80 e5) -.*: (7d 89 03 a6|a6 03 89 7d) mtctr r12 -.*: (4e 80 04 20|20 04 80 4e) bctr #... .* <_start>: diff --git a/ld/testsuite/ld-powerpc/tlsget2.wf b/ld/testsuite/ld-powerpc/tlsget2.wf index 0d09c701760..359e62de760 100644 --- a/ld/testsuite/ld-powerpc/tlsget2.wf +++ b/ld/testsuite/ld-powerpc/tlsget2.wf @@ -10,7 +10,7 @@ Contents of the .eh_frame section: DW_CFA_def_cfa: r1 ofs 0 0+14 0+14 0+18 FDE cie=0+ pc=0+280..0+2e0 - DW_CFA_advance_loc: 52 to 0+2b4 + DW_CFA_advance_loc: 76 to 0+2cc DW_CFA_offset_extended_sf: r65 at cfa\+8 DW_CFA_advance_loc: 16 to .* DW_CFA_restore_extended: r65 diff --git a/ld/testsuite/ld-powerpc/tlsso.r b/ld/testsuite/ld-powerpc/tlsso.r index d56b2a046c6..b0453fb1967 100644 --- a/ld/testsuite/ld-powerpc/tlsso.r +++ b/ld/testsuite/ld-powerpc/tlsso.r @@ -91,6 +91,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * +.* SECTION +LOCAL +DEFAULT +1 \.hash +.* SECTION +LOCAL +DEFAULT +2 \.dynsym +.* SECTION +LOCAL +DEFAULT +3 \.dynstr +.* SECTION +LOCAL +DEFAULT +4 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +5 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +6 \.text +.* SECTION +LOCAL +DEFAULT +7 \.tdata +.* SECTION +LOCAL +DEFAULT +8 \.tbss +.* SECTION +LOCAL +DEFAULT +9 \.dynamic +.* SECTION +LOCAL +DEFAULT +10 \.opd +.* SECTION +LOCAL +DEFAULT +11 \.got +.* SECTION +LOCAL +DEFAULT +12 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK .* TLS +LOCAL +DEFAULT +7 gd4 diff --git a/ld/testsuite/ld-powerpc/tlsso32.r b/ld/testsuite/ld-powerpc/tlsso32.r index 0202440be9f..3f92f8066cf 100644 --- a/ld/testsuite/ld-powerpc/tlsso32.r +++ b/ld/testsuite/ld-powerpc/tlsso32.r @@ -89,6 +89,17 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +1 \.hash +.* SECTION +LOCAL +DEFAULT +2 \.dynsym +.* SECTION +LOCAL +DEFAULT +3 \.dynstr +.* SECTION +LOCAL +DEFAULT +4 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +5 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +6 \.text +.* SECTION +LOCAL +DEFAULT +7 \.tdata +.* SECTION +LOCAL +DEFAULT +8 \.tbss +.* SECTION +LOCAL +DEFAULT +9 \.dynamic +.* SECTION +LOCAL +DEFAULT +10 \.got +.* SECTION +LOCAL +DEFAULT +11 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK .* TLS +LOCAL +DEFAULT +7 gd4 diff --git a/ld/testsuite/ld-powerpc/tlstocso.r b/ld/testsuite/ld-powerpc/tlstocso.r index 026d483fcac..1011b7c347f 100644 --- a/ld/testsuite/ld-powerpc/tlstocso.r +++ b/ld/testsuite/ld-powerpc/tlstocso.r @@ -84,6 +84,18 @@ Symbol table '\.dynsym' contains [0-9]+ entries: Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * +.* SECTION +LOCAL +DEFAULT +1 \.hash +.* SECTION +LOCAL +DEFAULT +2 \.dynsym +.* SECTION +LOCAL +DEFAULT +3 \.dynstr +.* SECTION +LOCAL +DEFAULT +4 \.rela\.dyn +.* SECTION +LOCAL +DEFAULT +5 \.rela\.plt +.* SECTION +LOCAL +DEFAULT +6 \.text +.* SECTION +LOCAL +DEFAULT +7 \.tdata +.* SECTION +LOCAL +DEFAULT +8 \.tbss +.* SECTION +LOCAL +DEFAULT +9 \.dynamic +.* SECTION +LOCAL +DEFAULT +10 \.opd +.* SECTION +LOCAL +DEFAULT +11 \.got +.* SECTION +LOCAL +DEFAULT +12 \.plt .* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +7 gd4 .* TLS +LOCAL +DEFAULT +7 ld4 |