old-cross-binutils/ld/testsuite/ld-mips-elf/branch-misc-1.d
Richard Sandiford 94bb04b3c6 ld/
* Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
	(eelf64btsmip.c, eelf64ltsmip.c): Likewise.
	* Makefile.in: Regenerate.
	* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
	.reginfo rather than .MIPS.options.
	* emulparams/elf64bmip-defs.sh: New file.
	* emulparams/elf64bmip.sh: Include it.
	(COMMONPAGESIZE): Delete.
	* emulparams/elf64btsmip.sh: As for elf64bmip.sh.

ld/testsuite/
	* ld-mips-elf/branch-misc-1.d: Set the start address to 0x20000000.
	* ld-mips-elf/jalbal.d: Likewise 0x200000a0.
	* ld-mips-elf/jaloverflow-2.d: Likewise 0x20000000.
	* ld-mips-elf/reloc-3-n32.d: Likewise.
	* ld-mips-elf/reloc-3.d: Likewise.
	* ld-mips-elf/textrel-1.d: Don't require a specific file offset for
	.dynamic.
2006-10-16 21:34:25 +00:00

30 lines
816 B
Makefile

#name: MIPS branch-misc-1
#source: ../../../gas/testsuite/gas/mips/branch-misc-1.s
#objdump: --prefix-addresses -tdr --show-raw-insn
#ld: -Ttext 0x20000000 -e 0x20000000 -N
.*: file format elf.*mips.*
#...
Disassembly of section \.text:
\.\.\.
\.\.\.
\.\.\.
0*2000003c <[^>]*> 0411fff0 bal 0*20000000 <[^>]*>
0*20000040 <[^>]*> 00000000 nop
0*20000044 <[^>]*> 0411fff3 bal 0*20000014 <[^>]*>
0*20000048 <[^>]*> 00000000 nop
0*2000004c <[^>]*> 0411fff6 bal 0*20000028 <[^>]*>
0*20000050 <[^>]*> 00000000 nop
0*20000054 <[^>]*> 0411000a bal 0*20000080 <[^>]*>
0*20000058 <[^>]*> 00000000 nop
0*2000005c <[^>]*> 0411000d bal 0*20000094 <[^>]*>
0*20000060 <[^>]*> 00000000 nop
0*20000064 <[^>]*> 04110010 bal 0*200000a8 <[^>]*>
0*20000068 <[^>]*> 00000000 nop
\.\.\.
\.\.\.
\.\.\.
\.\.\.
#pass