]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix irix5 native build failure resulting from my previous patch.
authorJim Wilson <wilson@cygnus.com>
Mon, 10 May 1999 20:35:34 +0000 (20:35 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 10 May 1999 20:35:34 +0000 (13:35 -0700)
* 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.

From-SVN: r26875

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

index 9039f917d992db8c0c4ff221938b2b68a2a492fb..7c6bcd8dbc172d2ffb711971da53898fb9b55207 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 c6ec87179e5a3f7e4e4f8adc159212c979910713..53af04690760e09124ae8375f3cdd79a2c586bc6 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 d692531120f211da4829c8949e2459ff6026c5db..91c83103b9750eb2fa31abfcd70e2ba59d734ba6 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 08b78b82d3c0bf4111cf51e07c71dd96ef5ee7d6..46f1165d188a2b0fab52a515b157e8bec916feda 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                                                                     \
   {                                                                    \