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