/*      $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)
  }
}