From 348f5701fc7bfeeaf8f6ccb2b7894b0b41feae4f Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 20 Sep 2004 18:02:53 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/compat/sdata-section.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2