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: PIC
00003 # This test is only valid on ELF based ports.
00004 #not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
00005 # VxWorks needs a special variant of this file.
00006 #skip: *-*-vxworks*
00007 
00008 # Test generation of PIC
00009 
00010 .*: +file format .*arm.*
00011 
00012 Disassembly of section .text:
00013 00+0 <[^>]*> eb......       bl     00+. <[^>]*>
00014                      0: R_ARM_(PC24|CALL) foo.*
00015 00+4 <[^>]*> eb......       bl     0[0123456789abcdef]+ <[^>]*>
00016                      4: R_ARM_PLT32       foo
00017        \.\.\.
00018                      8: R_ARM_ABS32       sym
00019                      c: R_ARM_GOT32       sym
00020                      10: R_ARM_GOTOFF32   sym
00021                      14: R_ARM_GOTPC      _GLOBAL_OFFSET_TABLE_
00022                      18: R_ARM_TARGET1    foo2
00023                      1c: R_ARM_SBREL32    foo3
00024                      20: R_ARM_TARGET2    foo4