aarch64: override default elf .set handling in gas
[deliverable/binutils-gdb.git] / gas / testsuite / gas / xgate / hilo.s
1 # Test for correct generation of XGATE insns when using the %hi and %lo modifiers.
2
3 .sect .text
4 ;Test Constants
5 hiTestLo:
6 ldl R2, %hi(0x8844)
7 hiTestHi:
8 ldh R2, %hi(0x8844)
9 loTestLo:
10 ldl R3, %lo(0x8844)
11 loTestHi:
12 ldh R3, %lo(0x8844)
13 ;Test Fixups
14 hiTestLoF:
15 ldl R2, %hi(test)
16 hiTestHiF:
17 ldh R2, %hi(test)
18 loTestLoF:
19 ldl R3, %lo(test)
20 loTestHiF:
21 ldh R3, %lo(test)
22 ;Test Relocs
23 hiTestLoR:
24 ldl R2, %hi(symValue)
25 hiTestHiR:
26 ldh R2, %hi(symValue)
27 loTestLoR:
28 ldl R3, %lo(symValue)
29 loTestHiR:
30 ldh R3, %lo(symValue)
31
32 symValue:
33 test = 0xff88
This page took 0.029895 seconds and 4 git commands to generate.