1 #source: tls-tiny-desc.s 2 #ld: -shared -T relocs.ld -e0 3 #objdump: -dr 4 #... 5 6 Disassembly of section .text: 7 8 0000000000010000 \<test\>: 9 +10000: 58080141 ldr x1, 20028 \<_GLOBAL_OFFSET_TABLE_\+0x28\> 10 +10004: 10080120 adr x0, 20028 \<_GLOBAL_OFFSET_TABLE_\+0x28\> 11 +10008: d63f0020 blr x1 12 13 Disassembly of section .plt: 14 15 000000000001000c \<.plt\>: 16 +1000c: a9bf7bf0 stp x16, x30, \[sp,#-16\]! 17 +10010: 90000090 adrp x16, 20000 \<_GLOBAL_OFFSET_TABLE_\> 18 +10014: f9401211 ldr x17, \[x16,#32\] 19 +10018: 91008210 add x16, x16, #0x20 20 +1001c: d61f0220 br x17 21 +10020: d503201f nop 22 +10024: d503201f nop 23 +10028: d503201f nop 24 +1002c: a9bf0fe2 stp x2, x3, \[sp,#-16\]! 25 +10030: 90000082 adrp x2, 20000 \<_GLOBAL_OFFSET_TABLE_\> 26 +10034: 90000083 adrp x3, 20000 \<_GLOBAL_OFFSET_TABLE_\> 27 +10038: f9400442 ldr x2, \[x2,#8\] 28 +1003c: 91004063 add x3, x3, #0x10 29 +10040: d61f0040 br x2 30 +10044: d503201f nop 31 +10048: d503201f nop 32