Back to index

cell-binutils  2.17cvs20070401
libdso-13.d
Go to the documentation of this file.
00001 #source: dso-1.s
00002 #source: dsov32-3.s
00003 #as: --pic --no-underscore --march=v32 --em=criself
00004 #ld: --shared -m crislinux -z nocombreloc
00005 #readelf: -d -r
00006 #warning: relocation R_CRIS_32_PCREL should not be used in a shared object; recompile with -fPIC
00007 
00008 # Check that a TEXTREL reloc is correctly generated for PCREL
00009 # relocations against global symbols.
00010 # FIXME: Have a textrel-enabling(-disabling) linker option.
00011 # (Warning always generated unless [other option] warnings are
00012 # generally disabled.)  Split out the expected readelf output
00013 # into a separate test using that option.
00014 
00015 Dynamic section at offset 0x[0-9a-f][0-9a-f][0-9a-f] contains 10 entries:
00016   Tag[        ]+Type[       ]+Name/Value
00017  0x0+4 \(HASH\)[     ]+0x94
00018  0x0+5 \(STRTAB\)[   ]+0x[12][0-9a-f][0-9a-f]
00019  0x0+6 \(SYMTAB\)[   ]+0x[0-9a-f][0-9a-f]
00020  0x0+a \(STRSZ\)[    ]+38 \(bytes\)
00021  0x0+b \(SYMENT\)[   ]+16 \(bytes\)
00022  0x0+7 \(RELA\)[     ]+0x[12][0-9a-f][0-9a-f]
00023  0x0+8 \(RELASZ\)[   ]+12 \(bytes\)
00024  0x0+9 \(RELAENT\)[  ]+12 \(bytes\)
00025  0x0+16 \(TEXTREL\)[        ]+0x0
00026  0x0+ \(NULL\)[      ]+0x0
00027 
00028 Relocation section '\.rela\.text' at offset 0x[12][0-9a-f][0-9a-f] contains 1 entries:
00029  Offset[      ]+Info[       ]+Type[       ]+Sym\.Value  Sym\. Name \+ Addend
00030 0+[12][0-9a-f][0-9a-f]  0+[0-9a-f]06 R_CRIS_32_PCREL[   ]+0+[0-f]+[   ]+dsofn \+ 6