summaryrefslogtreecommitdiff
path: root/bfd/compress.c
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2010-07-03 20:52:22 +0000
committerCary Coutant <ccoutant@google.com>2010-07-03 20:52:22 +0000
commita3a5048c9dd19c8ee3716c8f9d97ce67d8066fd3 (patch)
tree4afbc8b43336cbaa24fc2436935753609b07688c /bfd/compress.c
parent0dbe4ca01246319e815404ba0ad12ebe30c263cf (diff)
downloadgdb-a3a5048c9dd19c8ee3716c8f9d97ce67d8066fd3.tar.gz
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.
Diffstat (limited to 'bfd/compress.c')
-rw-r--r--bfd/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/compress.c b/bfd/compress.c
index e074eca8e59..fe1b0fd3b33 100644
--- a/bfd/compress.c
+++ b/bfd/compress.c
@@ -1,4 +1,4 @@
-/* ELF attributes support (based on ARM EABI attributes).
+/* Compressed section support (intended for debug sections).
Copyright 2008, 2010
Free Software Foundation, Inc.