This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: objcopy --nocompress-debug-sections


On Fri, Feb 12, 2016 at 1:14 PM, ÐÐÐÑÐ ÐÐÐÐÑÐÐÐ
<dilyan.palauzov@aegee.org> wrote:
> Hello,
>
> commit 151411f8af16 adds to the documentation of objcopy, that
> --compress-debug-sections=none is the same as --nocompress-debug-sections,
> but the latter is not documented.
>
> Moreover, objcopy does not accept --nocompress-debug-sections .
>
> Greetings
>   Dilian

I checked this into master and 2.26 branch.

Thanks.

-- 
H.J.
---
From 96d491cf8d814d9edff187c2f7db8b1ee72c4417 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Fri, 12 Feb 2016 13:38:57 -0800
Subject: [PATCH] Fix a typo in objcopy manual

For objcopy, --compress-debug-sections=none is the same as
--decompress-debug-sections, not --nocompress-debug-sections.

* doc/binutils.texi: Fix a typo.
---
 binutils/ChangeLog         | 4 ++++
 binutils/doc/binutils.texi | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index df4e6b0..c11da45 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+ * doc/binutils.texi: Fix a typo.
+
 2016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>

  * testsuite/binutils-all/objdump.exp: Update expected default
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index b173732..31ef8f2 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -1872,7 +1872,7 @@ ELF ABI.  Note - if compression would actually
make a section
 @itemx --compress-debug-sections=zlib-gabi
 For ELF files, these options control how DWARF debug sections are
 compressed.  @option{--compress-debug-sections=none} is equivalent
-to @option{--nocompress-debug-sections}.
+to @option{--decompress-debug-sections}.
 @option{--compress-debug-sections=zlib} and
 @option{--compress-debug-sections=zlib-gabi} are equivalent to
 @option{--compress-debug-sections}.
-- 
2.5.0


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