summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>1999-08-14 04:56:29 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>1999-08-14 04:56:29 +0000
commitdd4306e4f78fd269c9751747b37c32e0b182ab8e (patch)
treecafd1516c23b72db49143bb17a62fb45a40b8e35 /sys/arch/hppa
parent24ec013daf8fd859c91af7bdf060b1e1400a5cf0 (diff)
dynamic chunks, snake style
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/conf/ld.script10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/hppa/conf/ld.script b/sys/arch/hppa/conf/ld.script
index 348f48f8339..57244299d59 100644
--- a/sys/arch/hppa/conf/ld.script
+++ b/sys/arch/hppa/conf/ld.script
@@ -1,4 +1,4 @@
-/* $OpenBSD: ld.script,v 1.5 1999/06/22 17:46:37 mickey Exp $ */
+/* $OpenBSD: ld.script,v 1.6 1999/08/14 04:56:28 todd Exp $ */
OUTPUT_FORMAT("elf32-hppa")
OUTPUT_ARCH(hppa)
@@ -7,7 +7,7 @@ SECTIONS
{
/* Read-only sections, merged into text segment: */
. = + SIZEOF_HEADERS;
- .text BLOCK(4096) :
+ .text :
{
kernel_text = . ;
*(.text)
@@ -20,10 +20,11 @@ SECTIONS
__unwind_start = .;
*(.PARISC.unwind)
__unwind_end = .;
+ . = ALIGN(4096);
} = 0 /* 0x08000240 nop filled, does not work */
etext = ABSOLUTE(.);
- .data BLOCK(4096) :
+ .data :
{
$global$ = . ;
kernel_data = . ;
@@ -38,7 +39,7 @@ SECTIONS
__bss_start = .;
.sbss : { *(.sbss) *(.scommon) }
- .bss BLOCK(4096) :
+ .bss :
{
*(.dynbss) *(.bss)
*(COMMON) *($COMMON$)
@@ -46,3 +47,4 @@ SECTIONS
}
end = ABSOLUTE(.);
}
+