xref: /netbsd-src/sys/modules/ath_hal/ath_hal.ldscript (revision b1c34fd0899bef70cb344eb7e1a51ca879efb291)
1/*	$NetBSD: ath_hal.ldscript,v 1.1 2011/02/20 03:58:33 jmcneill Exp $	*/
2
3SECTIONS
4{
5   /* Pre-loaded modules must have merged BSS and data. */
6   .data 0 :
7   {
8     *(.data)
9     *(.bss)
10     *(.bss.*)
11     *(COMMON)
12   }
13
14   link_set_ah_rfs :
15   {
16     __start_link_set_ah_rfs = .;
17     *(link_set_ah_rfs);
18     __stop_link_set_ah_rfs = .;
19   }
20
21   link_set_ah_chips :
22   {
23     __start_link_set_ah_chips = .;
24     *(link_set_ah_chips);
25     __stop_link_set_ah_chips = .;
26   }
27
28   . = ALIGN(64);	/* COHERENCY_UNIT */
29   .data.cacheline_aligned	: { *(.data.cacheline_aligned) }
30   . = ALIGN(64);	/* COHERENCY_UNIT */
31   .data.read_mostly		: { *(.data.read_mostly) }
32   . = ALIGN(64);	/* COHERENCY_UNIT */
33   /* Pre-loaded modules do not need the following. */
34   /DISCARD/ :
35   {
36     *(.comment)
37   }
38}
39