invoke.texi (SPARC Options): Document ``-mimpure-text''.

2003-06-13  Florian Weimer  <fw@deneb.enyo.de>

	* doc/invoke.texi (SPARC Options): Document ``-mimpure-text''.

From-SVN: r67888
This commit is contained in:
Florian Weimer 2003-06-13 12:11:45 +02:00 committed by Florian Weimer
parent 43c7300430
commit ebd6b6a1db
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-06-13 Florian Weimer <fw@deneb.enyo.de>
* doc/invoke.texi (SPARC Options): Document ``-mimpure-text''.
2003-06-13 Kaz Kojima <kkojima@gcc.gnu.org> 2003-06-13 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END * config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END

View File

@ -5935,6 +5935,22 @@ 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)