binutils-gdb/ld/testsuite/ld-discard/discard.ld

10 lines
109 B
Plaintext

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