old-cross-binutils/ld/testsuite/ld-mips-elf/rel32-o32.d
Richard Sandiford 5427f821ae ld/
* emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
	* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.

ld/testsuite/
	* ld-mips-elf/rel32-o32.d: Bump the section number of .text by 1
	to account for the fact that .rel.dyn is now before .text in the
	section table.
	* ld-mips-elf/rel32-n32.d: Likewise.
	* ld-mips-elf/rel64.d: Likewise.
2006-10-20 07:55:37 +00:00

15 lines
512 B
Makefile

#name: MIPS rel32 o32
#source: rel32.s
#as: -KPIC -EB -32
#readelf: -x .text -r
#ld: -shared -melf32btsmip
Relocation section '.rel.dyn' at offset .* contains 2 entries:
Offset Info Type Sym.Value Sym. Name
[0-9a-f ]+R_MIPS_NONE
[0-9a-f ]+R_MIPS_REL32
Hex dump of section '.text':
0x000002c0 00000000 00000000 00000000 00000000 ................
0x000002d0 000002d0 00000000 00000000 00000000 ................
0x000002e0 00000000 00000000 00000000 00000000 ................