diff options
author | Cary Coutant <ccoutant@google.com> | 2012-05-01 22:46:36 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2012-05-01 22:46:36 +0000 |
commit | b9b9f2ee726779a225deaca3cac4700bcb82a71b (patch) | |
tree | 7ee13990852760d1c93eb0871c6a730482f9d4e6 /gold/reduced_debug_output.cc | |
parent | b008ea786b2de8eabce6d54ca323967199d5b348 (diff) |
elfcpp/
* dwarf.h (enum DW_TAG, enum DW_FORM, enum DW_AT, enum DW_ENCODING)
(enum DW_OP, enum DW_CFA): Remove.
Include dwarf2.def.
gold/
* dwarf_reader.cc (Dwarf_die::read_attributes)
(Dwarf_die::skip_attributes, Dwarf_die::int_attribute)
(Dwarf_die::uint_attribute): Remove DW_FORM_null.
* reduced_debug_output.cc
(Output_reduced_debug_info_section::get_die_end): Remove
DW_FORM_GNU_ref_index. Add default case.
Diffstat (limited to 'gold/reduced_debug_output.cc')
-rw-r--r-- | gold/reduced_debug_output.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gold/reduced_debug_output.cc b/gold/reduced_debug_output.cc index 31eaf779cd..a6158fcc30 100644 --- a/gold/reduced_debug_output.cc +++ b/gold/reduced_debug_output.cc @@ -1,6 +1,6 @@ // reduced_debug_output.cc -- output reduced debugging information to save space -// Copyright 2008, 2010 Free Software Foundation, Inc. +// Copyright 2008, 2010, 2012 Free Software Foundation, Inc. // Written by Caleb Howe <cshowe@google.com>. // This file is part of gold. @@ -60,7 +60,6 @@ Output_reduced_debug_info_section::get_die_end( return false; switch(form) { - case elfcpp::DW_FORM_null: case elfcpp::DW_FORM_flag_present: break; case elfcpp::DW_FORM_strp: @@ -128,9 +127,9 @@ Output_reduced_debug_info_section::get_die_end( break; } case elfcpp::DW_FORM_indirect: - case elfcpp::DW_FORM_GNU_ref_index: case elfcpp::DW_FORM_GNU_addr_index: case elfcpp::DW_FORM_GNU_str_index: + default: return false; } } |