1#source: tlsgdesc.s 2#as: --64 3#ld: -shared -melf64_x86_64 --no-ld-generated-unwind-info 4#readelf: -WSsrl 5#target: x86_64-*-* 6 7There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: 8 9Section Headers: 10 +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al 11 +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 12 +\[[ 0-9]+\] \.hash +.* 13 +\[[ 0-9]+\] \.dynsym +.* 14 +\[[ 0-9]+\] \.dynstr +.* 15 +\[[ 0-9]+\] \.rela.dyn +.* 16 +\[[ 0-9]+\] \.rela.plt +.* 17 +\[[ 0-9]+\] \.plt +.* 18 +\[[ 0-9]+\] \.text +.* 19 +\[[ 0-9]+\] \.dynamic +.* 20 +\[[ 0-9]+\] \.got +.* 21 +\[[ 0-9]+\] \.got.plt +.* 22 +\[[ 0-9]+\] \.shstrtab +.* 23 +\[[ 0-9]+\] \.symtab +.* 24 +\[[ 0-9]+\] \.strtab +.* 25Key to Flags: 26#... 27 28Elf file type is DYN \(Shared object file\) 29Entry point 0x[0-9a-f]+ 30There are [0-9]+ program headers, starting at offset [0-9]+ 31 32Program Headers: 33 +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align 34 +LOAD.* 35 +LOAD.* 36 +DYNAMIC.* 37 38 Section to Segment mapping: 39 +Segment Sections... 40 +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * 41 +01 +.dynamic .got .got.plt * 42 +02 +.dynamic * 43 44Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries: 45 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend 46[0-9a-f]+ +0+100000012 R_X86_64_TPOFF64 +0+ sG3 \+ 0 47[0-9a-f]+ +0+200000012 R_X86_64_TPOFF64 +0+ sG5 \+ 0 48[0-9a-f]+ +0+300000010 R_X86_64_DTPMOD64 +0+ sG2 \+ 0 49[0-9a-f]+ +0+300000011 R_X86_64_DTPOFF64 +0+ sG2 \+ 0 50[0-9a-f]+ +0+400000012 R_X86_64_TPOFF64 +0+ sG4 \+ 0 51[0-9a-f]+ +0+700000012 R_X86_64_TPOFF64 +0+ sG6 \+ 0 52[0-9a-f]+ +0+900000010 R_X86_64_DTPMOD64 +0+ sG1 \+ 0 53[0-9a-f]+ +0+900000011 R_X86_64_DTPOFF64 +0+ sG1 \+ 0 54 55Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 3 entries: 56 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend 57[0-9a-f]+ +0+500000007 R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0 58[0-9a-f]+ +0+900000024 R_X86_64_TLSDESC +0+ sG1 \+ 0 59[0-9a-f]+ +0+300000024 R_X86_64_TLSDESC +0+ sG2 \+ 0 60 61Symbol table '\.dynsym' contains [0-9]+ entries: 62 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 63 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * 64 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 65 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 66 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 67 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 68 +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr 69 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start 70 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 71 +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fc1 72 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 73 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata 74 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end 75 76Symbol table '\.symtab' contains [0-9]+ entries: 77 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 78 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * 79 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 * 80 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * 81 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * 82 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * 83 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * 84 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * 85 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * 86 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * 87 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * 88 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 * 89 +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +8 _DYNAMIC 90 +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_ 91 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 92 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 93 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 94 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 95 +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr 96 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start 97 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 98 +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fc1 99 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 100 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata 101 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end 102