OSDN Git Service

elfcpp/:
authorian <ian>
Wed, 28 May 2008 20:48:16 +0000 (20:48 +0000)
committerian <ian>
Wed, 28 May 2008 20:48:16 +0000 (20:48 +0000)
commitfb2b39e2621595fd40af7f68e4c62e02ad1b9685
tree7a42f7f7b411460427b6141da4be5f6caf80e9bd
parenta41fca14ce7fe14e93da63a6a8883ac1a65adb64
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.
13 files changed:
elfcpp/ChangeLog
elfcpp/dwarf.h
gold/ChangeLog
gold/Makefile.am
gold/Makefile.in
gold/dwarf_reader.cc
gold/dwarf_reader.h
gold/layout.cc
gold/layout.h
gold/options.cc
gold/options.h
gold/reduced_debug_output.cc [new file with mode: 0644]
gold/reduced_debug_output.h [new file with mode: 0644]