summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-11-02 23:06:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-11-02 23:06:19 +0000
commit7600d27aaf2c2e9c2f7a10b75aac3aff61f07619 (patch)
tree1c5f91faeae8d999b2d7306c09ea5fc90b574743 /sys/arch/luna88k
parent2d9cddba6fa56fb7d399540853f1a932e3cf4cc2 (diff)
Link m88k kernels on a BATC boundary.
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/conf/Makefile.luna88k4
-rw-r--r--sys/arch/luna88k/include/param.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/luna88k/conf/Makefile.luna88k b/sys/arch/luna88k/conf/Makefile.luna88k
index 666907bfe10..a497d6dea22 100644
--- a/sys/arch/luna88k/conf/Makefile.luna88k
+++ b/sys/arch/luna88k/conf/Makefile.luna88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.luna88k,v 1.50 2013/10/30 18:20:59 miod Exp $
+# $OpenBSD: Makefile.luna88k,v 1.51 2013/11/02 23:06:18 miod Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS}
-LINKFLAGS= -Ttext 0x20000 -e __start -X -N --warn-common -nopie
+LINKFLAGS= -Ttext 0x80000 -e __start -X -N --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/luna88k/include/param.h b/sys/arch/luna88k/include/param.h
index 8e12fe594f7..cfc1ca7b3d2 100644
--- a/sys/arch/luna88k/include/param.h
+++ b/sys/arch/luna88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.4 2013/03/23 16:12:24 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.5 2013/11/02 23:06:18 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -49,6 +49,6 @@
* these 128KB.
*/
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define KERNTEXTOFF 0x00020000 /* start of kernel text */
+#define KERNTEXTOFF 0x00080000 /* start of kernel text */
#endif /* _MACHINE_PARAM_H_ */