Commit | Line | Data |
---|---|---|
fa1c0170 CZ |
1 | .section .text |
2 | .align 4 | |
3 | ;;; all the ops should have the same offset. | |
4 | ld_s r0,[gp,@a@sda] | |
5 | ;; BFD_RELOC_ARC_SDA16_LD2 | |
6 | ldh_s r0,[gp,@a@sda] | |
7 | ;; BFD_RELOC_ARC_SDA16_LD1 | |
8 | ldb_s r0,[gp,@a@sda] | |
9 | ;; BFD_RELOC_ARC_SDA16_LD | |
10 | ld.as r0,[gp,@a@sda] | |
11 | st.as r0,[gp,@a@sda] | |
12 | ;; BFD_RELOC_ARC_SDA_LDST2 | |
13 | ld r0,[gp,@a@sda] | |
14 | ldb r0,[gp,@a@sda] | |
15 | ldh r0,[gp,@a@sda] | |
16 | ;; ldd r0,[gp,@a@sda] | |
17 | ;; BFD_RELOC_ARC_SDA_LDST | |
18 | sth.as r0,[gp,@a@sda] | |
19 | ;; BFD_RELOC_ARC_SDA_LDST1 | |
20 | ld_s r1,[gp,@a@sda] | |
21 | st_s r0,[gp,@a@sda] | |
22 | ;; BFD_ARC_SDA16_ST2 | |
23 | add r2, gp, @a@sda | |
24 | ;; BFD_ARC_SDA32_ME | |
25 | ||
26 | .global a | |
27 | .section .sbss,"aw",@nobits | |
28 | .align 4 | |
29 | .type a, @object | |
30 | .size a, 4 | |
31 | a: | |
32 | .zero 4 |