Home | History | Annotate | Download | only in ld-x86-64
      1 #source: tlsgdesc.s
      2 #as: --64
      3 #ld: -shared -melf64_x86_64_nacl --no-ld-generated-unwind-info
      4 #readelf: -WSsrl
      5 #target: x86_64-*-nacl*
      6 
      7 There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
      8 
      9 Section 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]+\] \.plt +.*
     13  +\[[ 0-9]+\] \.text +.*
     14  +\[[ 0-9]+\] \.hash +.*
     15  +\[[ 0-9]+\] \.dynsym +.*
     16  +\[[ 0-9]+\] \.dynstr +.*
     17  +\[[ 0-9]+\] \.rela.dyn +.*
     18  +\[[ 0-9]+\] \.rela.plt +.*
     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 +.*
     25 Key to Flags:
     26 .*
     27 .*
     28 .*
     29 
     30 Elf file type is DYN \(Shared object file\)
     31 Entry point 0x[0-9a-f]+
     32 There are [0-9]+ program headers, starting at offset [0-9]+
     33 
     34 Program Headers:
     35  +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
     36  +LOAD.*
     37  +LOAD.*
     38  +LOAD.*
     39  +DYNAMIC.*
     40 
     41  Section to Segment mapping:
     42  +Segment Sections...
     43  +00 +.plt .text *
     44  +01 +.hash .dynsym .dynstr .rela.dyn .rela.plt *
     45  +02 +.dynamic .got .got.plt *
     46  +03 +.dynamic *
     47 
     48 Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries:
     49  +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
     50 [0-9a-f]+ +0+200000012 R_X86_64_TPOFF64 +0+ sG3 \+ 0
     51 [0-9a-f]+ +0+300000012 R_X86_64_TPOFF64 +0+ sG5 \+ 0
     52 [0-9a-f]+ +0+400000010 R_X86_64_DTPMOD64 +0+ sG2 \+ 0
     53 [0-9a-f]+ +0+400000011 R_X86_64_DTPOFF64 +0+ sG2 \+ 0
     54 [0-9a-f]+ +0+500000012 R_X86_64_TPOFF64 +0+ sG4 \+ 0
     55 [0-9a-f]+ +0+800000012 R_X86_64_TPOFF64 +0+ sG6 \+ 0
     56 [0-9a-f]+ +0+a00000010 R_X86_64_DTPMOD64 +0+ sG1 \+ 0
     57 [0-9a-f]+ +0+a00000011 R_X86_64_DTPOFF64 +0+ sG1 \+ 0
     58 
     59 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 3 entries:
     60  +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
     61 [0-9a-f]+ +0+600000007 R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0
     62 [0-9a-f]+ +0+a00000024 R_X86_64_TLSDESC +0+ sG1 \+ 0
     63 [0-9a-f]+ +0+400000024 R_X86_64_TLSDESC +0+ sG2 \+ 0
     64 
     65 Symbol table '\.dynsym' contains [0-9]+ entries:
     66  +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
     67  +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
     68  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
     69  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
     70  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5
     71  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
     72  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4
     73  +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
     74  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_start
     75  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6
     76  +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +2 fc1
     77  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
     78  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata
     79  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end
     80 
     81 Symbol table '\.symtab' contains [0-9]+ entries:
     82  +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
     83  +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
     84  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
     85  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
     86  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
     87  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
     88  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
     89  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
     90  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
     91  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
     92  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
     93  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
     94  +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +8 _DYNAMIC
     95  +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_
     96  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
     97  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5
     98  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
     99  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4
    100  +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
    101  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_start
    102  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6
    103  +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +2 fc1
    104  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
    105  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata
    106  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end
    107