aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2010-08-09 18:08:18 +0000
committerCary Coutant <ccoutant@google.com>2010-08-09 18:08:18 +0000
commit955974c6c5ddc44febc20560a975a76acf3aa5ca (patch)
treeab178805104736c70402db3279c5afd5b75e3ec6 /gas/doc
parent1971b03393cfbbc43b8404e2a2c9a77f3161c67e (diff)
downloadgdb-955974c6c5ddc44febc20560a975a76acf3aa5ca.zip
gdb-955974c6c5ddc44febc20560a975a76acf3aa5ca.tar.gz
gdb-955974c6c5ddc44febc20560a975a76acf3aa5ca.tar.bz2
* as.c (show_usage): Don't list --compress-debug-sections if zlib not
installed. (main): Warn if --compress-debug-sections requested and zlib not installed. * doc/as.texinfo: Add --compress-debug-sections, --nocompress-debug-sections.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.texinfo9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index a8327b8..f17c591 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -232,6 +232,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
@smallexample
@c man begin SYNOPSIS
@value{AS} [@b{-a}[@b{cdghlns}][=@var{file}]] [@b{--alternate}] [@b{-D}]
+ [@b{--compress-debug-sections}] [@b{--nocompress-debug-sections}]
[@b{--debug-prefix-map} @var{old}=@var{new}]
[@b{--defsym} @var{sym}=@var{val}] [@b{-f}] [@b{-g}] [@b{--gstabs}]
[@b{--gstabs+}] [@b{--gdwarf-2}] [@b{--help}] [@b{-I} @var{dir}] [@b{-J}]
@@ -552,6 +553,14 @@ Begin in alternate macro mode.
@xref{Altmacro,,@code{.altmacro}}.
@end ifclear
+@item --compress-debug-sections
+Compress DWARF debug sections using zlib. The debug sections are renamed
+to begin with @samp{.zdebug}, and the resulting object file may not be
+compatible with older linkers and object file utilities.
+
+@item --nocompress-debug-sections
+Do not compress DWARF debug sections. This is the default.
+
@item -D
Ignored. This option is accepted for script compatibility with calls to
other assemblers.