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