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