Back to index

cell-binutils  2.17cvs20070401
pic.d
Go to the documentation of this file.
00001 #objdump: -dr --prefix-addresses --show-raw-insn
00002 #name: SH PIC constructs
00003 # Test SH PIC constructs:
00004 
00005 .*:     file format elf.*sh.*
00006 
00007 Disassembly of section \.text:
00008 0x00000000 c7 0a            mova   0x0000002c,r0
00009 0x00000002 dc 0a            mov\.l 0x0000002c,r12       ! 0
00010 0x00000004 3c 0c            add    r0,r12
00011 0x00000006 d0 0a            mov\.l 0x00000030,r0 ! 0
00012 0x00000008 00 ce            mov\.l @\(r0,r12\),r0
00013 0x0000000a 40 0b            jsr    @r0
00014 0x0000000c 00 09            nop    
00015 0x0000000e d0 09            mov\.l 0x00000034,r0 ! 0
00016 0x00000010 30 cc            add    r12,r0
00017 0x00000012 40 0b            jsr    @r0
00018 0x00000014 00 09            nop    
00019 0x00000016 d1 08            mov\.l 0x00000038,r1 ! 0
00020 0x00000018 c7 07            mova   0x00000038,r0
00021 0x0000001a 30 1c            add    r1,r0
00022 0x0000001c 40 0b            jsr    @r0
00023 0x0000001e 00 09            nop    
00024 0x00000020 d0 06            mov\.l 0x0000003c,r0 ! 16
00025 0x00000022 40 0b            jsr    @r0
00026 0x00000024 00 09            nop    
00027 0x00000026 d0 06            mov\.l 0x00000040,r0 ! 14
00028 0x00000028 40 0b            jsr    @r0
00029 0x0000002a 00 09            nop    
00030        \.\.\.
00031                      2c: R_SH_DIR32       GLOBAL_OFFSET_TABLE
00032                      30: R_SH_GOT32       foo
00033                      34: R_SH_GOTOFF      foo
00034                      38: R_SH_PLT32       foo
00035 0x0000003c 00 00            \.word 0x0000
00036                      3c: R_SH_PLT32       foo
00037 0x0000003e 00 16            mov\.l r1,@\(r0,r0\)
00038 0x00000040 00 00            \.word 0x0000
00039                      40: R_SH_PLT32       foo
00040 0x00000042 00 14            mov\.b r1,@\(r0,r0\)
00041 0x00000044 00 00            \.word 0x0000
00042                      44: R_SH_PLT32       foo
00043 0x00000046 00 1e            mov\.l @\(r0,r1\),r0