1#source: tlsnopic1.s 2#source: tlsnopic2.s 3#as: --32 4#ld: -shared -melf_i386 --no-ld-generated-unwind-info 5#readelf: -Ssrl 6#target: i?86-*-* 7 8There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: 9 10Section Headers: 11 +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al 12 +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 13 +\[[ 0-9]+\] \.hash +.* 14 +\[[ 0-9]+\] \.dynsym +.* 15 +\[[ 0-9]+\] \.dynstr +.* 16 +\[[ 0-9]+\] \.rel.dyn +.* 17 +\[[ 0-9]+\] \.text +PROGBITS +0+1000 .* 18 +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000024 00 WAT +0 +0 +1 19 +\[[ 0-9]+\] \.dynamic +DYNAMIC +0+20f4 .* 20 +\[[ 0-9]+\] \.got +PROGBITS +0+2174 .* 21 +\[[ 0-9]+\] \.got.plt +PROGBITS +0+218c .* 22 +\[[ 0-9]+\] \.shstrtab +.* 23 +\[[ 0-9]+\] \.symtab +.* 24 +\[[ 0-9]+\] \.strtab +.* 25Key to Flags: 26#... 27 28Elf file type is DYN \(Shared object file\) 29Entry point 0x1000 30There are [0-9]+ program headers, starting at offset [0-9]+ 31 32Program Headers: 33 +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align 34 +LOAD.* 35 +LOAD.* 36 +DYNAMIC.* 37 +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1 38 39 Section to Segment mapping: 40 +Segment Sections... 41 +00 +.hash .dynsym .dynstr .rel.dyn .text * 42 +01 +.dynamic .got .got.plt * 43 +02 +.dynamic * 44 +03 +.tbss * 45 46Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: 47 Offset +Info +Type +Sym.Value +Sym. Name 48[0-9a-f ]+R_386_RELATIVE + 49[0-9a-f ]+R_386_RELATIVE + 50[0-9a-f ]+R_386_RELATIVE + 51[0-9a-f ]+R_386_RELATIVE + 52[0-9a-f ]+R_386_RELATIVE + 53[0-9a-f ]+R_386_RELATIVE + 54[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sg3 55[0-9a-f ]+R_386_TLS_TPOFF32 56[0-9a-f ]+R_386_TLS_TPOFF + 57[0-9a-f ]+R_386_TLS_TPOFF + 58[0-9a-f ]+R_386_TLS_TPOFF + 59[0-9a-f ]+R_386_TLS_TPOFF + 60[0-9a-f ]+R_386_TLS_TPOFF + 61[0-9a-f ]+R_386_TLS_TPOFF + 62[0-9a-f ]+R_386_TLS_TPOFF + 63[0-9a-f ]+R_386_TLS_TPOFF + 64[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg4 65[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg5 66[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg1 67[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg2 68 69 70Symbol table '\.dynsym' contains [0-9]+ entries: 71 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 72 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * 73 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3 74 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4 75 +[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +5 fn3 76 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5 77 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1 78 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start 79 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2 80 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata 81 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end 82 83Symbol table '\.symtab' contains [0-9]+ entries: 84 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 85 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * 86 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * 87 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * 88 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * 89 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * 90 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * 91 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * 92 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * 93 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * 94 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * 95.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsnopic1.o 96 +[0-9]+: 0+00 +0 +TLS +LOCAL +DEFAULT +6 bl1 97 +[0-9]+: 0+04 +0 +TLS +LOCAL +DEFAULT +6 bl2 98 +[0-9]+: 0+08 +0 +TLS +LOCAL +DEFAULT +6 bl3 99 +[0-9]+: 0+0c +0 +TLS +LOCAL +DEFAULT +6 bl4 100 +[0-9]+: 0+10 +0 +TLS +LOCAL +DEFAULT +6 bl5 101.* FILE +LOCAL +DEFAULT +ABS 102 +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +7 _DYNAMIC 103 +[0-9]+: 0+1c +0 +TLS +LOCAL +DEFAULT +6 sh3 104 +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +6 sh4 105 +[0-9]+: 0+14 +0 +TLS +LOCAL +DEFAULT +6 sh1 106 +[0-9]+: 0+218c +0 +OBJECT +LOCAL +DEFAULT +9 _GLOBAL_OFFSET_TABLE_ 107 +[0-9]+: 0+18 +0 +TLS +LOCAL +DEFAULT +6 sh2 108 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3 109 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4 110 +[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +5 fn3 111 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5 112 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1 113 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start 114 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2 115 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata 116 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end 117