summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/stand/boot/ld.script
blob: 1730d71fd0905d8c102835abf4b1fcfe87a6539f (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
39
40
41
42
43
44
45
/*	$OpenBSD: ld.script,v 1.1 1998/06/23 18:46:41 mickey Exp $	*/

OUTPUT_ARCH(hppa)
ENTRY(begin)
SECTIONS
{
  /* Read-only sections, merged into text segment: */
  . = + SIZEOF_HEADERS;
  .text      :
  {
    *(.text)
    *(.rodata)
    *(.rodata1)
    *($CODE$)
  }
  _etext = .;
  PROVIDE (etext = .);
  /* Read-write sections, merged into data segment: */
  /* . = (. + 0x0FFF) & 0xFFFFF000; */
  .data    :
  {
    *(.data)
    *(.data1)
    *(.sdata)
    *(.sdata2)
    *(.dynamic)
    CONSTRUCTORS
  }
  _edata  =  .;
  PROVIDE (edata = .);
  . = (. + 0x0FFF) & 0xFFFFF000;
  stack_base = .;
  . += 8192;
  __bss_start = .;
  .bss       :
  {
   *(.sbss) *(.scommon)
   *(.dynbss)
   *(.bss)
   *(COMMON)
  }
  _end = . ;
  PROVIDE (end = .);
}