Commit 54284728 by Eric Botcazou Committed by Eric Botcazou

re PR other/11466 ('-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x)

	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
parent bc890961
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> 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
Phil Edwards <phil@jaj.com> Phil Edwards <phil@jaj.com>
......
...@@ -350,7 +350,7 @@ in the following sections. ...@@ -350,7 +350,7 @@ in the following sections.
-mapp-regs -mbroken-saverestore -mcypress @gol -mapp-regs -mbroken-saverestore -mcypress @gol
-mfaster-structs -mflat @gol -mfaster-structs -mflat @gol
-mfpu -mhard-float -mhard-quad-float @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-faster-structs -mno-flat -mno-fpu @gol
-mno-impure-text -mno-stack-bias -mno-unaligned-doubles @gol -mno-impure-text -mno-stack-bias -mno-unaligned-doubles @gol
-msoft-float -msoft-quad-float -msparclite -mstack-bias @gol -msoft-float -msoft-quad-float -msparclite -mstack-bias @gol
...@@ -6022,22 +6022,6 @@ this to work. ...@@ -6022,22 +6022,6 @@ this to work.
Generate output containing quad-word (long double) floating point Generate output containing quad-word (long double) floating point
instructions. 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 @item -msoft-quad-float
@opindex msoft-quad-float @opindex msoft-quad-float
Generate output containing library calls for quad-word (long double) 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 ...@@ -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 acknowledges that their resulting code will not be directly in line with
the rules of the ABI@. 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 @item -mv8
@itemx -msparclite @itemx -msparclite
@opindex mv8 @opindex mv8
...@@ -6199,7 +6199,8 @@ on SPARC V9 processors in 64-bit environments. ...@@ -6199,7 +6199,8 @@ on SPARC V9 processors in 64-bit environments.
@table @gcctabopt @table @gcctabopt
@item -mlittle-endian @item -mlittle-endian
@opindex 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 @item -m32
@itemx -m64 @itemx -m64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment