Annotation of sys/arch/arm/conf/ldscript.head, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: ldscript.head,v 1.2 2005/01/02 19:57:57 drahn Exp $ */
2: /* $NetBSD: ldscript.evbarm,v 1.2 2003/03/05 23:54:22 thorpej Exp $
3: */
4:
5: OUTPUT_ARCH(arm)
6: ENTRY(KERNEL_BASE_phys)
7: SECTIONS
8: {
9: KERNEL_BASE_phys = @KERNEL_BASE_PHYS@;
10: KERNEL_BASE_virt = @KERNEL_BASE_VIRT@;
11:
12: /* Kernel start: */
13: .start (KERNEL_BASE_phys) :
14: {
15: *(.start)
16: } =0
17:
18: /* Read-only sections, merged into text segment: */
19: .text (KERNEL_BASE_virt + SIZEOF(.start)) :
20: AT (LOADADDR(.start) + SIZEOF(.start))
21: {
22: *(.text)
23: *(.text.*)
24: *(.stub)
25: *(.glue_7t) *(.glue_7)
26: *(.rodata) *(.rodata.*)
CVSweb