summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-04-27 19:03:14 +0000
committermarcel <marcel@FreeBSD.org>2008-04-27 19:03:14 +0000
commit9632d713f05504109d28b9ca7d6fbfed93a06883 (patch)
treec1ea797ff8a8c1739541bf6e49dccc62db0c7b81
parent2b21ea16b3fd69dff11273f0b64e41395bb76368 (diff)
downloadFreeBSD-src-9632d713f05504109d28b9ca7d6fbfed93a06883.zip
FreeBSD-src-9632d713f05504109d28b9ca7d6fbfed93a06883.tar.gz
Make sure tmpstk is aligned and make it 8KB in size -- not 8KB+16.
-rw-r--r--sys/powerpc/aim/locore.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/powerpc/aim/locore.S b/sys/powerpc/aim/locore.S
index 62dd006..235e13a 100644
--- a/sys/powerpc/aim/locore.S
+++ b/sys/powerpc/aim/locore.S
@@ -81,8 +81,9 @@
* Globals
*/
.data
+ .align 4
GLOBAL(tmpstk)
- .space 8208
+ .space 8192
GLOBAL(esym)
.long 0 /* end of symbol table */
@@ -153,7 +154,7 @@ __start:
lis 1,tmpstk@ha
addi 1,1,tmpstk@l
- addi 1,1,8192
+ addi 1,1,8192-16
mfmsr 0
lis 9,ofmsr@ha
OpenPOWER on IntegriCloud