Back to index

cell-binutils  2.17cvs20070401
combreloc.d
Go to the documentation of this file.
00001 # Test that orphan reloc sections are merged into .rel.dyn with
00002 # -z combreloc.
00003 #source: combreloc.s
00004 #as: --32
00005 #ld: -shared -melf_i386 -z combreloc
00006 #readelf: -r
00007 #target: i?86-*-*
00008 
00009 Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 4 entries:
00010  Offset     Info    Type            Sym.Value  Sym. Name
00011 [0-9a-f]+  [0-9a-f]+06 R_386_GLOB_DAT    [0-9a-f]+   _start
00012 [0-9a-f]+  [0-9a-f]+01 R_386_32          [0-9a-f]+   _start
00013 [0-9a-f]+  [0-9a-f]+01 R_386_32          [0-9a-f]+   _start
00014 [0-9a-f]+  [0-9a-f]+01 R_386_32          [0-9a-f]+   _start
00015 
00016 Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 1 entries:
00017  Offset     Info    Type            Sym.Value  Sym. Name
00018 [0-9a-f]+  [0-9a-f]+07 R_386_JUMP_SLOT   [0-9a-f]+   foo