Module Name: src
Committed By: uebayasi
Date: Tue Aug 25 08:08:12 UTC 2015
Modified Files:
src/sys/arch/mips/conf: kern.ldscript
src/sys/arch/mips/mips: genassym.cf
Log Message:
Replace a constant in ldscript.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mips/conf/kern.ldscript
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/mips/mips/genassym.cf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/conf/kern.ldscript
diff -u src/sys/arch/mips/conf/kern.ldscript:1.10 src/sys/arch/mips/conf/kern.ldscript:1.11
--- src/sys/arch/mips/conf/kern.ldscript:1.10 Mon Aug 24 08:13:07 2015
+++ src/sys/arch/mips/conf/kern.ldscript Tue Aug 25 08:08:12 2015
@@ -1,4 +1,6 @@
-/* $NetBSD: kern.ldscript,v 1.10 2015/08/24 08:13:07 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript,v 1.11 2015/08/25 08:08:12 uebayasi Exp $ */
+
+#include "assym.h"
/* ldscript for NetBSD/mips kernels and LKMs */
OUTPUT_ARCH(mips)
@@ -29,11 +31,11 @@ SECTIONS
_fdata = . ;
*(.data)
CONSTRUCTORS
- . = ALIGN(32); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
*(.data.cacheline_aligned)
- . = ALIGN(32); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
*(.data.read_mostly)
- . = ALIGN(32); /* COHERENCY_UNIT */
+ . = ALIGN(COHERENCY_UNIT);
}
_gp = ALIGN(16) + 0x7ff0;
.lit8 : { *(.lit8) }
Index: src/sys/arch/mips/mips/genassym.cf
diff -u src/sys/arch/mips/mips/genassym.cf:1.64 src/sys/arch/mips/mips/genassym.cf:1.65
--- src/sys/arch/mips/mips/genassym.cf:1.64 Thu Jul 9 14:41:54 2015
+++ src/sys/arch/mips/mips/genassym.cf Tue Aug 25 08:08:12 2015
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.64 2015/07/09 14:41:54 matt Exp $
+# $NetBSD: genassym.cf,v 1.65 2015/08/25 08:08:12 uebayasi Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -346,3 +346,5 @@ define MCI_SDCACHE_SIZE offsetof(struct
define MIPS_CURLWP_LABEL MIPS_CURLWP_LABEL
define MIPS_CURLWP_REG MIPS_CURLWP_REG
+
+define COHERENCY_UNIT COHERENCY_UNIT