summaryrefslogtreecommitdiff
path: root/sys/modules/ath_hal/ath_hal.ldscript
blob: ea1af93de0af6e84fb832ef6c8689149b1313b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*	$NetBSD: ath_hal.ldscript,v 1.1 2011/02/20 03:58:33 jmcneill Exp $	*/

SECTIONS
{
   /* Pre-loaded modules must have merged BSS and data. */
   .data 0 :
   {
     *(.data)
     *(.bss)
     *(.bss.*)
     *(COMMON)
   }

   link_set_ah_rfs :
   {
     __start_link_set_ah_rfs = .;
     *(link_set_ah_rfs);
     __stop_link_set_ah_rfs = .;
   }

   link_set_ah_chips :
   {
     __start_link_set_ah_chips = .;
     *(link_set_ah_chips);
     __stop_link_set_ah_chips = .;
   }

   . = 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)
   }
}