summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-20 18:02:53 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-20 18:02:53 +0000
commitb4b6cf0997728b3b4ccb1f9907cca182e29a22b2 (patch)
treecbd4551f88560cf40feb3e3e427d88925f262d51 /gcc/testsuite/gcc.dg/compat
parent99e8a714c927fd50aa48c3dbad5dea0be3151657 (diff)
downloadgcc-b4b6cf0997728b3b4ccb1f9907cca182e29a22b2.tar.gz
* gcc.dg/compat/sdata-section.h (SDATA_SECTION): Don't use an attribute
if SKIP_ATTRIBUTE is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87766 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat')
-rw-r--r--gcc/testsuite/gcc.dg/compat/sdata-section.h2
1 files changed, 1 insertions, 1 deletions
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