gdb/ChangeLog:* gdb/valarith.c (vector_binop): New function.(scalar_binop): Likewise...
[binutils-gdb.git] / gas / as.c
index e494fa5fe17abc656217fedbda4a3cf6137e35f6..d9aa6e276f267fa992c47d3df7049143e4cda3dc 100644 (file)
--- a/gas/as.c
+++ b/gas/as.c
@@ -245,10 +245,19 @@ Options:\n\
 
   fprintf (stream, _("\
   --alternate             initially turn on alternate macro syntax\n"));
+#ifdef HAVE_ZLIB_H
+  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"));
+#endif /* HAVE_ZLIB_H */
   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
@@ -639,7 +648,11 @@ This program has absolutely no warranty.\n"));
          exit (EXIT_SUCCESS);
 
        case OPTION_COMPRESS_DEBUG:
+#ifdef HAVE_ZLIB_H
          flag_compress_debug = 1;
+#else
+         as_warn (_("cannot compress debug sections (zlib not installed)"));
+#endif /* HAVE_ZLIB_H */
          break;
 
        case OPTION_NOCOMPRESS_DEBUG: