aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-09-05 08:22:27 +0000
committerNick Clifton <nickc@redhat.com>2006-09-05 08:22:27 +0000
commit91bb255c67ce378e25576a12e6b24929c45c92fc (patch)
tree9e6bf98bdd502886db12dbfb86ad1f2db13d24a2 /binutils/doc
parenta0d64f3a09dd00e54a3d0310d36e5e24084cefbd (diff)
downloadgdb-91bb255c67ce378e25576a12e6b24929c45c92fc.zip
gdb-91bb255c67ce378e25576a12e6b24929c45c92fc.tar.gz
gdb-91bb255c67ce378e25576a12e6b24929c45c92fc.tar.bz2
PR binutils/3166
* objcopy.c (is_strip_section): Do not treat group sections as debugging sections. * doc/binutils.texi (--only-keep-debug): Document that this switch is only intended for use on fully linked files.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index d74be80..e6d9ecd 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -1482,6 +1482,13 @@ i.e., the file pointed to by the @option{--add-gnu-debuglink} can be the
full executable. It does not have to be a file created by the
@option{--only-keep-debug} switch.
+Note - this switch is only intended for use on fully linked files. It
+does not make sense to use it on object files where the debugging
+information may be incomplete. Besides the gnu_debuglink feature
+currently only supports the presence of one filename containing
+debugging information, not multiple filenames on a one-per-object-file
+basis.
+
@item -V
@itemx --version
Show the version number of @command{objcopy}.
@@ -2391,6 +2398,13 @@ ie the file pointed to by the @option{--add-gnu-debuglink} can be the
full executable. It does not have to be a file created by the
@option{--only-keep-debug} switch.
+Note - this switch is only intended for use on fully linked files. It
+does not make sense to use it on object files where the debugging
+information may be incomplete. Besides the gnu_debuglink feature
+currently only supports the presence of one filename containing
+debugging information, not multiple filenames on a one-per-object-file
+basis.
+
@item -V
@itemx --version
Show the version number for @command{strip}.