aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/gas/as.h b/gas/as.h
index 2f05745..e04cc0f 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -370,8 +370,18 @@ COMMON int flag_strip_local_absolute;
/* True if we should generate a traditional format object file. */
COMMON int flag_traditional_format;
-/* TRUE if debug sections should be compressed. */
-COMMON int flag_compress_debug;
+/* Types of compressed debug sections. We currently support zlib. */
+enum compressed_debug_section_type
+{
+ COMPRESS_DEBUG_NONE = 0,
+ COMPRESS_DEBUG,
+ COMPRESS_DEBUG_ZLIB,
+ COMPRESS_DEBUG_GNU_ZLIB,
+ COMPRESS_DEBUG_GABI_ZLIB
+};
+
+/* Type of compressed debug sections we should generate. */
+COMMON enum compressed_debug_section_type flag_compress_debug;
/* TRUE if .note.GNU-stack section with SEC_CODE should be created */
COMMON int flag_execstack;