binutils-gdb/ld/testsuite/ld-scripts/defined5.t
Alan Modra ea6c5ce90d * ld-scripts/defined.exp: Don't run defined5 for AOUT.
* ld-scripts/defined5.s: Use .text for "defined" section.
	* ld-scripts/defined5.t: Adjust.
2011-02-10 08:04:22 +00:00

8 lines
119 B
Raku

defined = addr1;
SECTIONS {
.text : { *(.text) }
. = ALIGN (0x1000);
.data : { *(.data) }
addr1 = ADDR (.data);
}