Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips Replace a constant in ldscript.



details:   https://anonhg.NetBSD.org/src/rev/30670f53a185
branches:  trunk
changeset: 340173:30670f53a185
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Tue Aug 25 08:08:12 2015 +0000

description:
Replace a constant in ldscript.

diffstat:

 sys/arch/mips/conf/kern.ldscript |  10 ++++++----
 sys/arch/mips/mips/genassym.cf   |   4 +++-
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r 4473d3105a9c -r 30670f53a185 sys/arch/mips/conf/kern.ldscript
--- a/sys/arch/mips/conf/kern.ldscript  Tue Aug 25 08:07:24 2015 +0000
+++ b/sys/arch/mips/conf/kern.ldscript  Tue Aug 25 08:08:12 2015 +0000
@@ -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 @@
     _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) }
diff -r 4473d3105a9c -r 30670f53a185 sys/arch/mips/mips/genassym.cf
--- a/sys/arch/mips/mips/genassym.cf    Tue Aug 25 08:07:24 2015 +0000
+++ b/sys/arch/mips/mips/genassym.cf    Tue Aug 25 08:08:12 2015 +0000
@@ -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 MIPS_CURLWP_LABEL       MIPS_CURLWP_LABEL
 define MIPS_CURLWP_REG         MIPS_CURLWP_REG
+
+define COHERENCY_UNIT          COHERENCY_UNIT



Home | Main Index | Thread Index | Old Index