1@ Tests that should fail for ALU group relocations. 2 3 .text 4 5 .macro alutest insn sym offset 6 7 \insn r0, r0, #:pc_g0:(\sym + \offset) 8 \insn r0, r0, #:pc_g1:(\sym + \offset) 9 \insn r0, r0, #:pc_g2:(\sym + \offset) 10 11 \insn r0, r0, #:pc_g0_nc:(\sym + \offset) 12 \insn r0, r0, #:pc_g1_nc:(\sym + \offset) 13 14 \insn r0, r0, #:sb_g0:(\sym + \offset) 15 \insn r0, r0, #:sb_g1:(\sym + \offset) 16 \insn r0, r0, #:sb_g2:(\sym + \offset) 17 18 \insn r0, r0, #:sb_g0_nc:(\sym + \offset) 19 \insn r0, r0, #:sb_g1_nc:(\sym + \offset) 20 21 .endm 22 23 alutest add f 0x11001 24 alutest add localsym 0x11001 25 alutest adds f 0x11001 26 alutest adds localsym 0x11001 27 28 alutest add f "-0x11001" 29 alutest add localsym "-0x11001" 30 alutest adds f "-0x11001" 31 alutest adds localsym "-0x11001" 32 33localsym: 34 mov r0, #0 35 36