OSDN Git Service

Fix irix5 native build failure resulting from my previous patch.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 May 1999 20:35:34 +0000 (20:35 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 May 1999 20:35:34 +0000 (20:35 +0000)
* config/mips/elf.h (UNIQUE_SECTION_P): Undef.
* config/mips/elf64.h (UNIQUE_SECTION_P): Undef.
* config/mips/mips.h (UNIQUE_SECTION_P): Define to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26875 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/elf.h
gcc/config/mips/elf64.h
gcc/config/mips/mips.h

index 9039f91..7c6bcd8 100644 (file)
@@ -1,3 +1,9 @@
+Mon May 10 20:34:10 1999  Jim Wilson  <wilson@cygnus.com>
+
+       * config/mips/elf.h (UNIQUE_SECTION_P): Undef.
+       * config/mips/elf64.h (UNIQUE_SECTION_P): Undef.
+       * config/mips/mips.h (UNIQUE_SECTION_P): Define to 0.
+
 1999-05-10 18:21 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
 
        * cppfiles.c (initialize_input_buffer): New function.
index c6ec871..53af046 100644 (file)
@@ -170,6 +170,7 @@ do {                                                                         \
  } while (0)
 
 #define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
+#undef UNIQUE_SECTION_P
 #define UNIQUE_SECTION_P(DECL) (DECL_ONE_ONLY (DECL))
 #define UNIQUE_SECTION(DECL,RELOC)                                        \
 do {                                                                      \
index d692531..91c8310 100644 (file)
@@ -196,6 +196,7 @@ do {                                                                         \
  } while (0)
 
 #define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
+#undef UNIQUE_SECTION_P
 #define UNIQUE_SECTION_P(DECL) (DECL_ONE_ONLY (DECL))
 #define UNIQUE_SECTION(DECL,RELOC)                                        \
 do {                                                                      \
index 08b78b8..46f1165 100644 (file)
@@ -3162,6 +3162,10 @@ typedef struct mips_args {
    If you are changing this macro, you should look at
    mips_select_section and see if it needs a similar change.  */
 
+#ifndef UNIQUE_SECTION_P
+#define UNIQUE_SECTION_P(DECL) (0)
+#endif
+
 #define ENCODE_SECTION_INFO(DECL)                                      \
 do                                                                     \
   {                                                                    \