binutils-gdb/ld/testsuite/ld-mmix/sec-11.ld
Hans-Peter Nilsson b46fa76826 ld/testsuite:
* ld-mmix/sec-11.d, ld-mmix/sec-11.ld, ld-mmix/sec-10.s,
	ld-mmix/sec-10.d, ld-mmix/b-offlocmis.s, ld-mmix/sec-12.d: New
	tests.
	* ld-mmix/b-offloc.s: Correct address in comment.
2014-05-02 00:31:58 +02:00

11 lines
246 B
Plaintext

OUTPUT_ARCH(mmix)
ENTRY(Main)
SECTIONS
{
.text 0x101 : /* Note the misaligned address; must trig a linker error. */
{ *(.text*); Main = _start; }
.MMIX.reg_contents :
{ *(.MMIX.reg_contents.linker_allocated); *(.MMIX.reg_contents); }
}