Patchwork [wwwdocs] Document GCC 4.6 Solaris 2 changes

login
register
mail settings
Submitter Rainer Orth
Date Jan. 26, 2011, 3:59 p.m.
Message ID <ydd62tbmz9m.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/80517/
State New
Headers show

Comments

Rainer Orth - Jan. 26, 2011, 3:59 p.m.
Since we're getting closer to the GCC 4.6.0 release, here's a new
section describing the Solaris 2 changes.

Ok to commit?

Thanks.
	Rainer


2011-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* htdocs/gcc-4.6/changes.html (Solaris 2): Document new features
	and ABI change.
Gerald Pfeifer - Jan. 26, 2011, 10:04 p.m.
On Wed, 26 Jan 2011, Rainer Orth wrote:
> Index: htdocs/gcc-4.6/changes.html
> ===================================================================
> +<h3 id="solaris">Solaris 2</h3>
> +  <ul>
> +    <h4>New Features</h4>

I believe this is the only port which used <h4> to differentiate
between features and other changes.  It's fine if you really want
to handle it that way, just wanted to point it out.  An alternative
would be to say "<em>ABI Changes:</em> ....2

> +      <li>Support symbol versioning with Sun linker.</li>

"the Sun linker"?

> +      <li>Enable full ISO C99 support for C++ on Solaris 10+.</li>

ISO C99 for C++?

> +      <li>Support TLS with Sun as on Solaris 2/x86.</li>

Perhaps say "the Sun assembler"?  At first I was wondering about the
grammar of this sentence reading the as as the English word as. ;-)

> +    <h4>ABI Changes</h4>
> +      <li>Change ABI for returning 8-byte vectors in MMX registers on Solaris
> +	10+/x86 to match Sun Studio 12.1+ compilers.</li>

"Change the ABI..."

What happens with code (libraries,...) compiled with an earlier version of
GCC?  Will this break?  If so, a word of caution may be appropirate.


Looks good overall.  Please consider my comments and repost/check in

Thanks,
Gerald

Patch

Index: htdocs/gcc-4.6/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.93
diff -u -p -r1.93 changes.html
--- htdocs/gcc-4.6/changes.html	24 Jan 2011 18:30:17 -0000	1.93
+++ htdocs/gcc-4.6/changes.html	26 Jan 2011 15:56:50 -0000
@@ -755,6 +755,27 @@  supported on several Xilinx Spartan and 
       At the moment, Android support is enabled only for ARM.</li>
   </ul>
 
+<h3 id="solaris">Solaris 2</h3>
+  <ul>
+    <h4>New Features</h4>
+      <li>Support symbol versioning with Sun linker.</li>
+      <li>Enable full ISO C99 support for C++ on Solaris 10+.</li>
+      <li>Support TLS with Sun as on Solaris 2/x86.</li>
+      <li>Support TLS on Solaris 8/9 if prerequisites are met.</li>
+      <li>Support COMDAT group with GNU as and recent Sun ld.</li>
+      <li>Support Sun as visibility syntax.</li>
+      <li>Default Solaris 2/x86 to <code>-march=pentium4</code> (Solaris
+	10+) resp. <code>-march=pentiumpro</code> (Solaris 8/9).</li>
+      <li>Don't use SSE on Solaris 8/9 x86 by default.</li>
+      <li>Enable 128-bit long double (<code>__float128</code>) support on
+	Solaris 2/x86.</li>
+    
+    <h4>ABI Changes</h4>
+      <li>Change ABI for returning 8-byte vectors in MMX registers on Solaris
+	10+/x86 to match Sun Studio 12.1+ compilers.</li>
+  </ul>
+
+
 <h3 id="windows">Windows x86/x86_64</h3>
   <ul>
     <li>Initial support for decimal floating point.</li>