uwin.h (MD_STARTFILE_PREFIX): Avoid redefinition warnings.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 16 Dec 2001 15:40:58 +0000 (15:40 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 16 Dec 2001 15:40:58 +0000 (15:40 +0000)
* 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

gcc/ChangeLog
gcc/config/i386/uwin.h
gcc/config/interix.h
gcc/config/psos.h
gcc/config/rs6000/linux64.h
gcc/config/rs6000/xcoff.h
gcc/config/sparc/liteelf.h
gcc/config/sparc/sp64-elf.h
gcc/config/sparc/sp86x-elf.h
gcc/config/sparc/sunos4.h

index 3841b9d6e2b1ae27e7ae0b005c9f422b0b475dc6..9796d0348d8a94be8d24b37d70264f88023baa55 100644 (file)
@@ -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.
index 7dd091c8c8ef6d9d274abcfa016eb9010e57d4a7..ca39ffd94932157d7ec50e1dc60a95112978dc30 100644 (file)
@@ -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
index 054ce7d948746661a945dbe1dda6735a52e50a95..0f203f3cf48168f1bce64b1c63f935fc7bcf1bba 100644 (file)
@@ -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 */
index 26be5ef8193dd1749536bbd189a7444d36ab604b..9529a21682647a55e7d521c03254028aae1ff2dc 100644 (file)
@@ -59,6 +59,7 @@ Boston, MA 02111-1307, USA.
 
 /* Predefined macros (independent of processor type). */
 
+#undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dpsos"
 
 
index ab04ba5d028ccb3fe3aac1d1da0f8561b636eab8..785ee88ebb0d9071071361a714edede1c0c277d6 100644 (file)
@@ -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                        \
index 890ec4aee305f7e41a9ee7a85bc0b6a66a31e780..246e9d9d593059934f9c954d8467b88074f3547a 100644 (file)
@@ -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            \
index 1c4525c500f82483eb69c296aaeef6e62c8a2dda..d7c88b5c521ead96def5050a4f11375136b502e2 100644 (file)
@@ -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
index 07be3885efbf761c0dcdbe8187cf7c29e2f1c384..40d18dfac97f9e02cef38ec473fd93697efd6441 100644 (file)
@@ -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"
index 5ae99e31e449103f1c44f607514c75f7c0c441da..40ecd55ef4d80ce0f54186922f71d00fdc06ee11 100644 (file)
@@ -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
index e5ec1ee3a662eab500521b587cdda2edfc862227..a6c11d9ff35d6a19c0c34dde51fddc60e7804113 100644 (file)
@@ -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