Back to index

cell-binutils  2.17cvs20070401
shared-1.d
Go to the documentation of this file.
00001 #source: ldr1.s
00002 #source: ldr2.s
00003 #as: -little
00004 #ld: -shared -EL -z nocombreloc
00005 #readelf: -r -x4 -x5
00006 #target: sh*-*-elf
00007 
00008 # Make sure relocations against global and local symbols with relative and
00009 # absolute 32-bit relocs don't come out wrong after ld -r.  Remember that
00010 # SH uses partial_inplace (sort-of REL within RELA) with related confusion
00011 # about how, when, where and which addends to use.  A DSO must have the
00012 # same value in the addend as in the data, so either can be used.
00013 
00014 Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 1 entries:
00015 .*
00016 0000019c +[0-9a-f]+ R_SH_RELATIVE +000001a0
00017 
00018 Hex dump of section '\.rela\.text':
00019   0x00000188 9c010000 a5000000 a0010000 .*
00020 
00021 Hex dump of section '\.text':
00022 .*
00023   0x00000194 09000900 09000900 a0010000 .*