This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: Update objcopy documentation
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Wed, 20 Jul 2016 09:40:55 +0100
- Subject: Commit: Update objcopy documentation
- Authentication-results: sourceware.org; auth=none
Hi Guys,
I am applying this patch to the objcopy documentation to note that the
symbol localization options do not affect unique symbols.
Cheers
Nick
2016-07-20 Nick Clifton <nickc@redhat.com>
* doc/binutils.texi (objcopy): Note that the localize symbol
options do not affect unique symbols.
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 5a564ef..2f4ea0a 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -1321,8 +1321,9 @@ such as @option{-L}.
@item -L @var{symbolname}
@itemx --localize-symbol=@var{symbolname}
-Make symbol @var{symbolname} local to the file, so that it is not
-visible externally. This option may be given more than once.
+Convert a global or weak symbol called @var{symbolname} into a local
+symbol, so that it is not visible externally. This option may be
+given more than once. Note - unique symbols are not converted.
@item -W @var{symbolname}
@itemx --weaken-symbol=@var{symbolname}