OSDN Git Service

2006-08-01 Thiemo Seufer <ths@mips.com>
authorjjohnstn <jjohnstn>
Tue, 1 Aug 2006 15:54:03 +0000 (15:54 +0000)
committerjjohnstn <jjohnstn>
Tue, 1 Aug 2006 15:54:03 +0000 (15:54 +0000)
            Nigel Stephens  <nigel@mips.com>

* libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
define this to force _impure_ptr to live in the .sdata section.

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

index 892190c..8594978 100644 (file)
@@ -1,3 +1,9 @@
+2006-08-01  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+
+       * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
+       define this to force _impure_ptr to live in the .sdata section.
+
 2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>
 
        * acinclude.m4: Check for readelf tool.
index c4e4dba..f436c78 100644 (file)
 #endif
 #endif
 
+#ifdef __mips__
+#define __ATTRIBUTE_IMPURE_PTR__ __attribute__((__section__(".sdata")))
+#endif
+
 #ifdef __xstormy16__
 #define __SMALL_BITFIELDS
 #undef INT_MAX