From 45e7144ad36819e7c6a8425873d00c2f3b2d169e Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Mon, 10 May 1999 20:35:34 +0000 Subject: [PATCH] Fix irix5 native build failure resulting from my previous patch. * 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 | 6 ++++++ gcc/config/mips/elf.h | 1 + gcc/config/mips/elf64.h | 1 + gcc/config/mips/mips.h | 4 ++++ 4 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9039f917d99..7c6bcd8dbc1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Mon May 10 20:34:10 1999 Jim Wilson + + * 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 * cppfiles.c (initialize_input_buffer): New function. diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h index c6ec87179e5..53af0469076 100644 --- a/gcc/config/mips/elf.h +++ b/gcc/config/mips/elf.h @@ -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 { \ diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h index d692531120f..91c83103b97 100644 --- a/gcc/config/mips/elf64.h +++ b/gcc/config/mips/elf64.h @@ -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 { \ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 08b78b82d3c..46f1165d188 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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 \ { \