aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-03-22 07:54:45 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2006-03-22 07:54:45 +0000
commitbc4a348365af04b683c0ad073ba12e7918b52934 (patch)
tree1c3b9b0c732cf8c7a1531b983349368e416e0292 /gcc/doc
parent08b1e29a354d9a1119040558997249a62d1524d9 (diff)
downloadgcc-bc4a348365af04b683c0ad073ba12e7918b52934.zip
gcc-bc4a348365af04b683c0ad073ba12e7918b52934.tar.gz
gcc-bc4a348365af04b683c0ad073ba12e7918b52934.tar.bz2
md.texi (-mshared): Mention that -mshared code can be linked into shared libraries.
* doc/md.texi (-mshared): Mention that -mshared code can be linked into shared libraries. From-SVN: r112281
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1a26929..5b4e8be 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,