1 #name: FRV TLS relocs with addends, dynamic linking, relaxing 2 #source: tls-2.s 3 #objdump: -DR -j .text -j .got -j .plt 4 #ld: tmpdir/tls-1-dep.so --relax 5 6 .*: file format elf.*frv.* 7 8 Disassembly of section \.text: 9 10 [0-9a-f ]+<_start>: 11 [0-9a-f ]+: 92 fc f8 11 setlos 0xf*fffff811,gr9 12 [0-9a-f ]+: 92 fc 08 11 setlos 0x811,gr9 13 [0-9a-f ]+: 92 c8 f0 2c ldi @\(gr15,44\),gr9 14 [0-9a-f ]+: 00 88 00 00 nop\.p 15 [0-9a-f ]+: 80 88 00 00 nop 16 [0-9a-f ]+: 92 fc f8 12 setlos 0xf*fffff812,gr9 17 [0-9a-f ]+: 80 88 00 00 nop 18 [0-9a-f ]+: 00 88 00 00 nop\.p 19 [0-9a-f ]+: 80 88 00 00 nop 20 [0-9a-f ]+: 92 fc 08 12 setlos 0x812,gr9 21 [0-9a-f ]+: 80 88 00 00 nop 22 [0-9a-f ]+: 00 88 00 00 nop\.p 23 [0-9a-f ]+: 80 88 00 00 nop 24 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9 25 [0-9a-f ]+: 92 f4 f8 12 setlo 0xf812,gr9 26 [0-9a-f ]+: 12 fc f8 13 setlos\.p 0xf*fffff813,gr9 27 [0-9a-f ]+: 80 88 00 00 nop 28 [0-9a-f ]+: 80 88 00 00 nop 29 [0-9a-f ]+: 12 fc 08 13 setlos\.p 0x813,gr9 30 [0-9a-f ]+: 80 88 00 00 nop 31 [0-9a-f ]+: 80 88 00 00 nop 32 [0-9a-f ]+: 12 f8 00 00 sethi\.p hi\(0x0\),gr9 33 [0-9a-f ]+: 80 88 00 00 nop 34 [0-9a-f ]+: 92 f4 f8 13 setlo 0xf813,gr9 35 [0-9a-f ]+: 80 88 00 00 nop 36 [0-9a-f ]+: 92 fc f8 14 setlos 0xf*fffff814,gr9 37 [0-9a-f ]+: 80 88 00 00 nop 38 [0-9a-f ]+: 92 fc 08 14 setlos 0x814,gr9 39 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9 40 [0-9a-f ]+: 92 f4 f8 14 setlo 0xf814,gr9 41 [0-9a-f ]+: 92 fc f8 21 setlos 0xf*fffff821,gr9 42 [0-9a-f ]+: 92 fc 08 21 setlos 0x821,gr9 43 [0-9a-f ]+: 92 c8 f0 14 ldi @\(gr15,20\),gr9 44 [0-9a-f ]+: 00 88 00 00 nop\.p 45 [0-9a-f ]+: 80 88 00 00 nop 46 [0-9a-f ]+: 92 fc f8 22 setlos 0xf*fffff822,gr9 47 [0-9a-f ]+: 80 88 00 00 nop 48 [0-9a-f ]+: 00 88 00 00 nop\.p 49 [0-9a-f ]+: 80 88 00 00 nop 50 [0-9a-f ]+: 92 fc 08 22 setlos 0x822,gr9 51 [0-9a-f ]+: 80 88 00 00 nop 52 [0-9a-f ]+: 00 88 00 00 nop\.p 53 [0-9a-f ]+: 80 88 00 00 nop 54 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9 55 [0-9a-f ]+: 92 f4 f8 22 setlo 0xf822,gr9 56 [0-9a-f ]+: 12 fc f8 23 setlos\.p 0xf*fffff823,gr9 57 [0-9a-f ]+: 80 88 00 00 nop 58 [0-9a-f ]+: 80 88 00 00 nop 59 [0-9a-f ]+: 12 fc 08 23 setlos\.p 0x823,gr9 60 [0-9a-f ]+: 80 88 00 00 nop 61 [0-9a-f ]+: 80 88 00 00 nop 62 [0-9a-f ]+: 12 f8 00 00 sethi\.p hi\(0x0\),gr9 63 [0-9a-f ]+: 80 88 00 00 nop 64 [0-9a-f ]+: 92 f4 f8 23 setlo 0xf823,gr9 65 [0-9a-f ]+: 80 88 00 00 nop 66 [0-9a-f ]+: 92 fc f8 24 setlos 0xf*fffff824,gr9 67 [0-9a-f ]+: 80 88 00 00 nop 68 [0-9a-f ]+: 92 fc 08 24 setlos 0x824,gr9 69 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9 70 [0-9a-f ]+: 92 f4 f8 24 setlo 0xf824,gr9 71 [0-9a-f ]+: 92 fc 00 01 setlos 0x1,gr9 72 [0-9a-f ]+: 92 fc 10 01 setlos 0x1001,gr9 73 [0-9a-f ]+: 92 c8 f0 24 ldi @\(gr15,36\),gr9 74 [0-9a-f ]+: 00 88 00 00 nop\.p 75 [0-9a-f ]+: 80 88 00 00 nop 76 [0-9a-f ]+: 92 fc 00 02 setlos 0x2,gr9 77 [0-9a-f ]+: 80 88 00 00 nop 78 [0-9a-f ]+: 00 88 00 00 nop\.p 79 [0-9a-f ]+: 80 88 00 00 nop 80 [0-9a-f ]+: 92 fc 10 02 setlos 0x1002,gr9 81 [0-9a-f ]+: 80 88 00 00 nop 82 [0-9a-f ]+: 00 88 00 00 nop\.p 83 [0-9a-f ]+: 80 88 00 00 nop 84 [0-9a-f ]+: 92 f8 00 01 sethi 0x1,gr9 85 [0-9a-f ]+: 92 f4 00 02 setlo 0x2,gr9 86 [0-9a-f ]+: 12 fc 00 03 setlos\.p 0x3,gr9 87 [0-9a-f ]+: 80 88 00 00 nop 88 [0-9a-f ]+: 80 88 00 00 nop 89 [0-9a-f ]+: 12 fc 10 03 setlos\.p 0x1003,gr9 90 [0-9a-f ]+: 80 88 00 00 nop 91 [0-9a-f ]+: 80 88 00 00 nop 92 [0-9a-f ]+: 12 f8 00 01 sethi\.p 0x1,gr9 93 [0-9a-f ]+: 80 88 00 00 nop 94 [0-9a-f ]+: 92 f4 00 03 setlo 0x3,gr9 95 [0-9a-f ]+: 80 88 00 00 nop 96 [0-9a-f ]+: 92 fc 00 04 setlos 0x4,gr9 97 [0-9a-f ]+: 80 88 00 00 nop 98 [0-9a-f ]+: 92 fc 10 04 setlos 0x1004,gr9 99 [0-9a-f ]+: 92 f8 00 01 sethi 0x1,gr9 100 [0-9a-f ]+: 92 f4 00 04 setlo 0x4,gr9 101 [0-9a-f ]+: 92 c8 f0 18 ldi @\(gr15,24\),gr9 102 [0-9a-f ]+: 92 c8 f0 1c ldi @\(gr15,28\),gr9 103 [0-9a-f ]+: 92 c8 f0 28 ldi @\(gr15,40\),gr9 104 [0-9a-f ]+: 00 88 00 00 nop\.p 105 [0-9a-f ]+: 80 88 00 00 nop 106 [0-9a-f ]+: 92 c8 f0 38 ldi @\(gr15,56\),gr9 107 [0-9a-f ]+: 80 88 00 00 nop 108 [0-9a-f ]+: 00 88 00 00 nop\.p 109 [0-9a-f ]+: 80 88 00 00 nop 110 [0-9a-f ]+: 92 c8 f0 34 ldi @\(gr15,52\),gr9 111 [0-9a-f ]+: 80 88 00 00 nop 112 [0-9a-f ]+: 00 88 00 00 nop\.p 113 [0-9a-f ]+: 80 88 00 00 nop 114 [0-9a-f ]+: 92 c8 f0 30 ldi @\(gr15,48\),gr9 115 [0-9a-f ]+: 80 88 00 00 nop 116 [0-9a-f ]+: 12 c8 f0 0c ldi\.p @\(gr15,12\),gr9 117 [0-9a-f ]+: 80 88 00 00 nop 118 [0-9a-f ]+: 80 88 00 00 nop 119 [0-9a-f ]+: 12 c8 f0 10 ldi\.p @\(gr15,16\),gr9 120 [0-9a-f ]+: 80 88 00 00 nop 121 [0-9a-f ]+: 80 88 00 00 nop 122 [0-9a-f ]+: 12 c8 f0 20 ldi\.p @\(gr15,32\),gr9 123 [0-9a-f ]+: 80 88 00 00 nop 124 [0-9a-f ]+: 80 88 00 00 nop 125 Disassembly of section \.got: 126 127 [0-9a-f ]+<(__data_start|_GLOBAL_OFFSET_TABLE_)>: 128 \.\.\. 129 [0-9a-f ]+: 00 00 00 03 add\.p gr0,gr3,gr0 130 [0-9a-f ]+: R_FRV_TLSOFF x 131 [0-9a-f ]+: 00 00 10 03 add\.p sp,gr3,gr0 132 [0-9a-f ]+: R_FRV_TLSOFF x 133 [0-9a-f ]+: 00 00 f8 21 \*unknown\* 134 [0-9a-f ]+: 00 00 00 01 add\.p gr0,sp,gr0 135 [0-9a-f ]+: R_FRV_TLSOFF x 136 [0-9a-f ]+: 00 00 10 01 add\.p sp,sp,gr0 137 [0-9a-f ]+: R_FRV_TLSOFF x 138 [0-9a-f ]+: 00 01 00 03 add\.p gr16,gr3,gr0 139 [0-9a-f ]+: R_FRV_TLSOFF x 140 [0-9a-f ]+: 00 01 00 01 add\.p gr16,sp,gr0 141 [0-9a-f ]+: 00 01 00 01 add\.p gr16,sp,gr0 142 [0-9a-f ]+: R_FRV_TLSOFF x 143 [0-9a-f ]+: 00 00 f8 11 \*unknown\* 144 [0-9a-f ]+: 00 01 00 02 add\.p gr16,fp,gr0 145 [0-9a-f ]+: R_FRV_TLSOFF x 146 [0-9a-f ]+: 00 00 10 02 add\.p sp,fp,gr0 147 [0-9a-f ]+: R_FRV_TLSOFF x 148 [0-9a-f ]+: 00 00 00 02 add\.p gr0,fp,gr0 149 [0-9a-f ]+: R_FRV_TLSOFF x 150