1;;; Test if the assembler generates correctly all SDA relocations. 2 3 .cpu HS 4 .text 5 ;; BFD_RELOC_ARC_SDA_LDST (s9 range) 6 ldd r0,[gp,@b@sda] 7 std r2,[gp,@b@sda] 8 9 ;; BFD_RELOC_ARC_SDA_LDST2 (s11 range) 10 ldd.as r0,[gp,@b@sda] 11 std.as r2,[gp,@b@sda] 12 13 ;; BFD_RELOC_ARC_SDA16_ST2 (s11 range) 14 ld_s r1,[gp,@b@sda] 15 st_s r0,[gp,@b@sda] 16