old-cross-binutils/elfcpp
Ian Lance Taylor 62b01cb503 elfcpp/:
* dwarf.h (enum DW_FORM): Define.
gold/:
	* reduced_debug_output.cc: New file.
	* reduced_debug_output.h: New file.
	* options.h (class General_optoins): Add --strip-debug-non-line.
	* options.cc (General_options::finalize): Add strip_debug_non_line
	to the strip heirarchy.
	* layout.h (class Layout): Add debug_abbrev_ and debug_info_
	fields.
	* layout.cc: Include "reduced_debug_output.h".
	(Layout::Layout): Initialize new fields.
	(line_only_debug_sections): New static array.
	(is_lines_only_debug_sections): New static inline function.
	(Layout::include_section): Handle --strip-debug-non-line.
	(Layout::make_output_section): If --strip-debug-non-line, build
	new output sections for .debug_abbrev and .debug_info.
	* dwarf_reader.cc (read_unsigned_LEB_128): Move to namespace
	gold.  Warn about possible overflow.
	(read_signed_LEB_128): Likewise.
	* dwarf_reader.h: (read_unsigned_LEB_128): Declare.
	(read_signed_LEB_128): Declare.
	* Makefile.am (CCFILES): Add reduced_debug_output.cc.
	(HFILES): Add reduced_debug_output.h.
	* Makefile.in: Rebuild.
2008-05-28 20:48:16 +00:00
..
ChangeLog elfcpp/: 2008-05-28 20:48:16 +00:00
dwarf.h elfcpp/: 2008-05-28 20:48:16 +00:00
elfcpp.h elfcpp/ 2008-04-16 23:21:01 +00:00
elfcpp_file.h * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field. 2008-04-19 18:33:19 +00:00
elfcpp_internal.h Add licensing text to every source file. 2007-09-22 21:02:10 +00:00
elfcpp_swap.h * elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct 2008-04-03 23:33:20 +00:00
i386.h From Craig Silverstein: Add more DWARF info, add some i386 comments. 2007-11-02 03:31:41 +00:00
README Initial CVS checkin of gold 2006-08-04 23:10:59 +00:00
sparc.h * sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK, 2008-04-16 01:56:33 +00:00
x86_64.h Remove Andrew's e-mail address. 2008-01-09 19:40:24 +00:00

elfcpp is a C++ library for reading and writing ELF information.  This
was written to support gold, the ELF linker, and may not be generally
useful.

elfcpp does not do file I/O.  It deals only with offsets and memory
data.

For efficiency, most accessors are templates with two arguments: the
ELF file class (32 or 64 bits) and the endianness.