aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/compat/sdata-section.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fe487a1..378e98e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-20 Richard Sandiford <rsandifo@redhat.com>
+
+ * gcc.dg/compat/sdata-section.h (SDATA_SECTION): Don't use an attribute
+ if SKIP_ATTRIBUTE is defined.
+
2004-09-20 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15957
diff --git a/gcc/testsuite/gcc.dg/compat/sdata-section.h b/gcc/testsuite/gcc.dg/compat/sdata-section.h
index 0db5aa2..15be843 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