NetBSD/sys/modules/xldscripts/kmodule

24 lines
535 B
Plaintext

/* $NetBSD: kmodule,v 1.2 2010/06/01 22:13:30 mjf Exp $ */
SECTIONS
{
/* Pre-loaded modules must have merged BSS and data. */
.data 0 :
{
*(.data)
*(.bss)
*(.bss.*)
*(COMMON)
}
. = ALIGN(64); /* COHERENCY_UNIT */
.data.cacheline_aligned : { *(.data.cacheline_aligned) }
. = ALIGN(64); /* COHERENCY_UNIT */
.data.read_mostly : { *(.data.read_mostly) }
. = ALIGN(64); /* COHERENCY_UNIT */
/* Pre-loaded modules do not need the following. */
/DISCARD/ :
{
*(.comment)
}
}