gas/
[deliverable/binutils-gdb.git] / gas / testsuite / gas / sparc / reloc64.s
1 # sparc64 special relocs
2
3 foo:
4 sethi %uhi(0x1234567800000000),%g1
5 or %g1,%ulo(0x1234567800000000),%g1
6 nop
7 sethi %uhi(foo),%g1
8 or %g1,%ulo(foo),%g1
9 nop
10 sethi %uhi(foo+0x1234567800000000),%g1
11 or %g1,%ulo(foo+0x1234567800000000),%g1
12 nop
13 sethi %hh(0xfedcba9876543210),%g1
14 or %g1,%hm(0xfedcba9876543210),%g1
15 sethi %lm(0xfedcba9876543210),%g2
16 or %g1,%lo(0xfedcba9876543210),%g2
17 nop
18 sethi %hh(foo),%g1
19 or %g1,%hm(foo),%g1
20 sethi %lm(foo),%g2
21 or %g1,%lo(foo),%g2
22 nop
23 sethi %hh(foo+0xfedcba9876543210),%g1
24 or %g1,%hm(foo+0xfedcba9876543210),%g1
25 sethi %lm(foo+0xfedcba9876543210),%g2
26 or %g1,%lo(foo+0xfedcba9876543210),%g2
27 nop
28 sethi %h44(0xa9876543210),%g1
29 or %g1,%m44(0xa9876543210),%g1
30 or %g1,%l44(0xa9876543210),%g1
31 nop
32 sethi %h44(foo),%g1
33 or %g1,%m44(foo),%g1
34 or %g1,%l44(foo),%g1
35 nop
36 sethi %h44(foo+0xa9876543210),%g1
37 or %g1,%m44(foo+0xa9876543210),%g1
38 or %g1,%l44(foo+0xa9876543210),%g1
39 nop
40 sethi %hix(0xffffffff76543210),%g1
41 xor %g1,%lox(0xffffffff76543210),%g1
42 nop
43 sethi %hix(foo),%g1
44 xor %g1,%lox(foo),%g1
45 nop
46 sethi %hix(foo+0xffffffff76543210),%g1
47 xor %g1,%lox(foo+0xffffffff76543210),%g1
48 nop
This page took 0.030757 seconds and 4 git commands to generate.