This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: PR middle-end/20274: -fvisibility=hidden has no effect on calling undefined function


This patch makes it clear that -fvisibility is only for defined
symbols.


H.J.
----
2005-03-02  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/20274
	* doc/invoke.texi: Document -fvisibility only applies to
	defined symbols.

--- gcc/doc/invoke.texi.defined	2005-02-27 22:11:46.000000000 -0800
+++ gcc/doc/invoke.texi	2005-03-02 09:39:02.362656215 -0800
@@ -12320,7 +12320,7 @@ The default without @option{-fpic} is @c
 @item -fvisibility=@var{default|internal|hidden|protected}
 @opindex fvisibility
 Set the default ELF image symbol visibility to the specified option---all
-symbols will be marked with this unless overridden within the code.
+defined symbols will be marked with this unless overridden within the code.
 Using this feature can very substantially improve linking and
 load times of shared object libraries, produce more optimized
 code, provide near-perfect API export and prevent symbol clashes.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]