From 5e0b9bf1cf914901a57163d7d1fa662c8dc67103 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 5 May 1999 02:48:13 +0000 Subject: define gp in here, cleanup --- sys/arch/hppa/conf/ld.script | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/hppa/conf/ld.script b/sys/arch/hppa/conf/ld.script index c7ddf28c75f..a5d099d1ddb 100644 --- a/sys/arch/hppa/conf/ld.script +++ b/sys/arch/hppa/conf/ld.script @@ -1,4 +1,4 @@ -/* $OpenBSD: ld.script,v 1.3 1999/04/20 20:34:21 mickey Exp $ */ +/* $OpenBSD: ld.script,v 1.4 1999/05/05 02:48:12 mickey Exp $ */ OUTPUT_FORMAT("elf32-hppa") OUTPUT_ARCH(hppa) @@ -10,7 +10,7 @@ SECTIONS .text BLOCK(4096) : { kernel_text = . ; - *(.text) *($text$) + *(.text) *(.rodata) *(.rodata1) *(.reginfo) *(.init) @@ -25,6 +25,7 @@ SECTIONS .data BLOCK(4096) : { + $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 */ -- cgit v1.2.3