OSDN Git Service

2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
authorjjohnstn <jjohnstn>
Wed, 19 Nov 2008 19:48:29 +0000 (19:48 +0000)
committerjjohnstn <jjohnstn>
Wed, 19 Nov 2008 19:48:29 +0000 (19:48 +0000)
        * libc/include/sys/config.h: Don't put
        __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.

newlib/ChangeLog
newlib/libc/include/sys/config.h

index 1429e8e..f253b1c 100644 (file)
@@ -1,3 +1,8 @@
+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.
+                 
 2008-11-19  Ralf Corsepius  <ralf.corsepius@rtems.org>
 
        * libc/posix/runetype.h: Add include of stddef.h and remove
index 0ac2b4e..540805b 100644 (file)
 #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