1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: SH PIC constructs
3 # Test SH PIC constructs:
5 .*: file format elf.*sh.*
7 Disassembly of section \.text:
8 0x00000000 c7 0a mova 0x0000002c,r0
9 0x00000002 dc 0a mov\.l 0x0000002c,r12 ! 0x0
10 0x00000004 3c 0c add r0,r12
11 0x00000006 d0 0a mov\.l 0x00000030,r0 ! 0x0
12 0x00000008 00 ce mov\.l @\(r0,r12\),r0
13 0x0000000a 40 0b jsr @r0
15 0x0000000e d0 09 mov\.l 0x00000034,r0 ! 0x0
16 0x00000010 30 cc add r12,r0
17 0x00000012 40 0b jsr @r0
19 0x00000016 d1 08 mov\.l 0x00000038,r1 ! 0x0
20 0x00000018 c7 07 mova 0x00000038,r0
21 0x0000001a 30 1c add r1,r0
22 0x0000001c 40 0b jsr @r0
24 0x00000020 d0 06 mov\.l 0x0000003c,r0 ! 0x16
25 0x00000022 40 0b jsr @r0
27 0x00000026 d0 06 mov\.l 0x00000040,r0 ! 0x14
28 0x00000028 40 0b jsr @r0
31 2c: R_SH_DIR32 GLOBAL_OFFSET_TABLE
35 0x0000003c 00 00 \.word 0x0000
37 0x0000003e 00 16 mov\.l r1,@\(r0,r0\)
38 0x00000040 00 00 \.word 0x0000
40 0x00000042 00 14 mov\.b r1,@\(r0,r0\)