NetBSD/share/ldscripts/kmodule

20 lines
324 B
Plaintext

/* $NetBSD: kmodule,v 1.1 2008/05/20 12:17:49 ad Exp $ */
SECTIONS
{
/* Pre-loaded modules must have merged BSS and data. */
.data 0 :
{
*(.data)
*(.data.*)
*(.bss)
*(.bss.*)
*(COMMON)
}
/* Pre-loaded modules do not need the following. */
/DISCARD/ :
{
*(.comment)
}
}