From bc4a348365af04b683c0ad073ba12e7918b52934 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 22 Mar 2006 07:54:45 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 5 +++-- 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,3 +1,8 @@ +2006-03-22 Richard Sandiford + + * doc/md.texi (-mshared): Mention that -mshared code can be linked + into shared libraries. + 2006-03-22 Richard Sandiford * doc/md.texi: Refer to i386/constraints.md instead of 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, -- 2.30.2