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