aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>1999-04-13 05:12:37 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>1999-04-13 05:12:37 +0000
commit0e8285f1200b2feb78876c3edfe53637cf2577da (patch)
treefd2fcc5242576a59d56c173d1d3783d38be9967d
parentd2d280851cae5f72684ef2ba1d4ee99ce3753511 (diff)
downloadgcc-0e8285f1200b2feb78876c3edfe53637cf2577da.zip
gcc-0e8285f1200b2feb78876c3edfe53637cf2577da.tar.gz
gcc-0e8285f1200b2feb78876c3edfe53637cf2577da.tar.bz2
arm.h (function prototypes for arm.c): Ifdef these out if HAVE_CONFIG_H is not defined.
* arm.h (function prototypes for arm.c): Ifdef these out if HAVE_CONFIG_H is not defined. From-SVN: r26399
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 449ed87..ccf1d9f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Tue Apr 13 05:04:59 1999 Richard Earnshaw (rearnsha@arm.com)
+
+ * arm.h (function prototypes for arm.c): Ifdef these out if
+ HAVE_CONFIG_H is not defined.
+
Tue Apr 13 02:11:11 1999 Jeffrey A Law (law@cygnus.com)
* pa.c: Remove space register specification in memory addresses,
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 86fe248..ef18f49 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -2044,7 +2044,11 @@ do { \
when running in 32 bit mode. */ \
((!TARGET_APCS_32) ? (GEN_INT (0x03fffffc)) : (GEN_INT (0xffffffff)))
-/* Prototypes for arm.c */
+/* The remainder of this file is only needed for building the compiler
+ itself, not for the collateral. */
+#ifdef HAVE_CONFIG_H
+
+/* Prototypes for functions in arm.c */
#ifdef BUFSIZ /* stdio.h has been included, ok to use FILE * */
#define STDIO_PROTO(ARGS) PROTO (ARGS)
@@ -2174,5 +2178,6 @@ void aof_add_import PROTO ((char *));
void aof_delete_import PROTO ((char *));
void aof_dump_imports STDIO_PROTO ((FILE *));
#endif
+#endif /* HAVE_CONFIG_H */
#endif /* __ARM_H__ */