Commit | Line | Data |
---|---|---|
8fab865a DE |
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 |