diff options
| author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 18:02:53 +0000 |
|---|---|---|
| committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 18:02:53 +0000 |
| commit | b4b6cf0997728b3b4ccb1f9907cca182e29a22b2 (patch) | |
| tree | cbd4551f88560cf40feb3e3e427d88925f262d51 | |
| parent | 99e8a714c927fd50aa48c3dbad5dea0be3151657 (diff) | |
| download | ppe42-gcc-b4b6cf0997728b3b4ccb1f9907cca182e29a22b2.tar.gz ppe42-gcc-b4b6cf0997728b3b4ccb1f9907cca182e29a22b2.zip | |
* 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
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/compat/sdata-section.h | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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 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 |

