aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2003-06-13 12:11:45 +0200
committerFlorian Weimer <fw@gcc.gnu.org>2003-06-13 12:11:45 +0200
commitebd6b6a1dbb7cd8d8eea862006daa912870025fe (patch)
treeb73573b94bc450bd74581d1b8a9fe69ade29e422 /gcc
parent43c7300430dbca3da63169ab8207c267e5bdf545 (diff)
downloadgcc-ebd6b6a1dbb7cd8d8eea862006daa912870025fe.zip
gcc-ebd6b6a1dbb7cd8d8eea862006daa912870025fe.tar.gz
gcc-ebd6b6a1dbb7cd8d8eea862006daa912870025fe.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi16
2 files changed, 20 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1804cf4..6710944 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
* config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1a8f78d..990096b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -5935,6 +5935,22 @@ 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)