* x-sco5 (CLIB) Deleted. (ALLOCA) Added.
authorRobert Lipe <robertl@dgii.com>
Thu, 18 Dec 1997 11:51:41 +0000 (11:51 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 18 Dec 1997 11:51:41 +0000 (04:51 -0700)
* xm-sco5.h  (USE_C_ALLOCA) Added.

From-SVN: r17127

gcc/ChangeLog
gcc/config/i386/x-sco5
gcc/config/i386/xm-sco5.h

index 60e22b59300a010283ca5e4c8a3ada4f431debf8..ba9b60a45932dfd8e5336662c83c49e127fe9076 100644 (file)
@@ -1,3 +1,8 @@
+Thu Dec 18 00:19:38 1997  Robert Lipe <robertl@dgii.com>
+
+       * i386/x-sco5 (CLIB) Deleted.  (ALLOCA) Added.
+       * i386/xm-sco5.h  (USE_C_ALLOCA) Added.
+
 Tue Dec 16 18:51:00 1997  Bill Moyer <billm@cygnus.com>
         
         * config/m68k/m68k.c (output_function_prologue): Typecast
index ada44eda382c45309ae8a2046f1db0aa97fc1085..276d74045ed203015ceed173301af0c174ea47c9 100644 (file)
@@ -3,7 +3,8 @@ RANLIB_TEST = false
 CC = cc 
 OLDCC = cc
 CCLIBFLAGS =
-CLIB = -lPW
+# We avoid the ALLOCA in -lPW becuase it gives us an evil index()
+ALLOCA = alloca.o
 
 # See all the declarations.
 FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
index 78c66a87bc54286077b3fbb25459f822f55a406a..99bc53c2bc50a912e0a9b52f3426e728764ab235 100644 (file)
@@ -10,3 +10,9 @@
 #define sys_siglist _sys_siglist
 #undef SYS_SIGLIST_DECLARED
 #define SYS_SIGLIST_DECLARED
+
+/* If not compiled with GNU C, use the portable alloca.  */
+#ifndef __GNUC__
+#define USE_C_ALLOCA
+#endif
+