Commit | Line | Data |
---|---|---|
ca6489f9 PB |
1 | #objdump: -dr --prefix-addresses --show-raw-insn |
2 | #name: PIC | |
9a5c4b9e PB |
3 | # This test is only valid on ELF based ports. |
4 | #not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* | |
00a97672 RS |
5 | # VxWorks needs a special variant of this file. |
6 | #skip: *-*-vxworks* | |
ca6489f9 PB |
7 | |
8 | # Test generation of PIC | |
9 | ||
10 | .*: +file format .*arm.* | |
11 | ||
12 | Disassembly of section .text: | |
25742a2c | 13 | 00+0 <[^>]*> eb...... bl 00+. <[^>]*> |
39b41c9c | 14 | 0: R_ARM_(PC24|CALL) foo.* |
2fc8bdac | 15 | 00+4 <[^>]*> eb...... bl 0[0123456789abcdef]+ <[^>]*> |
ca6489f9 PB |
16 | 4: R_ARM_PLT32 foo |
17 | \.\.\. | |
18 | 8: R_ARM_ABS32 sym | |
19 | c: R_ARM_GOT32 sym | |
c19d1205 | 20 | 10: R_ARM_GOTOFF32 sym |
ca6489f9 | 21 | 14: R_ARM_GOTPC _GLOBAL_OFFSET_TABLE_ |
9c504268 | 22 | 18: R_ARM_TARGET1 foo2 |
db6579d4 | 23 | 1c: R_ARM_SBREL32 foo3 |
eb043451 | 24 | 20: R_ARM_TARGET2 foo4 |