From: Jim Wilson Date: Mon, 10 May 1999 20:35:34 +0000 (+0000) Subject: Fix irix5 native build failure resulting from my previous patch. X-Git-Tag: prereleases/gcc-2.95-test~531 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e7144ad36819e7c6a8425873d00c2f3b2d169e;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9039f917d992..7c6bcd8dbc17 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 c6ec87179e5a..53af04690760 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 d692531120f2..91c83103b975 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 08b78b82d3c0..46f1165d188a 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 \ { \