Files
Jim Wilson 1c9c7ce078 Objcopy interleave fails if section address not multiple of interleave.
PR 22465
	binutils/
	* objcopy.c (copy_section): New local extra.  If isection->lma not
	exactly divisible by interleave, then bias from.  Also adjust
	osection->lma if necessary.

	ld/
	* testsuite/ld-elf/interleave-0.d, testsuite/ld-elf/interleave-4.d,
	* testsuite/ld-elf/interleave.ld, testsuite/ld-elf/interleave.s: New.
2017-12-06 10:34:36 -08:00

11 lines
154 B
Plaintext

MEMORY
{
x0(xrw): ORIGIN = 0x0, LENGTH = 8
x1(xrw): ORIGIN = 0xC, LENGTH = 8
}
SECTIONS
{
.a0 : { *(.text.a0) } > x0
.a1 : { *(.text.a1) } > x1
}