This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with Ada working on Linux PowerPC port


I forgot to mention a couple of other things.  The following patch was 
necessary to get the thing to compile for a PPC target:

diff -u -r1.12 misc.c
--- misc.c      2001/11/15 10:00:53     1.12
+++ misc.c      2001/11/16 03:17:34
@@ -744,10 +744,13 @@
   enum machine_mode sa_mode = Pmode;
   rtx stack_save;
 
+#if 0 /* This seems to be broken, at least on PowerPC.  - Corey Minyard */
 #ifdef HAVE_save_stack_nonlocal
   if (HAVE_save_stack_nonlocal)
     sa_mode = insn_operand_mode[(int) CODE_FOR_save_stack_nonlocal][0];
 #endif
+#endif
+
 #ifdef STACK_SAVEAREA_MODE
   sa_mode = STACK_SAVEAREA_MODE (SAVE_NONLOCAL);
 #endif

The save stack stuff has changed completely, and the call below it will 
just override it anyway on the PPC, anyway.


Also, is anyone working on the dwarf frame unwinding for GNAT?


-Corey





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]