summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/conf/ld.script
blob: 35371b920d902cc22731186e32039402434aa7f9 (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/10/30 19:44:09 mickey Exp $	*/

OUTPUT_FORMAT("elf32-hppa")
OUTPUT_ARCH(hppa)
ENTRY(__start)
SECTIONS
{
	/* Read-only sections, merged into text segment: */
	. = 0x12000;
	.text	:
	{
		kernel_text = . ;
		*(.text)
		*($CODE$)
		*(.rodata)
		*(.rodata1)
		*(.reginfo)
		*(.init)
		*(.stub)
		/* .gnu.warning sections are handled specially by elf32.em.  */
		*(.gnu.warning)
	} = 0
	etext = .;

	.data	:
	{
		kernel_data = . ;
		*(.data)
		CONSTRUCTORS
	}
	.ctors	: { *(.ctors)   }
	.dtors	: { *(.dtors)   }
	edata = .;

	__bss_start = .;
	.sbss	: { *(.sbss) *(.scommon) }
	.bss	:
	{
		*(.dynbss)
		*(.bss)
		*(COMMON)
		*($COMMON$)
	}
	end = .;
}