1#source: tlsdesc.s 2#source: tlspic2.s 3#as: --32 4#ld: -shared -melf_i386_nacl --no-ld-generated-unwind-info 5#readelf: -Ssrl 6#target: i?86-*-nacl* 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]+\] \.text +.* 14 +\[[ 0-9]+\] \.hash +.* 15 +\[[ 0-9]+\] \.dynsym +.* 16 +\[[ 0-9]+\] \.dynstr +.* 17 +\[[ 0-9]+\] \.rel.dyn +.* 18 +\[[ 0-9]+\] \.rel.plt +.* 19 +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT +0 +0 +1 20 +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT +0 +0 +1 21 +\[[ 0-9]+\] \.dynamic +.* 22 +\[[ 0-9]+\] \.got +.* 23 +\[[ 0-9]+\] \.got.plt +.* 24 +\[[ 0-9]+\] \.shstrtab +.* 25 +\[[ 0-9]+\] \.symtab +.* 26 +\[[ 0-9]+\] \.strtab +.* 27Key to Flags: 28#... 29 30Elf file type is DYN \(Shared object file\) 31Entry point 0x[0-9a-f]+ 32There are [0-9]+ program headers, starting at offset [0-9]+ 33 34Program Headers: 35 +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align 36 +LOAD.* 37 +LOAD.* 38 +LOAD.* 39 +DYNAMIC.* 40 +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 41 42 Section to Segment mapping: 43 +Segment Sections... 44 +00 +.text * 45 +01 +.hash .dynsym .dynstr .rel.dyn .rel.plt * 46 +02 +.tdata .dynamic .got .got.plt * 47 +03 +.dynamic * 48 +04 +.tdata .tbss * 49 50Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: 51 Offset +Info +Type +Sym.Value +Sym. Name 52[0-9a-f ]+R_386_TLS_TPOFF32 53[0-9a-f ]+R_386_TLS_TPOFF * 54[0-9a-f ]+R_386_TLS_TPOFF32 55[0-9a-f ]+R_386_TLS_TPOFF * 56[0-9a-f ]+R_386_TLS_TPOFF * 57[0-9a-f ]+R_386_TLS_TPOFF * 58[0-9a-f ]+R_386_TLS_TPOFF32 59[0-9a-f ]+R_386_TLS_TPOFF32 60[0-9a-f ]+R_386_TLS_TPOFF * 61[0-9a-f ]+R_386_TLS_TPOFF32 62[0-9a-f ]+R_386_TLS_TPOFF * 63[0-9a-f ]+R_386_TLS_TPOFF * 64[0-9a-f ]+R_386_TLS_TPOFF * 65[0-9a-f ]+R_386_TLS_TPOFF * 66[0-9a-f ]+R_386_TLS_TPOFF32 67[0-9a-f ]+R_386_TLS_TPOFF +0+8 +sg3 68[0-9a-f ]+R_386_TLS_TPOFF32 0+c +sg4 69[0-9a-f ]+R_386_TLS_TPOFF +0+c +sg4 70[0-9a-f ]+R_386_TLS_TPOFF +0+10 +sg5 71[0-9a-f ]+R_386_TLS_TPOFF32 0+4 +sg2 72 73Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 5 entries: 74 Offset +Info +Type +Sym.Value +Sym. Name 75[0-9a-f ]+R_386_TLS_DESC * 0+ +sg1 76[0-9a-f ]+R_386_TLS_DESC * 77[0-9a-f ]+R_386_TLS_DESC * 78[0-9a-f ]+R_386_TLS_DESC * 79[0-9a-f ]+R_386_TLS_DESC * 80 81Symbol table '\.dynsym' contains [0-9]+ entries: 82 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 83 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * 84 +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 85 +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 86 +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 87 +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 88 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 89 +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +1 fn1 90 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __bss_start 91 +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 92 +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 93 +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 94 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata 95 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _end 96 97Symbol table '\.symtab' contains [0-9]+ entries: 98 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 99 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * 100 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * 101 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * 102 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * 103 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * 104 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * 105 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * 106 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * 107 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * 108 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * 109 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * 110 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 * 111.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsdesc.o 112 +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +7 sl1 113 +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2 114 +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +7 sl3 115 +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +7 sl4 116 +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +7 sl5 117 +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6 118 +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7 119 +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8 120.* FILE +LOCAL +DEFAULT +ABS 121 +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +8 sH1 122 +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_ 123 +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC 124 +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +7 sh3 125 +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +8 sH2 126 +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +8 sH7 127 +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +7 sh7 128 +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +7 sh8 129 +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +8 sH4 130 +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +7 sh4 131 +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +8 sH3 132 +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +7 sh5 133 +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +8 sH5 134 +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +8 sH6 135 +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +8 sH8 136 +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +7 sh1 137 +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_ 138 +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +7 sh2 139 +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +7 sh6 140 +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 141 +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 142 +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 143 +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 144 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 145 +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +1 fn1 146 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __bss_start 147 +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 148 +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 149 +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 150 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata 151 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _end 152