Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@cygnus.com>
To: axp-list@redhat.com
Subject: Re: linux-2.1.125 on Alpha 164LX
Date: Thu, 15 Oct 1998 15:15:53 -0700	[thread overview]
Message-ID: <19981015151553.B23202@dot.cygnus.com> (raw)
In-Reply-To: <w4og1cqefop.fsf@nemesis.irtnog.org>; from His Holiness the Reverend Doktor Xenophon Fenderson, the Carbondated on Wed, Oct 14, 1998 at 09:12:38PM -0500

> Yay!  Booted up 2.1.125 (SMP target compiled with egcs-1.1 and
> binutils-2.9.1.0.6), as desired.  Except it hung right after the
> "Console: colour VGA+ 80x25" message.  Oh well, I'm in the process of
> recompiling it with gcc-2.7.2.3-8, so we'll see what happens.

There was a bug in egcs 1.1 that affected the SMP kernel.


r~



Sat Sep  5 21:46:47 1998  Richard Henderson  <rth@cygnus.com>

        * alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
        not whatever we're generating now.

Index: config/alpha/alpha.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/alpha/alpha.c,v
retrieving revision 1.53
retrieving revision 1.53.2.1
diff -u -p -r1.53 -r1.53.2.1
--- alpha.c	1998/07/06 23:32:38	1.53
+++ alpha.c	1998/09/05 21:32:20	1.53.2.1
@@ -2468,6 +2468,8 @@ alpha_return_addr (count, frame)
 static int
 alpha_ra_ever_killed ()
 {
+  rtx top;
+
 #ifdef ASM_OUTPUT_MI_THUNK
   if (current_function_is_thunk)
     return 0;
@@ -2475,8 +2477,11 @@ alpha_ra_ever_killed ()
   if (!alpha_return_addr_rtx)
     return regs_ever_live[REG_RA];
 
-  return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA),
-			    get_insns(), NULL_RTX);
+  push_topmost_sequence ();
+  top = get_insns();
+  pop_topmost_sequence ();
+  
+  return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA), top, NULL_RTX);
 }
 
 \f


      parent reply	other threads:[~1998-10-15 22:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-10 23:31 linux-2.1.125 on Alpha 164LX Andreas Haumer
1998-10-14  3:09 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-14  4:22   ` B. James Phillippe
1998-10-15  2:12     ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-15 11:12       ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-15 22:15       ` Richard Henderson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox