diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-19 21:05:31 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-19 21:05:31 +0000 |
commit | 0e9810262d347f04ccaf4cb947d0c374cba09b0c (patch) | |
tree | f164f94f59ea200ea838dbc394f1e6380b2d52e5 /newlib/libc/include/sys/config.h | |
parent | 8ee939ea9f395f95357612d64d9be8e9a6529e46 (diff) | |
download | cygnal-0e9810262d347f04ccaf4cb947d0c374cba09b0c.tar.gz cygnal-0e9810262d347f04ccaf4cb947d0c374cba09b0c.tar.bz2 cygnal-0e9810262d347f04ccaf4cb947d0c374cba09b0c.zip |
2008-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/sys/config.h[__mips__]: Don't bother
setting __ATTRIBUTE_IMPURE_PTR__ here.
[__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
macro anymore.
Diffstat (limited to 'newlib/libc/include/sys/config.h')
-rw-r--r-- | newlib/libc/include/sys/config.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index 540805be2..3084193f5 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -94,7 +94,7 @@ #endif #endif -#ifdef __mips__ +#if defined(__mips__) && !defined(__rtems__) #define __ATTRIBUTE_IMPURE_PTR__ __attribute__((__section__(".sdata"))) #endif @@ -183,10 +183,6 @@ #if defined(__rtems__) #define __FILENAME_MAX__ 255 #define _READ_WRITE_RETURN_TYPE _ssize_t -#if defined(__mips__) -#undef __ATTRIBUTE_IMPURE_PTR__ -#define __ATTRIBUTE_IMPURE_PTR__ -#endif #endif #ifndef __IMPORT |