From 3e2923d918820b57513c2f1a63841ef8a23bbd26 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Thu, 30 Dec 2004 23:50:08 +0000 Subject: xscale bits, taken from NetBSD with modifications as appropriate for OpenBSD. --- sys/arch/arm/conf/ldscript.head | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sys/arch/arm/conf/ldscript.head (limited to 'sys/arch/arm/conf/ldscript.head') diff --git a/sys/arch/arm/conf/ldscript.head b/sys/arch/arm/conf/ldscript.head new file mode 100644 index 00000000000..58e099f1d5d --- /dev/null +++ b/sys/arch/arm/conf/ldscript.head @@ -0,0 +1,25 @@ +/* $NetBSD: ldscript.evbarm,v 1.2 2003/03/05 23:54:22 thorpej Exp $ +*/ + +OUTPUT_ARCH(arm) +ENTRY(KERNEL_BASE_phys) +SECTIONS +{ + KERNEL_BASE_phys = @KERNEL_BASE_PHYS@; + KERNEL_BASE_virt = @KERNEL_BASE_VIRT@; + + /* Kernel start: */ + .start (KERNEL_BASE_phys) : + { + *(.start) + } =0 + + /* Read-only sections, merged into text segment: */ + .text (KERNEL_BASE_virt + SIZEOF(.start)) : + AT (LOADADDR(.start) + SIZEOF(.start)) + { + *(.text) + *(.text.*) + *(.stub) + *(.glue_7t) *(.glue_7) + *(.rodata) *(.rodata.*) -- cgit v1.2.3