aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlsexe32.r
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-07-24 15:34:55 +0930
committerAlan Modra <amodra@gmail.com>2021-07-24 17:59:52 +0930
commitc09c8b42021180eee9495bd50d8b35e683d3901b (patch)
tree84452244c58664fa946c9d820d14a6de9279e7b7 /ld/testsuite/ld-powerpc/tlsexe32.r
parent553dd76c7e49e3e6afb528ff865589da8f6f3e1c (diff)
downloadgdb-c09c8b42021180eee9495bd50d8b35e683d3901b.zip
gdb-c09c8b42021180eee9495bd50d8b35e683d3901b.tar.gz
gdb-c09c8b42021180eee9495bd50d8b35e683d3901b.tar.bz2
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/testsuite/ld-powerpc/tlsexe32.r')
-rw-r--r--ld/testsuite/ld-powerpc/tlsexe32.r12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r
index 9017069..43db737 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