old-cross-binutils/ld/testsuite/ld-mips-elf/rel64.d
Maciej W. Rozycki 9e8082845f ld/
* emulparams/elf32bmip.sh: Make _gp hidden.
	* emulparams/elf32bmipn32-defs.sh: Likewise.
	* emulparams/elf32mipswindiss.sh: Likewise.
	* scripttempl/mips.sc: Likewise.

	ld/testsuite/
	* ld-mips-elf/rel32-o32.d: Adjust section VMAs after the removal
	of _gp from the global scope.
	* ld-mips-elf/rel32-n32.d: Likewise.
	* ld-mips-elf/rel64.d: Likewise.
2012-08-06 22:40:36 +00:00

19 lines
651 B
Makefile

#name: MIPS rel64 n64
#source: rel64.s
#as: -march=from-abi -KPIC -EB -64
#readelf: -x .text -r
#ld: -shared -melf64btsmip
Relocation section '.rel.dyn' at offset .* contains 2 entries:
Offset Info Type Sym. Value Sym. Name
[0-9a-f ]+R_MIPS_NONE
+Type2: R_MIPS_NONE
+Type3: R_MIPS_NONE
[0-9a-f ]+R_MIPS_REL32
+Type2: R_MIPS_64
+Type3: R_MIPS_NONE
Hex dump of section '.text':
0x00000430 00000000 00000000 00000000 00000000 ................
0x00000440 00000000 00000440 00000000 00000000 ................
0x00000450 00000000 00000000 00000000 00000000 ................