Commit | Line | Data |
---|---|---|
3f97ba9f MR |
1 | .text |
2 | foo: | |
3 | .dc.l 0x12345678 | |
4 | ||
8c9604b6 | 5 | .section .rela.text,"" |
3f97ba9f MR |
6 | .ifdef ELF64 |
7 | ||
8 | .dc.a 0 | |
9 | .dc.a 0x000ffff000000000 + RELOC | |
10 | .dc.a 0x0000000000000001 | |
11 | ||
12 | .dc.a 0 | |
13 | .dc.a 0 | |
14 | .dc.a 0 | |
15 | .else | |
16 | ||
17 | # Some targets, such as `h8300-*' or `ip2k-*', use 16-bit addresses. | |
18 | # With them `.dc.a' emits 16-bit quantities, so we need to use | |
19 | # `.dc.l' for 32-bit relocation data. | |
20 | .dc.l 0 | |
21 | .dc.l 0x0ffff000 + RELOC | |
22 | .dc.l 0x00000001 | |
23 | ||
24 | .dc.l 0 | |
25 | .dc.l 0 | |
26 | .dc.l 0 | |
27 | .endif |