1#source: tlspic1.s 2#source: tlspic2.s 3#as: -m31 4#ld: -shared -melf_s390 5#readelf: -Ssrl 6#target: s390-*-* 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+ 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.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 .* 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 .* R E 0x1000 37 +LOAD .* RW +0x1000 38 +DYNAMIC .* RW +0x4 39 +TLS .* 0x0+60 0x0+80 R +0x20 40 41 Section to Segment mapping: 42 +Segment Sections... 43 +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text 44 +01 +.tdata .dynamic .got 45 +02 +.dynamic 46 +03 +.tdata .tbss 47 48Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: 49 Offset +Info +Type +Sym.Value +Sym. Name \+ Addend 50[0-9a-f ]+R_390_TLS_DTPMOD +0 51[0-9a-f ]+R_390_TLS_TPOFF +24 52[0-9a-f ]+R_390_TLS_TPOFF +30 53[0-9a-f ]+R_390_TLS_DTPMOD +0 54[0-9a-f ]+R_390_TLS_DTPMOD +0 55[0-9a-f ]+R_390_TLS_TPOFF +64 56[0-9a-f ]+R_390_TLS_TPOFF +50 57[0-9a-f ]+R_390_TLS_TPOFF +70 58[0-9a-f ]+R_390_TLS_DTPMOD +0 59[0-9a-f ]+R_390_TLS_TPOFF +44 60[0-9a-f ]+R_390_TLS_TPOFF +0+10 +sg5 \+ 0 61[0-9a-f ]+R_390_TLS_DTPMOD +0+ +sg1 \+ 0 62[0-9a-f ]+R_390_TLS_DTPOFF +0+ +sg1 \+ 0 63[0-9a-f ]+R_390_TLS_TPOFF +0+4 +sg2 \+ 0 64 65Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: 66 Offset +Info +Type +Sym.Value +Sym. Name \+ Addend 67[0-9a-f ]+R_390_JMP_SLOT +0+ +__tls_get_offset \+ 0 68 69Symbol table '\.dynsym' contains [0-9]+ entries: 70 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 71.* NOTYPE +LOCAL +DEFAULT +UND 72.* SECTION +LOCAL +DEFAULT +7 73.* SECTION +LOCAL +DEFAULT +8 74.* TLS +GLOBAL +DEFAULT +8 sg8 75.* TLS +GLOBAL +DEFAULT +8 sg3 76.* TLS +GLOBAL +DEFAULT +8 sg4 77.* TLS +GLOBAL +DEFAULT +8 sg5 78.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset 79.* TLS +GLOBAL +DEFAULT +8 sg1 80.* FUNC +GLOBAL +DEFAULT +7 fn1 81.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start 82.* TLS +GLOBAL +DEFAULT +8 sg2 83.* TLS +GLOBAL +DEFAULT +8 sg6 84.* TLS +GLOBAL +DEFAULT +8 sg7 85.* NOTYPE +GLOBAL +DEFAULT +11 _edata 86.* NOTYPE +GLOBAL +DEFAULT +11 _end 87 88Symbol table '\.symtab' contains [0-9]+ entries: 89 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 90.* NOTYPE +LOCAL +DEFAULT +UND 91.* SECTION +LOCAL +DEFAULT +1 92.* SECTION +LOCAL +DEFAULT +2 93.* SECTION +LOCAL +DEFAULT +3 94.* SECTION +LOCAL +DEFAULT +4 95.* SECTION +LOCAL +DEFAULT +5 96.* SECTION +LOCAL +DEFAULT +6 97.* SECTION +LOCAL +DEFAULT +7 98.* SECTION +LOCAL +DEFAULT +8 99.* SECTION +LOCAL +DEFAULT +9 100.* SECTION +LOCAL +DEFAULT +10 101.* SECTION +LOCAL +DEFAULT +11 102.* FILE +LOCAL +DEFAULT +ABS .* 103.* TLS +LOCAL +DEFAULT +8 sl1 104.* TLS +LOCAL +DEFAULT +8 sl2 105.* TLS +LOCAL +DEFAULT +8 sl3 106.* TLS +LOCAL +DEFAULT +8 sl4 107.* TLS +LOCAL +DEFAULT +8 sl5 108.* TLS +LOCAL +DEFAULT +8 sl6 109.* TLS +LOCAL +DEFAULT +8 sl7 110.* TLS +LOCAL +DEFAULT +8 sl8 111.* FILE +LOCAL +DEFAULT +ABS 112.* TLS +LOCAL +DEFAULT +9 sH1 113.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC 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.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ 128.* TLS +LOCAL +DEFAULT +8 sh2 129.* TLS +LOCAL +DEFAULT +8 sh6 130.* TLS +GLOBAL +DEFAULT +8 sg8 131.* TLS +GLOBAL +DEFAULT +8 sg3 132.* TLS +GLOBAL +DEFAULT +8 sg4 133.* TLS +GLOBAL +DEFAULT +8 sg5 134.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset 135.* TLS +GLOBAL +DEFAULT +8 sg1 136.* FUNC +GLOBAL +DEFAULT +7 fn1 137.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start 138.* TLS +GLOBAL +DEFAULT +8 sg2 139.* TLS +GLOBAL +DEFAULT +8 sg6 140.* TLS +GLOBAL +DEFAULT +8 sg7 141.* NOTYPE +GLOBAL +DEFAULT +11 _edata 142.* NOTYPE +GLOBAL +DEFAULT +11 _end 143