From: Richard Sandiford Date: Mon, 20 Sep 2004 18:02:53 +0000 (+0000) Subject: sdata-section.h (SDATA_SECTION): Don't use an attribute if SKIP_ATTRIBUTE is defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=348f5701fc7bfeeaf8f6ccb2b7894b0b41feae4f;p=gcc.git sdata-section.h (SDATA_SECTION): Don't use an attribute if SKIP_ATTRIBUTE is defined. * gcc.dg/compat/sdata-section.h (SDATA_SECTION): Don't use an attribute if SKIP_ATTRIBUTE is defined. From-SVN: r87766 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fe487a187cf..378e98e84e3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-20 Richard Sandiford + + * gcc.dg/compat/sdata-section.h (SDATA_SECTION): Don't use an attribute + if SKIP_ATTRIBUTE is defined. + 2004-09-20 Tobias Schlueter PR fortran/15957 diff --git a/gcc/testsuite/gcc.dg/compat/sdata-section.h b/gcc/testsuite/gcc.dg/compat/sdata-section.h index 0db5aa2293c..15be8438662 100644 --- a/gcc/testsuite/gcc.dg/compat/sdata-section.h +++ b/gcc/testsuite/gcc.dg/compat/sdata-section.h @@ -1,4 +1,4 @@ -#ifdef __mips +#if defined (__mips) && !defined(SKIP_ATTRIBUTE) #define SDATA_SECTION __attribute__((__section__(".sdata"))) #else #define SDATA_SECTION