summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hppa/conf/ld.script13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/arch/hppa/conf/ld.script b/sys/arch/hppa/conf/ld.script
index 57244299d59..e82b4b71d3a 100644
--- a/sys/arch/hppa/conf/ld.script
+++ b/sys/arch/hppa/conf/ld.script
@@ -1,4 +1,4 @@
-/* $OpenBSD: ld.script,v 1.6 1999/08/14 04:56:28 todd Exp $ */
+/* $OpenBSD: ld.script,v 1.7 1999/12/17 07:02:38 mickey Exp $ */
OUTPUT_FORMAT("elf32-hppa")
OUTPUT_ARCH(hppa)
@@ -27,18 +27,19 @@ SECTIONS
.data :
{
$global$ = . ;
- kernel_data = . ;
- [a-ps-z]*(.data) r[a-ce-z]*(.data) *libkern.o(.data)
- rd_root.o(.data) /* there is an overflow bug in ld */
+ . += 4;
+ *(.data)
+ /* [a-ps-z]*(.data) r[a-ce-z]*(.data) *libkern.o(.data) */
+ /* rd_root.o(.data) * there is an overflow bug in ld */
CONSTRUCTORS
. = ALIGN(4096);
+ edata = ABSOLUTE(.);
} = 0
.ctors : { *(.ctors) }
.dtors : { *(.dtors) }
- edata = ABSOLUTE(.);
__bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
+ /* .sbss : { *(.sbss) *(.scommon) } */
.bss :
{
*(.dynbss) *(.bss)