aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.org>2002-07-18 20:06:00 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2002-07-18 13:06:00 -0700
commitaab27b30e31e56cdc02c5fa5565e60282d3719a7 (patch)
treed0c82382c945e853024e2963d274d36a68baf07f
parent5316699d53fc4bebf34a337360ce888c9272b705 (diff)
downloadgcc-aab27b30e31e56cdc02c5fa5565e60282d3719a7.zip
gcc-aab27b30e31e56cdc02c5fa5565e60282d3719a7.tar.gz
gcc-aab27b30e31e56cdc02c5fa5565e60282d3719a7.tar.bz2
mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
2002-07-18 H.J. Lu <hjl@gnu.org> * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code. From-SVN: r55566
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/mach_dep.c17
2 files changed, 4 insertions, 17 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index c869006..ef9c684 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-18 H.J. Lu <hjl@gnu.org>
+
+ * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
+
2002-07-18 H.J. Lu (hjl@gnu.org)
* configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
diff --git a/boehm-gc/mach_dep.c b/boehm-gc/mach_dep.c
index b582db0..a741058 100644
--- a/boehm-gc/mach_dep.c
+++ b/boehm-gc/mach_dep.c
@@ -81,23 +81,6 @@ void GC_push_regs()
register long TMP_SP; /* must be bound to r11 */
# endif
-# if defined(MIPS) && defined(LINUX)
- /* I'm not sure whether this has actually been tested. */
-# define call_push(x) asm("move $4," x ";"); asm("jal GC_push_one")
- call_push("$2");
- call_push("$3");
- call_push("$16");
- call_push("$17");
- call_push("$18");
- call_push("$19");
- call_push("$20");
- call_push("$21");
- call_push("$22");
- call_push("$23");
- call_push("$30");
-# undef call_push
-# endif /* MIPS && LINUX */
-
# ifdef VAX
/* VAX - generic code below does not work under 4.2 */
/* r1 through r5 are caller save, and therefore */