components/stdcxx/patches/035-iostream.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Thu, 14 Jul 2011 11:26:11 -0700
changeset 402 94ae4d75524c
permissions -rw-r--r--
7064836 stdcxx to Userland

--- 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