binutils-gdb/ld/testsuite/ld-discard/discard.ld
H.J. Lu 3a921b779a 2001-11-09 H.J. Lu <hjl@gnu.org>
* ld-discard/discard.exp: New. Test ld discard.
	* ld-discard/discard.ld: Likewise.
	* ld-discard/exit.s: Likewise.
	* ld-discard/extern.d: Likewise.
	* ld-discard/extern.s: Likewise.
	* ld-discard/start.d: Likewise.
	* ld-discard/start.s: Likewise.
	* ld-discard/static.d: Likewise.
	* ld-discard/static.s: Likewise.
2001-11-10 01:17:58 +00:00

10 lines
109 B
Plaintext

ENTRY(_start)
SECTIONS
{
/* Sections to be discarded */
/DISCARD/ : {
*(.data.exit)
*(.text.exit)
}
}