Commit | Line | Data |
---|---|---|
00a97672 RS |
1 | #objdump: -dr --prefix-addresses --show-raw-insn |
2 | #name: PIC | |
3 | #source: pic.s | |
b47b60aa | 4 | #noskip: *-*-vxworks* |
00a97672 RS |
5 | |
6 | # Test generation of PIC | |
7 | ||
8 | .*: +file format .*arm.* | |
9 | ||
10 | Disassembly of section .text: | |
11 | 00+0 <[^>]*> eb000000 bl .* | |
046e56f7 | 12 | 0: R_ARM_PC24 foo-0x8 |
00a97672 | 13 | 00+4 <[^>]*> eb000000 bl .* |
046e56f7 | 14 | 4: R_ARM_PLT32 foo-0x8 |
00a97672 RS |
15 | \.\.\. |
16 | 8: R_ARM_ABS32 sym | |
17 | c: R_ARM_GOT32 sym | |
18 | 10: R_ARM_GOTOFF32 sym | |
19 | 14: R_ARM_GOTPC _GLOBAL_OFFSET_TABLE_ | |
20 | 18: R_ARM_TARGET1 foo2 | |
21 | 1c: R_ARM_SBREL32 foo3 | |
22 | 20: R_ARM_TARGET2 foo4 |