* as.h (alloca): Use void* declaration on HP/UX.
authorKen Raeburn <raeburn@cygnus>
Wed, 16 Aug 1995 22:15:28 +0000 (22:15 +0000)
committerKen Raeburn <raeburn@cygnus>
Wed, 16 Aug 1995 22:15:28 +0000 (22:15 +0000)
gas/ChangeLog
gas/as.h

index 966a882f15cb98f8b5b25ee277397e45f48bb040..b3c1c6abc67944af860a127595892b245cec884c 100644 (file)
@@ -1,3 +1,7 @@
+Wed Aug 16 14:48:44 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
+
+       * as.h (alloca): Use void* declaration on HP/UX.
+
 Wed Aug 16 12:49:17 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * config/tc-sparc.c (tc_gen_reloc): If PIC, only change PCREL_S2
index 5c9aeed6620991dbaf6d71d11ab10633c95a5a00..3cd5c58e10e91ce0121e45448595dc189a21cc66 100644 (file)
--- a/gas/as.h
+++ b/gas/as.h
@@ -46,6 +46,7 @@
 /* Added void* version for STDC case.  This is to be compatible with
    the declaration in bison.simple, used for m68k operand parsing.
    --KR 1995.08.08 */
+/* Force void* decl for hpux.  This is what Bison uses.  --KR 1995.08.16 */
 
 /* AIX requires this to be the first thing in the file.  */
 #ifdef __GNUC__
  #pragma alloca
 #  else
 #   ifndef alloca /* predefined by HP cc +Olibcalls */
-#    ifndef __STDC__
+#    if !defined (__STDC__) && !defined (__hpux)
 char *alloca ();
 #    else
 void *alloca ();
-#    endif
-#   endif
-#  endif
-# endif
+#    endif /* __STDC__, __hpux */
+#   endif /* alloca */
+#  endif /* _AIX */
+# endif /* HAVE_ALLOCA_H */
 #endif
 
 /* Now, tend to the rest of the configuration.  */
@@ -485,7 +486,7 @@ COMMON unsigned char flag_warn_displacement; /* -K */
 #endif
 
 /* True if local symbols should be retained.  */
-COMMON unsigned char flag_keep_locals; /* -L */
+COMMON int flag_keep_locals; /* -L */
 
 /* True if we are assembling using MRI syntax.  */
 COMMON int flag_mri;
@@ -495,7 +496,7 @@ COMMON int flag_mri;
 COMMON unsigned char flag_readonly_data_in_text; /* -R */
 
 /* True if warnings should be inhibited.  */
-COMMON unsigned char flag_no_warnings; /* -W */
+COMMON int flag_no_warnings; /* -W */
 
 /* True if we should attempt to generate output even if non-fatal errors
    are detected.  */
This page took 0.030717 seconds and 4 git commands to generate.