old-cross-binutils/ld/testsuite/ld-mips-elf/reloc-3.d
Thiemo Seufer 3b7882616d * ld-mips-elf/mips-elf.exp: Add test for R_MIPS16_GPREL relocations.
* ld-mips-elf/reloc-3-n32.d, ld-mips-elf/reloc-3.d: New files.
2006-09-18 18:21:42 +00:00

16 lines
448 B
Makefile

#name: R_MIPS16_GPREL reloc
#source: ../../../gas/testsuite/gas/mips/elf-rel6.s
#objdump: --prefix-addresses -tdr --show-raw-insn
#ld: -Ttext 0x500000 -e 0x500000 -N
.*: file format elf.*mips.*
#...
Disassembly of section \.text:
0+500000 <[^>]*> f010 8352 lb v0,-32750\(v1\)
0+500004 <[^>]*> f010 8353 lb v0,-32749\(v1\)
0+500008 <[^>]*> f252 8346 lb v0,-28090\(v1\)
0+50000c <[^>]*> 6500 nop
0+50000e <[^>]*> 6500 nop
#pass