old-cross-binutils/ld/testsuite/ld-scripts/align2.t
Alan Modra 2562953678 * ld-elf/warn1.d: Specify -Ttext.
* ld-scripts/align.exp (align2a, align2b: Don't run on aout targets.
	* ld-scripts/align2.t: Discard all but .text and .data.
	* ld-scripts/align2a.d: Accept non-readonly for coff.
	* ld-scripts/align2b.d: Likewise.
	* lib/ld-lib.exp (is_aout_format): New function.
2005-02-21 08:18:49 +00:00

7 lines
101 B
Raku

SECTIONS
{
.text : {*(.text)}
. = ALIGN(data_align);
.data : {*(.data)}
/DISCARD/ : {*(*)}
}