forked from Imagelibrary/binutils-gdb
* gas/mips/e32-rel2.d: Updated for the objdump output change. * gas/mips/e32el-rel2.d: Likewise. * gas/mips/elf-rel.d: Likewise. * gas/mips/elf-rel2.d: Likewise. * gas/mips/elf-rel3.d: Likewise. * gas/mips/elf_e_flags1.d: Likewise. * gas/mips/elf_e_flags2.d: Likewise. * gas/mips/elf_e_flags3.d: Likewise. * gas/mips/elf_e_flags4.d: Likewise. * gas/mips/elfel-rel.d: Likewise. * gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise. * gas/mips/empic.d: Likewise. * gas/mips/mips16-e.d: Likewise. * gas/mips/mips16-f.d: Likewise. * gas/mips/mipsel16-f.d: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/tmips16-e.d: Likewise. * gas/mips/tmipsel16-e.d: Likewise. * gas/mips/mips16-f.d: Fix the symbol table output. * gas/mips/mipsel16-f.d: Fix the endian. * gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f.
31 lines
1.0 KiB
Makefile
31 lines
1.0 KiB
Makefile
#objdump: -sr -j .text
|
|
#name: MIPS ELF reloc 2 (32-bit)
|
|
#source: elf-rel2.s
|
|
|
|
# Test the GPREL and LITERAL generation.
|
|
# FIXME: really this should check that the contents of .sdata, .lit4,
|
|
# and .lit8 are correct too.
|
|
|
|
.*: file format elf.*mips
|
|
|
|
RELOCATION RECORDS FOR \[\.text\]:
|
|
OFFSET [ ]+ TYPE VALUE
|
|
0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000
|
|
0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000
|
|
0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000
|
|
0+000000c R_MIPS_LITERAL \.lit8\+0x0+0004000
|
|
0+0000010 R_MIPS_LITERAL \.lit8\+0x0+0004000
|
|
0+0000014 R_MIPS_LITERAL \.lit8\+0x0+0004000
|
|
0+0000018 R_MIPS_LITERAL \.lit4\+0x0+0004000
|
|
0+000001c R_MIPS_LITERAL \.lit4\+0x0+0004000
|
|
0+0000020 R_MIPS_LITERAL \.lit4\+0x0+0004000
|
|
0+0000024 R_MIPS_GPREL16 \.sdata\+0x0+0004000
|
|
0+0000028 R_MIPS_GPREL16 \.sdata\+0x0+0004000
|
|
0+000002c R_MIPS_GPREL16 \.sdata\+0x0+0004000
|
|
|
|
|
|
Contents of section \.text:
|
|
0000 00c082c7 04c083c7 08c082c7 0cc083c7 .*
|
|
0010 10c082c7 14c083c7 00c082c7 04c082c7 .*
|
|
0020 08c082c7 00c0828f 04c0828f 08c0828f .*
|