aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2010-07-15 17:45:17 +0000
committerCary Coutant <ccoutant@google.com>2010-07-15 17:45:17 +0000
commit700c40609061e3f805da243bcde613d6174a84f3 (patch)
tree4727ff4c2a63b29ddede244f7fc1f8e33f8276db /gas
parent78384e8f7295dbaa04648c6ffcf77441807e5a99 (diff)
downloadbinutils-700c40609061e3f805da243bcde613d6174a84f3.zip
binutils-700c40609061e3f805da243bcde613d6174a84f3.tar.gz
binutils-700c40609061e3f805da243bcde613d6174a84f3.tar.bz2
* gas/NEWS: Add note about --compress-debug-sections.
* gas/as.c (show_usage): Add --compress-debug-sections and --nocompress-debug-sections.
Diffstat (limited to 'gas')
-rw-r--r--gas/NEWS5
-rw-r--r--gas/as.c9
2 files changed, 13 insertions, 1 deletions
diff --git a/gas/NEWS b/gas/NEWS
index 1b7f9e9..db6b6d4 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -9,6 +9,11 @@
* Add support for the Renesas RX processor.
+* New command line option, --compress-debug-sections, which requests
+ compression of DWARF debug information sections in the relocatable output
+ file. Compressed debug sections are supported by readelf, objdump, and
+ gold, but not currently by Gnu ld.
+
Changes in 2.20:
* GNU/Linux targets now supports "gnu_unique_object" as a value in the .type
diff --git a/gas/as.c b/gas/as.c
index e494fa5..45acbaa 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -246,9 +246,16 @@ Options:\n\
fprintf (stream, _("\
--alternate initially turn on alternate macro syntax\n"));
fprintf (stream, _("\
+ --compress-debug-sections\n\
+ compress DWARF debug sections using zlib\n"));
+ fprintf (stream, _("\
+ --nocompress-debug-sections\n\
+ don't compress DWARF debug sections\n"));
+ fprintf (stream, _("\
-D produce assembler debugging messages\n"));
fprintf (stream, _("\
- --debug-prefix-map OLD=NEW Map OLD to NEW in debug information\n"));
+ --debug-prefix-map OLD=NEW\n\
+ map OLD to NEW in debug information\n"));
fprintf (stream, _("\
--defsym SYM=VAL define symbol SYM to given value\n"));
#ifdef USE_EMULATIONS