1#source: tlspic1.s 2#source: tlspic2.s 3#as: 4#ld: -shared 5#readelf: -WSsrl 6#target: ia64-*-* 7 8There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: 9 10Section Headers: 11 +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al 12 +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 13 +\[[ 0-9]+\] .hash +.* 14 +\[[ 0-9]+\] .dynsym +.* 15 +\[[ 0-9]+\] .dynstr +.* 16 +\[[ 0-9]+\] .rela.dyn +.* 17 +\[[ 0-9]+\] .rela.IA_64.pltoff +.* 18 +\[[ 0-9]+\] .plt +.* 19 +\[[ 0-9]+\] .text +PROGBITS +0+1000 0+1000 0+110 00 +AX +0 +0 4096 20 +\[[ 0-9]+\] .IA_64.unwind_info +.* 21 +\[[ 0-9]+\] .IA_64.unwind +.* 22 +\[[ 0-9]+\] .tdata +PROGBITS +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+60 00 WAT +0 +0 +4 23 +\[[ 0-9]+\] .tbss +NOBITS +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+20 00 WAT +0 +0 +1 24 +\[[ 0-9]+\] .dynamic +DYNAMIC +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+140 10 +WA +3 +0 +8 25 +\[[ 0-9]+\] .got +PROGBITS +0+112d8 0+12d8 0+50 00 WAp +0 +0 +8 26 +\[[ 0-9]+\] .IA_64.pltoff +.* 27 +\[[ 0-9]+\] .shstrtab +.* 28 +\[[ 0-9]+\] .symtab +.* 29 +\[[ 0-9]+\] .strtab +.* 30Key to Flags: 31#... 32 33Elf file type is DYN \(Shared object file\) 34Entry point 0x1000 35There are [0-9]+ program headers, starting at offset [0-9]+ 36 37Program Headers: 38 +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align 39 +LOAD +0x0+ 0x0+ 0x0+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ R E 0x10000 40 +LOAD +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+0[0-9a-f]+ 0x0+0[0-9a-f]+ RW +0x10000 41 +DYNAMIC +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+140 0x0+140 RW +0x8 42 +TLS +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+60 0x0+80 R +0x4 43 +IA_64_UNWIND +0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ 0x0+18 0x0+18 R +0x8 44#... 45 46Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 6 entries: 47 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend 48[0-9a-f ]+R_IA64_DTPMOD64LSB +0+ sg1 \+ 0 49[0-9a-f ]+R_IA64_DTPREL64LSB +0+ sg1 \+ 0 50[0-9a-f ]+R_IA64_TPREL64LSB +0+4 sg2 \+ 0 51[0-9a-f ]+R_IA64_DTPMOD64LSB +0 52[0-9a-f ]+R_IA64_TPREL64LSB +44 53[0-9a-f ]+R_IA64_TPREL64LSB +24 54 55Relocation section '.rela.IA_64.pltoff' at offset 0x[0-9a-f]+ contains 1 entries: 56 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend 57[0-9a-f ]+R_IA64_IPLTLSB +0+ __tls_get_addr \+ 0 58 59Symbol table '\.dynsym' contains [0-9]+ entries: 60 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 61.* NOTYPE +LOCAL +DEFAULT +UND * 62.* TLS +GLOBAL +DEFAULT +10 sg8 63.* TLS +GLOBAL +DEFAULT +10 sg3 64.* TLS +GLOBAL +DEFAULT +10 sg4 65.* TLS +GLOBAL +DEFAULT +10 sg5 66.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr 67.* TLS +GLOBAL +DEFAULT +10 sg1 68.* FUNC +GLOBAL +DEFAULT +7 fn1 69.* NOTYPE +GLOBAL +DEFAULT +14 __bss_start 70.* TLS +GLOBAL +DEFAULT +10 sg2 71.* TLS +GLOBAL +DEFAULT +10 sg6 72.* TLS +GLOBAL +DEFAULT +10 sg7 73.* NOTYPE +GLOBAL +DEFAULT +14 _edata 74.* NOTYPE +GLOBAL +DEFAULT +14 _end 75 76Symbol table '\.symtab' contains [0-9]+ entries: 77 +Num: +Value +Size Type +Bind +Vis +Ndx Name 78.* NOTYPE +LOCAL +DEFAULT +UND * 79.* SECTION +LOCAL +DEFAULT +1 * 80.* SECTION +LOCAL +DEFAULT +2 * 81.* SECTION +LOCAL +DEFAULT +3 * 82.* SECTION +LOCAL +DEFAULT +4 * 83.* SECTION +LOCAL +DEFAULT +5 * 84.* SECTION +LOCAL +DEFAULT +6 * 85.* SECTION +LOCAL +DEFAULT +7 * 86.* SECTION +LOCAL +DEFAULT +8 * 87.* SECTION +LOCAL +DEFAULT +9 * 88.* SECTION +LOCAL +DEFAULT +10 * 89.* SECTION +LOCAL +DEFAULT +11 * 90.* SECTION +LOCAL +DEFAULT +12 * 91.* SECTION +LOCAL +DEFAULT +13 * 92.* SECTION +LOCAL +DEFAULT +14 * 93.* FILE +LOCAL +DEFAULT +ABS .* 94.* TLS +LOCAL +DEFAULT +10 sl1 95.* TLS +LOCAL +DEFAULT +10 sl2 96.* TLS +LOCAL +DEFAULT +10 sl3 97.* TLS +LOCAL +DEFAULT +10 sl4 98.* TLS +LOCAL +DEFAULT +10 sl5 99.* TLS +LOCAL +DEFAULT +10 sl6 100.* TLS +LOCAL +DEFAULT +10 sl7 101.* TLS +LOCAL +DEFAULT +10 sl8 102.* TLS +LOCAL +DEFAULT +11 sH1 103.* TLS +LOCAL +DEFAULT +10 sh3 104.* TLS +LOCAL +DEFAULT +11 sH2 105.* TLS +LOCAL +DEFAULT +11 sH7 106.* TLS +LOCAL +DEFAULT +10 sh7 107.* TLS +LOCAL +DEFAULT +10 sh8 108.* TLS +LOCAL +DEFAULT +11 sH4 109.* TLS +LOCAL +DEFAULT +10 sh4 110.* TLS +LOCAL +DEFAULT +11 sH3 111.* TLS +LOCAL +DEFAULT +10 sh5 112.* TLS +LOCAL +DEFAULT +11 sH5 113.* TLS +LOCAL +DEFAULT +11 sH6 114.* TLS +LOCAL +DEFAULT +11 sH8 115.* TLS +LOCAL +DEFAULT +10 sh1 116.* TLS +LOCAL +DEFAULT +10 sh2 117.* TLS +LOCAL +DEFAULT +10 sh6 118.* FILE +LOCAL +DEFAULT +ABS .* 119.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC 120.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ 121.* TLS +GLOBAL +DEFAULT +10 sg8 122.* TLS +GLOBAL +DEFAULT +10 sg3 123.* TLS +GLOBAL +DEFAULT +10 sg4 124.* TLS +GLOBAL +DEFAULT +10 sg5 125.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr 126.* TLS +GLOBAL +DEFAULT +10 sg1 127.* FUNC +GLOBAL +DEFAULT +7 fn1 128.* NOTYPE +GLOBAL +DEFAULT +14 __bss_start 129.* TLS +GLOBAL +DEFAULT +10 sg2 130.* TLS +GLOBAL +DEFAULT +10 sg6 131.* TLS +GLOBAL +DEFAULT +10 sg7 132.* NOTYPE +GLOBAL +DEFAULT +14 _edata 133.* NOTYPE +GLOBAL +DEFAULT +14 _end 134