aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlsexe32.r
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-03-16 21:52:48 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-03-16 21:52:48 +0000
commit57316bff0a1aebca7c9f92d125e5366014f0bb1a (patch)
tree4a49b5bee243f75a41d85143644c1e99f1ef271b /ld/testsuite/ld-powerpc/tlsexe32.r
parent199fea98c99205f0fd3d2d3fd1a2670bdfe8a326 (diff)
downloadgdb-57316bff0a1aebca7c9f92d125e5366014f0bb1a.zip
gdb-57316bff0a1aebca7c9f92d125e5366014f0bb1a.tar.gz
gdb-57316bff0a1aebca7c9f92d125e5366014f0bb1a.tar.bz2
bfd/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_mark_used_section): New. (bfd_elf_gc_sections): Call elf_gc_mark_section for non-relocatable link if we don't do GC. include/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Add gc_sections. ld/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove unused empty output sections for non-relocatable link. * ld.h (args_type): Remove gc_sections. * ldlang.c (lang_mark_used_section): New. (lang_gc_sections): Use link_info.gc_sections instead of command_line.gc_sections. * ldmain.c (main): Likewise. * lexsup.c (parse_args): Likewise. * ldlang.c (lang_process): Call lang_mark_used_section. * ldmain.c (main): Initialize link_info.gc_sections to FALSE. ld/testsuite/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * ld-alpha/tlsbin.rd: Updated for empty section removal. * ld-alpha/tlsbinr.rd: Likewise. * ld-alpha/tlspic.rd: Likewise. * ld-arm/mixed-lib.sym: Likewise. * ld-i386/tlsbin.rd: Likewise. * ld-i386/tlsnopic.rd: Likewise. * ld-i386/tlspic.rd: Likewise. * ld-ia64/tlsbin.rd: Likewise. * ld-ia64/tlspic.rd: Likewise. * ld-powerpc/apuinfo.rd: Likewise. * ld-powerpc/powerpc.exp: Likewise. * ld-powerpc/tlsexe32.r: Likewise. * ld-s390/tlsbin.rd: Likewise. * ld-s390/tlsbin_64.rd: Likewise. * ld-s390/tlspic.rd: Likewise. * ld-s390/tlspic_64.rd: Likewise. * ld-sh/tlsbin-2.d: Likewise. * ld-sh/tlspic-2.d: Likewise. * ld-sparc/tlssunbin32.rd: Likewise. * ld-sparc/tlssunnopic32.rd: Likewise. * ld-sparc/tlssunpic32.rd: Likewise. * ld-x86-64/tlsbin.rd: Likewise. * ld-x86-64/tlspic.rd: Likewise.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsexe32.r')
-rw-r--r--ld/testsuite/ld-powerpc/tlsexe32.r110
1 files changed, 52 insertions, 58 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r
index 1ee352b..f5c280e 100644
--- a/ld/testsuite/ld-powerpc/tlsexe32.r
+++ b/ld/testsuite/ld-powerpc/tlsexe32.r
@@ -5,7 +5,7 @@
#readelf: -WSsrl
#target: powerpc*-*-*
-There are 21 section headers.*
+There are 18 section headers.*
Section Headers:
+\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
@@ -21,15 +21,12 @@ Section Headers:
+\[ 9\] \.tdata +PROGBITS +018102b4 0002b4 00001c 00 WAT +0 +0 +4
+\[10\] \.tbss +NOBITS +018102d0 0002d0 00001c 00 WAT +0 +0 +4
+\[11\] \.dynamic +DYNAMIC +018102d0 0002d0 0000a0 08 +WA +4 +0 +4
- +\[12\] \.data +PROGBITS +01810370 000370 000000 00 +WA +0 +0 +1
- +\[13\] \.got +PROGBITS +01810370 000370 00001c 04 WAX +0 +0 +4
- +\[14\] \.sdata +PROGBITS +0181038c 00038c 000000 00 +WA +0 +0 +4
- +\[15\] \.sbss +NOBITS +0181038c 00038c 000000 00 +WA +0 +0 +1
- +\[16\] \.plt +NOBITS +.*
- +\[17\] \.bss +NOBITS +.*
- +\[18\] \.shstrtab +STRTAB +.*
- +\[19\] \.symtab +SYMTAB +.*
- +\[20\] \.strtab +STRTAB +.*
+ +\[12\] \.got +PROGBITS +01810370 000370 00001c 04 WAX +0 +0 +4
+ +\[13\] \.sdata +PROGBITS +0181038c 00038c 000000 00 +WA +0 +0 +4
+ +\[14\] \.plt +NOBITS +.*
+ +\[15\] \.shstrtab +STRTAB +.*
+ +\[16\] \.symtab +SYMTAB +.*
+ +\[17\] \.strtab +STRTAB +.*
#...
Elf file type is EXEC \(Executable file\)
@@ -76,52 +73,49 @@ Symbol table '\.dynsym' contains 9 entries:
+7: 0181038c +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
+8: 018103e0 +0 NOTYPE +GLOBAL DEFAULT +ABS _end
-Symbol table '\.symtab' contains 47 entries:
+Symbol table '\.symtab' contains 44 entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name
- +0: 00000000 +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: 01800244 +0 SECTION LOCAL +DEFAULT +7
- +8: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8
- +9: 018102b4 +0 SECTION LOCAL +DEFAULT +9
- +10: 018102d0 +0 SECTION LOCAL +DEFAULT +10
- +11: 018102d0 +0 SECTION LOCAL +DEFAULT +11
- +12: 01810370 +0 SECTION LOCAL +DEFAULT +12
- +13: 01810370 +0 SECTION LOCAL +DEFAULT +13
- +14: 0181038c +0 SECTION LOCAL +DEFAULT +14
- +15: 0181038c +0 SECTION LOCAL +DEFAULT +15
- +16: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16
- +17: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +17
- +18: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +18
- +19: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +19
- +20: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +20
- +21: 00000000 +0 TLS +LOCAL +DEFAULT +9 gd4
- +22: 00000004 +0 TLS +LOCAL +DEFAULT +9 ld4
- +23: 00000008 +0 TLS +LOCAL +DEFAULT +9 ld5
- +24: 0000000c +0 TLS +LOCAL +DEFAULT +9 ld6
- +25: 00000010 +0 TLS +LOCAL +DEFAULT +9 ie4
- +26: 00000014 +0 TLS +LOCAL +DEFAULT +9 le4
- +27: 00000018 +0 TLS +LOCAL +DEFAULT +9 le5
- +28: 018102d0 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
- +29: 00000000 +0 TLS +GLOBAL DEFAULT +UND gd
- +30: 00000030 +0 TLS +GLOBAL DEFAULT +10 le0
- +31: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
- +32: 00000020 +0 TLS +GLOBAL DEFAULT +10 ld0
- +33: 00000034 +0 TLS +GLOBAL DEFAULT +10 le1
- +34: 00000000 +0 TLS +GLOBAL DEFAULT +UND ld
- +35: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +7 _start
- +36: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __end
- +37: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +14 _SDA_BASE_
- +38: 00000028 +0 TLS +GLOBAL DEFAULT +10 ld2
- +39: 00000024 +0 TLS +GLOBAL DEFAULT +10 ld1
- +40: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
- +41: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
- +42: 01810374 +0 OBJECT +GLOBAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_
- +43: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
- +44: 0000001c +0 TLS +GLOBAL DEFAULT +10 gd0
- +45: 0000002c +0 TLS +GLOBAL DEFAULT +10 ie0
- +46: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +8 _SDA2_BASE_
+ +[0-9]+: 00000000 +0 NOTYPE +LOCAL +DEFAULT +UND
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +2
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +3
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +4
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +5
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6
+ +[0-9]+: 01800244 +0 SECTION LOCAL +DEFAULT +7
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8
+ +[0-9]+: 018102b4 +0 SECTION LOCAL +DEFAULT +9
+ +[0-9]+: 018102d0 +0 SECTION LOCAL +DEFAULT +10
+ +[0-9]+: 018102d0 +0 SECTION LOCAL +DEFAULT +11
+ +[0-9]+: 01810370 +0 SECTION LOCAL +DEFAULT +12
+ +[0-9]+: 0181038c +0 SECTION LOCAL +DEFAULT +13
+ +[0-9]+: 0181038c +0 SECTION LOCAL +DEFAULT +14
+ +[0-9]+: 00000000 +0 SECTION LOCAL +DEFAULT +15
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +17
+ +[0-9]+: 00000000 +0 TLS +LOCAL +DEFAULT +9 gd4
+ +[0-9]+: 00000004 +0 TLS +LOCAL +DEFAULT +9 ld4
+ +[0-9]+: 00000008 +0 TLS +LOCAL +DEFAULT +9 ld5
+ +[0-9]+: 0000000c +0 TLS +LOCAL +DEFAULT +9 ld6
+ +[0-9]+: 00000010 +0 TLS +LOCAL +DEFAULT +9 ie4
+ +[0-9]+: 00000014 +0 TLS +LOCAL +DEFAULT +9 le4
+ +[0-9]+: 00000018 +0 TLS +LOCAL +DEFAULT +9 le5
+ +[0-9]+: 018102d0 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+ +[0-9]+: 00000000 +0 TLS +GLOBAL DEFAULT +UND gd
+ +[0-9]+: 00000030 +0 TLS +GLOBAL DEFAULT +10 le0
+ +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
+ +[0-9]+: 00000020 +0 TLS +GLOBAL DEFAULT +10 ld0
+ +[0-9]+: 00000034 +0 TLS +GLOBAL DEFAULT +10 le1
+ +[0-9]+: 00000000 +0 TLS +GLOBAL DEFAULT +UND ld
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +7 _start
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __end
+ +[0-9]+: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +13 _SDA_BASE_
+ +[0-9]+: 00000028 +0 TLS +GLOBAL DEFAULT +10 ld2
+ +[0-9]+: 00000024 +0 TLS +GLOBAL DEFAULT +10 ld1
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
+ +[0-9]+: 01810374 +0 OBJECT +GLOBAL +HIDDEN +12 _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
+ +[0-9]+: 0000001c +0 TLS +GLOBAL DEFAULT +10 gd0
+ +[0-9]+: 0000002c +0 TLS +GLOBAL DEFAULT +10 ie0
+ +[0-9]+: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +8 _SDA2_BASE_