Back to index

cell-binutils  2.17cvs20070401
elfel-rel2.d
Go to the documentation of this file.
00001 #objdump: -sr -j .text
00002 #name: MIPS ELF reloc 2
00003 #source: elf-rel2.s
00004 #as: -mabi=o64
00005 
00006 # Test the GPREL and LITERAL generation.
00007 # FIXME: really this should check that the contents of .sdata, .lit4,
00008 # and .lit8 are correct too.
00009 
00010 .*:     file format elf.*mips
00011 
00012 RELOCATION RECORDS FOR \[\.text\]:
00013 OFFSET [ ]+ TYPE              VALUE 
00014 0+0000000 R_MIPS_LITERAL    \.lit8\+0x0+0004000
00015 0+0000004 R_MIPS_LITERAL    \.lit8\+0x0+0004000
00016 0+0000008 R_MIPS_LITERAL    \.lit8\+0x0+0004000
00017 0+000000c R_MIPS_LITERAL    \.lit4\+0x0+0004000
00018 0+0000010 R_MIPS_LITERAL    \.lit4\+0x0+0004000
00019 0+0000014 R_MIPS_LITERAL    \.lit4\+0x0+0004000
00020 0+0000018 R_MIPS_GPREL16    \.sdata\+0x0+0004000
00021 0+000001c R_MIPS_GPREL16    \.sdata\+0x0+0004000
00022 0+0000020 R_MIPS_GPREL16    \.sdata\+0x0+0004000
00023 
00024 
00025 Contents of section \.text:
00026  0000 00c082d7 08c082d7 10c082d7 00c082c7  .*
00027  0010 04c082c7 08c082c7 00c0828f 04c0828f  .*
00028  0020 08c0828f .*