diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-19 19:48:31 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-19 19:48:31 +0000 |
commit | 34ff0a4e6fab8521d3ae67394982eb63c7daf967 (patch) | |
tree | 8cedad9f131bc9c1fe16f2d566bcd01d91a5fa0d /newlib/libc/include | |
parent | 7562a08bb4d038699468d4c592a9f856f8e36c48 (diff) | |
download | cygnal-34ff0a4e6fab8521d3ae67394982eb63c7daf967.tar.gz cygnal-34ff0a4e6fab8521d3ae67394982eb63c7daf967.tar.bz2 cygnal-34ff0a4e6fab8521d3ae67394982eb63c7daf967.zip |
2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/include/sys/config.h: Don't put
__ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/sys/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index 0ac2b4ec8..540805be2 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -183,6 +183,10 @@ #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 |