re PR other/11466 ('-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 17 Jul 2003 07:30:07 +0000 (09:30 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 17 Jul 2003 07:30:07 +0000 (07:30 +0000)
PR other/11466
* doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
and its restrictions for the SPARC64 port.
Move the entry of "-mimpure-text" before that of "-mv8".

From-SVN: r69497

gcc/ChangeLog
gcc/doc/invoke.texi

index 7fcfdfc65912c7763763fa455d900c164288c92f..0495a41c0b29622151b8d38e3e494da0bc19419c 100644 (file)
@@ -1,3 +1,10 @@
+2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR other/11466
+       * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
+       and its restrictions for the SPARC64 port.
+       Move the entry of "-mimpure-text" before that of "-mv8".
+
 2003-07-17  Eric Botcazou <ebotcazou@libertysurf.fr>
             Phil Edwards <phil@jaj.com>
 
index f292dc3fa3b4d147545dc40b58bfbbcb0f5230a3..1c8d3bbef536e5a7f11e6a86d88dbdbeade9d0c4 100644 (file)
@@ -350,7 +350,7 @@ in the following sections.
 -mapp-regs  -mbroken-saverestore  -mcypress @gol
 -mfaster-structs  -mflat @gol
 -mfpu  -mhard-float  -mhard-quad-float @gol
--mimpure-text  -mlive-g0  -mno-app-regs @gol
+-mimpure-text  -mlittle-endian  -mlive-g0  -mno-app-regs @gol
 -mno-faster-structs  -mno-flat  -mno-fpu @gol
 -mno-impure-text  -mno-stack-bias  -mno-unaligned-doubles @gol
 -msoft-float  -msoft-quad-float  -msparclite  -mstack-bias @gol
@@ -6022,22 +6022,6 @@ this to work.
 Generate output containing quad-word (long double) floating point
 instructions.
 
-@item -mimpure-text
-@opindex mimpure-text
-@option{-mimpure-text}, used in addition to @option{-shared}, tells
-the compiler to not pass @option{-z text} to the linker when linking a
-shared object.  Using this option, you can link position-dependent
-code into a shared object.  
-
-@option{-mimpure-text} suppresses the ``relocations remain against
-allocatable but non-writable sections'' linker error message.
-However, the necessary relocations will trigger copy-on-write, and the
-shared object is not actually shared across processes.  Instead of
-using @option{-mimpure-text}, you should compile all source code with
-@option{-fpic} or @option{-fPIC}.
-
-This option is only available on SunOS and Solaris.
-
 @item -msoft-quad-float
 @opindex msoft-quad-float
 Generate output containing library calls for quad-word (long double)
@@ -6091,6 +6075,22 @@ ABI@.  Thus, it's intended only for use on targets where the developer
 acknowledges that their resulting code will not be directly in line with
 the rules of the ABI@.
 
+@item -mimpure-text
+@opindex mimpure-text
+@option{-mimpure-text}, used in addition to @option{-shared}, tells
+the compiler to not pass @option{-z text} to the linker when linking a
+shared object.  Using this option, you can link position-dependent
+code into a shared object.  
+
+@option{-mimpure-text} suppresses the ``relocations remain against
+allocatable but non-writable sections'' linker error message.
+However, the necessary relocations will trigger copy-on-write, and the
+shared object is not actually shared across processes.  Instead of
+using @option{-mimpure-text}, you should compile all source code with
+@option{-fpic} or @option{-fPIC}.
+
+This option is only available on SunOS and Solaris.
+
 @item -mv8
 @itemx -msparclite
 @opindex mv8
@@ -6199,7 +6199,8 @@ on SPARC V9 processors in 64-bit environments.
 @table @gcctabopt
 @item -mlittle-endian
 @opindex mlittle-endian
-Generate code for a processor running in little-endian mode.
+Generate code for a processor running in little-endian mode. It is only
+available for a few configurations and most notably not on Solaris.
 
 @item -m32
 @itemx -m64