]>
Commit | Line | Data |
---|---|---|
69a49097 A |
1 | |
2 | ||
3 | #if __ppc__ || __ppc64__ | |
4 | ; illegal absolute load | |
5 | _foo: lis r2,ha16(_strcmp) | |
6 | #endif | |
7 | ||
8 | #if __i386__ | |
9 | // illegal absolute load | |
10 | _foo: movl _strcmp, %eax | |
11 | #endif | |
12 | ||
13 | ||
14 | #if __x86_64__ | |
15 | // illegal external load | |
16 | _foo: movl _strcmp(%rip), %eax | |
17 | #endif | |
18 | ||
2f2f92e4 A |
19 | #if __arm__ |
20 | ; illegal absolute load | |
21 | _foo: ldr r2, _strcmp | |
22 | #endif |