From 2ff1f19de672dbab888e253b45540ae0228d3cf0 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 29 Mar 2001 00:03:35 +0000 Subject: .comm in .bss, ldo R% of pdc wrapper stack --- sys/arch/hppa/hppa/locore.S | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'sys/arch/hppa') diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S index 51ffb67662b..3cb5a30b295 100644 --- a/sys/arch/hppa/hppa/locore.S +++ b/sys/arch/hppa/hppa/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.42 2001/03/28 20:58:03 mickey Exp $ */ +/* $OpenBSD: locore.S,v 1.43 2001/03/29 00:03:34 mickey Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -99,19 +99,20 @@ .import kpsw, data .import panic, code - .space $PRIVATE$ - .subspa $BSS$ + .section .bss .export pdc_stack, data pdc_stack - .block 4*NBPG + .comm 4*NBPG kernelmapped /* set when kernel is mapped */ - .block 4 + .comm 4 .export fpu_csw, data fpu_csw - .block 4 + .comm 4 .export fpu_curpcb, data fpu_curpcb - .block 4 + .comm 4 + + .text /* * This is the starting location for the kernel @@ -333,6 +334,7 @@ ENTRY(pdc_call) comb,= r0, ret0, pdc_call_unmapped1 nop ldil L%pdc_stack, ret1 + ldo R%pdc_stack(ret1), ret1 pdc_call_unmapped1 copy sp, r1 -- cgit v1.2.3