aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code
diff options
context:
space:
mode:
authorRichard Brooksby2012-08-15 15:37:42 +0100
committerRichard Brooksby2012-08-15 15:37:42 +0100
commit82ea34572481f77710128807df298ecc10972c96 (patch)
tree7fe4cd71217bf9fce6f71934e206ff7a76cd95b5 /mps/code
parent2124c8eccccad897a71e5fbd52dae2eecd70f45e (diff)
downloademacs-82ea34572481f77710128807df298ecc10972c96.tar.gz
emacs-82ea34572481f77710128807df298ecc10972c96.zip
Correcting misnamed i4 architecture to i3. this distinction was once slightly useful for optimisation, but no longer makes any sense.
Copied from Perforce Change: 178935 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
-rw-r--r--mps/code/fri3gc.gmk (renamed from mps/code/fri4gc.gmk)4
-rw-r--r--mps/code/lii3gc.gmk (renamed from mps/code/lii4gc.gmk)4
-rw-r--r--mps/code/mps.c4
-rw-r--r--mps/code/mpstd.h20
-rw-r--r--mps/code/prmci3li.c2
-rw-r--r--mps/code/protlii3.c4
6 files changed, 19 insertions, 19 deletions
diff --git a/mps/code/fri4gc.gmk b/mps/code/fri3gc.gmk
index 3bc48a35a79..1f07c612fe0 100644
--- a/mps/code/fri4gc.gmk
+++ b/mps/code/fri3gc.gmk
@@ -1,9 +1,9 @@
1# fri4gc.gmk: BUILD FOR FreeBSD/i386/GCC PLATFORM 1# fri3gc.gmk: BUILD FOR FreeBSD/i386/GCC PLATFORM
2# 2#
3# $Id$ 3# $Id$
4# Copyright (c) 2001 Ravenbrook Limited. See end of file for license. 4# Copyright (c) 2001 Ravenbrook Limited. See end of file for license.
5 5
6PFM = fri4gc 6PFM = fri3gc
7 7
8PFMDEFS = -D_REENTRANT 8PFMDEFS = -D_REENTRANT
9 9
diff --git a/mps/code/lii4gc.gmk b/mps/code/lii3gc.gmk
index 67664553fb2..2ccd1370440 100644
--- a/mps/code/lii4gc.gmk
+++ b/mps/code/lii3gc.gmk
@@ -1,9 +1,9 @@
1# lii4gc.gmk: BUILD FOR LINUX/INTEL/GCC PLATFORM 1# lii3gc.gmk: BUILD FOR LINUX/INTEL/GCC PLATFORM
2# 2#
3# $Id$ 3# $Id$
4# Copyright (c) 2001 Ravenbrook Limited. See end of file for license. 4# Copyright (c) 2001 Ravenbrook Limited. See end of file for license.
5 5
6PFM = lii4gc 6PFM = lii3gc
7 7
8THREADSRC = lockli.c thix.c pthrdext.c 8THREADSRC = lockli.c thix.c pthrdext.c
9THREADLIB = -lpthread 9THREADLIB = -lpthread
diff --git a/mps/code/mps.c b/mps/code/mps.c
index 6de34a4dac0..08b10c7b2a2 100644
--- a/mps/code/mps.c
+++ b/mps/code/mps.c
@@ -107,7 +107,7 @@
107 107
108/* FreeBSD on 32-bit Intel built with GCC */ 108/* FreeBSD on 32-bit Intel built with GCC */
109 109
110#elif defined(MPS_PF_FRI4GC) 110#elif defined(MPS_PF_FRI3GC)
111 111
112#include "lockix.c" /* Posix locks */ 112#include "lockix.c" /* Posix locks */
113#include "thfri4.c" /* FreeBSD on 32-bit Intel threading */ 113#include "thfri4.c" /* FreeBSD on 32-bit Intel threading */
@@ -121,7 +121,7 @@
121 121
122/* Linux on 32-bit Intel with GCC */ 122/* Linux on 32-bit Intel with GCC */
123 123
124#elif defined(MPS_PF_LII4GC) 124#elif defined(MPS_PF_LII3GC)
125 125
126#include "lockli.c" /* Linux locks */ 126#include "lockli.c" /* Linux locks */
127#include "thix.c" /* Posix threading */ 127#include "thix.c" /* Posix threading */
diff --git a/mps/code/mpstd.h b/mps/code/mpstd.h
index 3977e63a5af..10d3d2833a6 100644
--- a/mps/code/mpstd.h
+++ b/mps/code/mpstd.h
@@ -169,13 +169,13 @@
169 */ 169 */
170 170
171#elif defined(__linux__) && defined(__i386__) && defined(__GNUC__) 171#elif defined(__linux__) && defined(__i386__) && defined(__GNUC__)
172#if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_LII4GC) 172#if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_LII3GC)
173#error "specified CONFIG_PF_... inconsistent with detected lii4gc" 173#error "specified CONFIG_PF_... inconsistent with detected lii3gc"
174#endif 174#endif
175#define MPS_PF_LII4GC 175#define MPS_PF_LII3GC
176#define MPS_PF_STRING "lii4gc" 176#define MPS_PF_STRING "lii3gc"
177#define MPS_OS_LI 177#define MPS_OS_LI
178#define MPS_ARCH_I4 178#define MPS_ARCH_I3
179#define MPS_BUILD_GC 179#define MPS_BUILD_GC
180#define MPS_T_WORD unsigned long 180#define MPS_T_WORD unsigned long
181#define MPS_T_ULONGEST unsigned long 181#define MPS_T_ULONGEST unsigned long
@@ -220,13 +220,13 @@
220/* GCC 2.95.3, gcc -E -dM */ 220/* GCC 2.95.3, gcc -E -dM */
221 221
222#elif defined(__FreeBSD__) && defined (__i386__) && defined (__GNUC__) 222#elif defined(__FreeBSD__) && defined (__i386__) && defined (__GNUC__)
223#if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_FRI4GC) 223#if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_FRI3GC)
224#error "specified CONFIG_PF_... inconsistent with detected fri4gc" 224#error "specified CONFIG_PF_... inconsistent with detected fri3gc"
225#endif 225#endif
226#define MPS_PF_FRI4GC 226#define MPS_PF_FRI3GC
227#define MPS_PF_STRING "fri4gc" 227#define MPS_PF_STRING "fri3gc"
228#define MPS_OS_FR 228#define MPS_OS_FR
229#define MPS_ARCH_I4 229#define MPS_ARCH_I3
230#define MPS_BUILD_GC 230#define MPS_BUILD_GC
231#define MPS_T_WORD unsigned long 231#define MPS_T_WORD unsigned long
232#define MPS_T_ULONGEST unsigned long 232#define MPS_T_ULONGEST unsigned long
diff --git a/mps/code/prmci3li.c b/mps/code/prmci3li.c
index 70b9b2a34d9..9c606f181ab 100644
--- a/mps/code/prmci3li.c
+++ b/mps/code/prmci3li.c
@@ -46,7 +46,7 @@ MRef Prmci3AddressHoldingReg(MutatorFaultContext mfc, unsigned int regnum)
46 /* .source.i486 */ 46 /* .source.i486 */
47 /* .assume.regref */ 47 /* .assume.regref */
48 /* The REG_EAX etc. symbols are only present if _GNU_SOURCE is defined. 48 /* The REG_EAX etc. symbols are only present if _GNU_SOURCE is defined.
49 Currently this is in lii4gc.gmk in PFMDEFS. */ 49 Currently this is in lii3gc.gmk in PFMDEFS. */
50 switch (regnum) { 50 switch (regnum) {
51 case 0: return &gregs[REG_EAX]; 51 case 0: return &gregs[REG_EAX];
52 case 1: return &gregs[REG_ECX]; 52 case 1: return &gregs[REG_ECX];
diff --git a/mps/code/protlii3.c b/mps/code/protlii3.c
index 3c857c53aa4..f92cbfe2f88 100644
--- a/mps/code/protlii3.c
+++ b/mps/code/protlii3.c
@@ -16,8 +16,8 @@
16#ifndef MPS_OS_LI 16#ifndef MPS_OS_LI
17#error "protlii3.c is Linux-specific, but MPS_OS_LI is not set" 17#error "protlii3.c is Linux-specific, but MPS_OS_LI is not set"
18#endif 18#endif
19#if !defined(MPS_ARCH_I3) && !defined(MPS_ARCH_I4) 19#if !defined(MPS_ARCH_I3)
20#error "protlii3.c is Intel-specific, but MPS_ARCH_I3 or MPS_ARCH_I4 is not set" 20#error "protlii3.c is Intel-specific, but MPS_ARCH_I3 is not set"
21#endif 21#endif
22#ifndef PROTECTION 22#ifndef PROTECTION
23#error "protlii3.c implements protection, but PROTECTION is not set" 23#error "protlii3.c implements protection, but PROTECTION is not set"