summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi5
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9ebe4547834..561cfefa0ec 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2006-03-22 Richard Sandiford <richard@codesourcery.com>
+ * doc/md.texi (-mshared): Mention that -mshared code can be linked
+ into shared libraries.
+
+2006-03-22 Richard Sandiford <richard@codesourcery.com>
+
* doc/md.texi: Refer to i386/constraints.md instead of
i386/predicates.md.
* config/i386/constraints.md: New file, extracted from...
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1a26929c21f..5b4e8bedcb1 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -10470,8 +10470,9 @@ systems.
@item -mshared
@itemx -mno-shared
-Generate (do not generate) code that is fully position-independent.
-This option only affects @option{-mabicalls}.
+Generate (do not generate) code that is fully position-independent,
+and that can therefore be linked into shared libraries. This option
+only affects @option{-mabicalls}.
All @option{-mabicalls} code has traditionally been position-independent,
regardless of options like @option{-fPIC} and @option{-fpic}. However,
OpenPOWER on IntegriCloud