binutils-gdb/ld/testsuite/ld-mips-elf/reloc-2.ld
Richard Sandiford 18ab192184 * ld-mips-elf/reloc-1[ab].s: New source files.
* ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests.
	* ld-mips-elf/reloc-2[ab].s: New source files.
	* ld-mips-elf/reloc-2.{d,ld}: New test.
	* ld-mips-elf/reloc-3[ab].s: New source files.
	* ld-mips-elf/reloc-3-{r,srec}.d: New tests.
	* ld-mips-elf/mips-elf.exp: Run them.
2003-12-18 10:25:12 +00:00

10 lines
134 B
Plaintext

SECTIONS
{
. = 0x208000;
.text : { *(.text) }
. = 0x400000;
_gp = 0x401234;
.sdata : { *(.sdata) }
/DISCARD/ : { *(*) }
}