]>
Commit | Line | Data |
---|---|---|
a7442448 MM |
1 | # Checking the following: |
2 | # tprel relocations have provided the offset. | |
3 | # tprel relocations account for the TCB (i.e. 32 extra bytes on top of the | |
4 | # size of `p` added to the thread pointer in order to get to `a`). | |
5 | # | |
6 | # size relocations have given us the size. | |
7 | # | |
8 | # Also check the behaviour on a global and local symbol (just in case). | |
9 | #source: morello-tlsle.s | |
10 | #as: -march=morello+c64 | |
11 | #ld: -pie | |
12 | #objdump: -dr | |
13 | ||
14 | .*: +file format .* | |
15 | ||
16 | ||
17 | Disassembly of section \.text: | |
18 | ||
19 | [0-9a-f]+ <_start>: | |
20 | +[0-9a-f]+: d2a00022 mov x2, #0x10000 // #65536 | |
21 | +[0-9a-f]+: f2800482 movk x2, #0x24 | |
22 | +[0-9a-f]+: d2a00021 mov x1, #0x10000 // #65536 | |
23 | +[0-9a-f]+: f2800701 movk x1, #0x38 | |
24 | +[0-9a-f]+: d2a00042 mov x2, #0x20000 // #131072 | |
25 | +[0-9a-f]+: f2800b82 movk x2, #0x5c | |
26 | +[0-9a-f]+: d2a00001 movz x1, #0x0, lsl #16 | |
27 | +[0-9a-f]+: f2800c81 movk x1, #0x64 | |
28 | +[0-9a-f]+: c29bd040 mrs c0, ctpidr_el0 | |
29 | +[0-9a-f]+: c2a26000 add c0, c0, x2, uxtx | |
30 | +[0-9a-f]+: c2c10000 scbnds c0, c0, x1 | |
31 | +[0-9a-f]+: b9400000 ldr w0, \[c0\] | |
32 | +[0-9a-f]+: c2c253c0 ret c30 | |
33 |