aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-12-16 15:40:58 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-12-16 15:40:58 +0000
commit10b2117ec65dfd4dca51d06f4a12a4e31136efd1 (patch)
tree6ba442424a6ac2cd856574a21ecacfc5959a1403 /gcc
parent3c88b52a70b322a5561f7dcdccd24dbd0be51e64 (diff)
downloadgcc-10b2117ec65dfd4dca51d06f4a12a4e31136efd1.zip
gcc-10b2117ec65dfd4dca51d06f4a12a4e31136efd1.tar.gz
gcc-10b2117ec65dfd4dca51d06f4a12a4e31136efd1.tar.bz2
uwin.h (MD_STARTFILE_PREFIX): Avoid redefinition warnings.
* i386/uwin.h (MD_STARTFILE_PREFIX): Avoid redefinition warnings. * interix.h (TARGET_MEM_FUNCTIONS): Likewise. * psos.h (CPP_PREDEFINES): Likewise. * rs6000/linux64.h (ROUND_TYPE_ALIGN): Likewise. * rs6000/xcoff.h (RS6000_MCOUNT, RS6000_ITRUNC, RS6000_UITRUNC, ASM_OUTPUT_EXTERNAL): Likewise. * sparc/liteelf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO): Likewise. * sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): Likewise. * sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO): Likewise. * sparc/sunos4.h (SUNOS4_SHARED_LIBRARIES): Likewise. From-SVN: r48070
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog13
-rw-r--r--gcc/config/i386/uwin.h1
-rw-r--r--gcc/config/interix.h2
-rw-r--r--gcc/config/psos.h1
-rw-r--r--gcc/config/rs6000/linux64.h1
-rw-r--r--gcc/config/rs6000/xcoff.h4
-rw-r--r--gcc/config/sparc/liteelf.h2
-rw-r--r--gcc/config/sparc/sp64-elf.h1
-rw-r--r--gcc/config/sparc/sp86x-elf.h2
-rw-r--r--gcc/config/sparc/sunos4.h1
10 files changed, 28 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3841b9d..9796d03 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,18 @@
2001-12-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * i386/uwin.h (MD_STARTFILE_PREFIX): Avoid redefinition warnings.
+ * interix.h (TARGET_MEM_FUNCTIONS): Likewise.
+ * psos.h (CPP_PREDEFINES): Likewise.
+ * rs6000/linux64.h (ROUND_TYPE_ALIGN): Likewise.
+ * rs6000/xcoff.h (RS6000_MCOUNT, RS6000_ITRUNC, RS6000_UITRUNC,
+ ASM_OUTPUT_EXTERNAL): Likewise.
+ * sparc/liteelf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
+ Likewise.
+ * sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): Likewise.
+ * sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
+ Likewise.
+ * sparc/sunos4.h (SUNOS4_SHARED_LIBRARIES): Likewise.
+
* c-lex.c (lex_number): Use ISXDIGIT/hex_value.
* vax/xm-vms.h (FILE_NAME_NONDIRECTORY): Use ISUPPER/TOLOWER.
* fold-const.c (real_hex_to_f): Use hex_value.
diff --git a/gcc/config/i386/uwin.h b/gcc/config/i386/uwin.h
index 7dd091c..ca39ffd 100644
--- a/gcc/config/i386/uwin.h
+++ b/gcc/config/i386/uwin.h
@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */
#define STANDARD_INCLUDE_COMPONENT "UWIN"
#define SYSTEM_INCLUDE_DIR "/usr/gnu/include"
+#undef MD_STARTFILE_PREFIX
#define MD_STARTFILE_PREFIX "/usr/gnu/lib/"
#undef CPP_PREDEFINES
diff --git a/gcc/config/interix.h b/gcc/config/interix.h
index 054ce7d..0f203f3 100644
--- a/gcc/config/interix.h
+++ b/gcc/config/interix.h
@@ -22,7 +22,9 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef TARGET_MEM_FUNCTIONS
#define TARGET_MEM_FUNCTIONS
+#endif
/* POSIX/Uni-thread only for now. Look at the winnt version
for windows/multi thread */
diff --git a/gcc/config/psos.h b/gcc/config/psos.h
index 26be5ef..9529a21 100644
--- a/gcc/config/psos.h
+++ b/gcc/config/psos.h
@@ -59,6 +59,7 @@ Boston, MA 02111-1307, USA.
/* Predefined macros (independent of processor type). */
+#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dpsos"
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index ab04ba5..785ee88 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -41,6 +41,7 @@ Boston, MA 02111-1307, USA. */
/* AIX increases natural record alignment to doubleword if the first
field is an FP double while the FP fields remain word aligned. */
+#undef ROUND_TYPE_ALIGN
#define ROUND_TYPE_ALIGN(STRUCT, COMPUTED, SPECIFIED) \
((TREE_CODE (STRUCT) == RECORD_TYPE \
|| TREE_CODE (STRUCT) == UNION_TYPE \
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index 890ec4a..246e9d9 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -224,11 +224,14 @@ toc_section () \
#define RESTORE_FP_SUFFIX ""
/* Function name to call to do profiling. */
+#undef RS6000_MCOUNT
#define RS6000_MCOUNT ".__mcount"
/* Function names to call to do floating point truncation. */
+#undef RS6000_ITRUNC
#define RS6000_ITRUNC "__itrunc"
+#undef RS6000_UITRUNC
#define RS6000_UITRUNC "__uitrunc"
/* This outputs NAME to FILE up to the first null or '['. */
@@ -376,6 +379,7 @@ toc_section () \
/* This says how to output an external. */
+#undef ASM_OUTPUT_EXTERNAL
#define ASM_OUTPUT_EXTERNAL(FILE, DECL, NAME) \
{ rtx _symref = XEXP (DECL_RTL (DECL), 0); \
if ((TREE_CODE (DECL) == VAR_DECL \
diff --git a/gcc/config/sparc/liteelf.h b/gcc/config/sparc/liteelf.h
index 1c4525c..d7c88b5 100644
--- a/gcc/config/sparc/liteelf.h
+++ b/gcc/config/sparc/liteelf.h
@@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */
/* Default to dwarf2 in ELF. */
+#undef DWARF_DEBUGGING_INFO
#define DWARF_DEBUGGING_INFO
+#undef DWARF2_DEBUGGING_INFO
#define DWARF2_DEBUGGING_INFO
#undef PREFERRED_DEBUGGING_TYPE
diff --git a/gcc/config/sparc/sp64-elf.h b/gcc/config/sparc/sp64-elf.h
index 07be388..40d18df 100644
--- a/gcc/config/sparc/sp64-elf.h
+++ b/gcc/config/sparc/sp64-elf.h
@@ -117,4 +117,5 @@ crtbegin.o%s \
/* Define the names of various pseudo-ops used by the Sparc/svr4 assembler. */
+#undef UNALIGNED_DOUBLE_INT_ASM_OP
#define UNALIGNED_DOUBLE_INT_ASM_OP "\t.uaxword\t"
diff --git a/gcc/config/sparc/sp86x-elf.h b/gcc/config/sparc/sp86x-elf.h
index 5ae99e3..40ecd55 100644
--- a/gcc/config/sparc/sp86x-elf.h
+++ b/gcc/config/sparc/sp86x-elf.h
@@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */
/* Default to dwarf2 in ELF. */
+#undef DWARF_DEBUGGING_INFO
#define DWARF_DEBUGGING_INFO
+#undef DWARF2_DEBUGGING_INFO
#define DWARF2_DEBUGGING_INFO
#undef PREFERRED_DEBUGGING_TYPE
diff --git a/gcc/config/sparc/sunos4.h b/gcc/config/sparc/sunos4.h
index e5ec1ee..a6c11d9 100644
--- a/gcc/config/sparc/sunos4.h
+++ b/gcc/config/sparc/sunos4.h
@@ -18,6 +18,7 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#undef SUNOS4_SHARED_LIBRARIES
#define SUNOS4_SHARED_LIBRARIES 1
#undef CPP_PREDEFINES