components/stdcxx/patches/035-iostream.patch
author Leibo Wang <Leibo.Wang@Sun.COM>
Wed, 11 Dec 2013 18:51:23 -0800
changeset 1594 7302abf31ae0
parent 402 94ae4d75524c
permissions -rw-r--r--
17347731 iftop core dumps when using more than one -f option 17363623 iftop should support 64-bit building for Solaris

--- stdcxx-4.2.1/include/iostream	2008-04-24 20:23:57.000000000 -0400
+++ stdcxx-4.2.1/include/iostream	2009-07-29 17:13:40.554302000 -0400
@@ -43,6 +43,11 @@
 // static stream initializer object defined in every translation unit
 // that (directly or otherwise) #includes this header (except the one
 // that defines iostream objects to prevent undesirable dependencies)
+
+#if defined(_RWSTD_STRICT_SPARCV8_MUTEX_ALIGNMENT)
+#  pragma align 8(__rw_stream_initializer)
+#endif
+
 static _STD::ios_base::Init __rw_stream_initializer;
 
 }   // namespace __rw