8sa1-binutils-gdb/binutils/testsuite/binutils-all
Craig Silverstein 1b31505692 bfd/
* Makefile.am (BFD32_LIBS): Add compress.lo.
	(BFD32_LIBS_CFILES): Add compress.c.
	(BFD_H_FILES): Likewise.
	* Makefile.in: Regenerate.
	* bfd-in2.h: Regenerate.
	* config.in: Add HAVE_ZLIB_H
	* configure.in: Add test for libz and zlib.h
	* configure: Regenerate.
	* dwarf2.c (read_section): New function.
	(read_indirect_string): Call new function read_section.
	(read_abbrevs): Likewise.
	(decode_line_info): Likewise.
	(read_debug_ranges): Likewise.
	(find_line): Call new function read_section when just one
	.zdebug_info section is found, otherwise read and compress
	multiple sections.
	(_bfd_dwarf2_cleanup_debug_info): Free sec_info_ptr.
	* elf.c (_bfd_elf_make_section_from_shdr): Add zdebug prefix.
	(special_sections_z): New struct.
	(special_sections): Refer to special_sections_z.
	* elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Recognize
	sections named .zdebug_*.
	(_bfd_mips_elf_fake_sections): Likewise.
	* compress.c: New file.
	(bfd_uncompress_section_contents): New function.
bfd/doc/
	* Makefile.am (BFD_H_DEP): Add ../compress.c.
	* Makefile.in: Regenerate.
binutils/
	* config.in: Add HAVE_ZLIB_H
	* configure.in: Add test for libz and zlib.h
	* configure: Regenerate.
	* dwarf.c (debug_displays): Add .zdebug_* strings.
	* dwarf.h (struct dwarf_section): Add fields uncompressed_namd
	and compressed_name.
	* objdump.c (load_debug_section): Call
	bfd_uncompress_section_contents when loading a compressed
	section.
	(dump_dwarf_section): Recognize compressed section name.
	(mach_o_dwarf_sections): Rename as
	mach_o_uncompressed_dwarf_sections.
	(mach_o_compressed_dwarf_sections): New variable.
	(generic_dwarf_section): Rename as
	generic_uncompressed_dwarf_sections.
	(generic_compressed_dwarf_sections): New variable.
	(check_mach_o_dwarf): Save and restore
	mach_o_compressed_dwarf_sections.
	* readelf.c: Add #include for config.h and zlib.h
	(process_section_headers): Recognize compressed section name.
	(uncompress_section_contents): New function.
	(load_debug_section): Call uncompress_section_contents when
	loading a compressed section.
	(display_debug_section): Recognize compressed section name.
binutils/testsuite:
	* binutils-all/objdump.exp: Add test for objdump -s on a file
	with a compressed debug section.  Add test for objdump -W on a
	file that contains a compressed debug section.
	* binutils-all/readelf.exp: Call readelf_compressed_wa_test.
	(readelf_compressed_wa_test): New function.
	* binutils-all/dw2-compressed.S: New file.
	* binutils-all/objdump.W: New file.
	* binutils-all/objdump.s: New file.
	* binutils-all/readelf.wa: New file.
2008-07-10 01:32:23 +00:00
..
arm bfd: 2007-08-28 13:21:58 +00:00
hppa Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
m68k Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
vax Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
windres * binutils-all/windres/windres.exp: Don't xfail. 2007-10-26 06:45:07 +00:00
alias.def * dlltool.c: Include <assert.h>. 2004-10-24 17:49:55 +00:00
ar.exp Add support for thin archives. 2008-03-28 06:49:44 +00:00
bintest.s 19990502 sourceware import 1999-05-03 07:29:11 +00:00
copy-1.d 2006-05-02 Dave Korn <dave.korn@artimi.com> 2006-05-02 17:46:41 +00:00
copy-1.s 2006-04-26 H.J. Lu <hongjiu.lu@intel.com> 2006-04-26 13:37:05 +00:00
copy-2.d binutils/testsuite/ 2007-08-09 11:25:58 +00:00
copy-3.d binutils/testsuite/ 2007-08-09 11:25:58 +00:00
copytest.s * binutils-all/copy-2.d: Change the name of the section whose flags are 2006-05-02 12:17:30 +00:00
dlltool.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
dumptest.s * readelf.c (dump_type): New type used to classify the kinds of dump requested by the user. 2007-08-30 13:47:35 +00:00
dw2-compressed.S bfd/ 2008-07-10 01:32:23 +00:00
empty.s 2007-04-12 H.J. Lu <hongjiu.lu@intel.com> 2007-04-12 19:20:46 +00:00
fastcall.def Adds support for fastcall symbols as used on Microsoft Windows platforms 2002-11-06 19:36:20 +00:00
group.s binutils/testsuite/ 2005-10-20 17:06:41 +00:00
link-order.s 2005-10-19 H.J. Lu <hongjiu.lu@intel.com> 2005-10-19 17:39:43 +00:00
localize-hidden-1.d binutils/testsuite/ 2006-06-24 09:10:04 +00:00
localize-hidden-1.s binutils/ 2006-06-23 16:23:09 +00:00
localize-hidden-2.d binutils/ 2006-06-23 16:23:09 +00:00
localize-hidden-2.s binutils/ 2006-06-23 16:23:09 +00:00
needed-by-reloc.s * binutils-all/needed-by-reloc.s: Use .long rather than .4byte. 2007-05-11 07:16:28 +00:00
nm.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
objcopy.exp 2008-07-08 Kai Tietz <kai.tietz@onevision.com> 2008-07-08 08:15:09 +00:00
objdump.exp bfd/ 2008-07-10 01:32:23 +00:00
objdump.s bfd/ 2008-07-10 01:32:23 +00:00
objdump.W bfd/ 2008-07-10 01:32:23 +00:00
readelf.exp bfd/ 2008-07-10 01:32:23 +00:00
readelf.h 2003-09-29 H.J. Lu <hongjiu.lu@intel.com> 2003-09-30 00:15:54 +00:00
readelf.r Display 2nd and 3rd reloc types for 64-bit MIPS. 2002-02-20 10:32:47 +00:00
readelf.r-64 Display 2nd and 3rd reloc types for 64-bit MIPS. 2002-02-20 10:32:47 +00:00
readelf.s 2003-09-29 H.J. Lu <hongjiu.lu@intel.com> 2003-09-30 00:15:54 +00:00
readelf.s-64 * binutils-all/readelf.s-64: Adjust offsets for powerpc64. Don't 2001-08-27 10:38:41 +00:00
readelf.ss Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
readelf.ss-64 Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
readelf.ss-mips Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
readelf.ss-tmips Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
readelf.wa bfd/ 2008-07-10 01:32:23 +00:00
size.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
strip-1.d binutils/ 2006-09-14 23:37:35 +00:00
strip-2.d binutils/ 2006-09-14 23:37:35 +00:00
strip-3.d 2007-06-23 H.J. Lu <hongjiu.lu@intel.com> 2007-06-23 16:15:53 +00:00
testprog.c Add prototype for printf() and make type of "string" array be "char" in 2005-01-04 10:13:02 +00:00
unknown.s binutils/testsuite/ 2005-10-19 20:49:03 +00:00