From 0acf065b19253e02ea32188ea0cbdf4e80e3c42d Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Sat, 3 Jul 2010 20:52:24 +0000 Subject: bfd/ChangeLog: * compress.c (bfd_uncompress_section_contents): Add ATTRIBUTE_UNUSED. * dwarf2.c (read_and_uncompress_section): New function. (read_section): Call it. (find_line): Likewise. binutils/ChangeLog: * objdump.c (load_specific_debug_section): Decompress section contents before applying relocations. * readelf.c (load_specific_debug_section): Update section size after decompression. gas/ChangeLog: * Makefile.am: Add compress-debug.c and compress-debug.h. * Makefile.in: Regenerate. * config.in: Add HAVE_ZLIB_H. * configure.in: Check for zlib.h. * configure: Regenerate. * as.c (parse_args): Add --compress-debug-sections and --nocompress-debug-sections. * as.h (flag_compress_debug): New variable. * compress-debug.c: New file. * compress-debug.h: New file. * write.c: Include compress-debug.h. (compress_frag): New function. (compress_debug): New function. (write_object_file): Compress debug sections if requested. --- gas/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gas/Makefile.am') diff --git a/gas/Makefile.am b/gas/Makefile.am index d23b472..6971f73 100644 --- a/gas/Makefile.am +++ b/gas/Makefile.am @@ -43,6 +43,7 @@ GAS_CFILES = \ app.c \ as.c \ atof-generic.c \ + compress-debug.c \ cond.c \ depend.c \ dwarf2dbg.c \ @@ -78,6 +79,7 @@ HFILES = \ bignum.h \ bit_fix.h \ cgen.h \ + compress-debug.h \ dwarf2dbg.h \ dw2gencfi.h \ ecoff.h \ -- cgit v1.1