summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-29 00:03:35 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-29 00:03:35 +0000
commit2ff1f19de672dbab888e253b45540ae0228d3cf0 (patch)
tree57c93fb9f423012e977a2c069f9bb43ae186084e /sys/arch/hppa
parent7476a55a7f190d4aef1fab7e46f6d508e0a60bf3 (diff)
.comm in .bss, ldo R% of pdc wrapper stack
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/locore.S16
1 files changed, 9 insertions, 7 deletions
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