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/dwarf_reader.cc | |
parent | b008ea786b2de8eabce6d54ca323967199d5b348 (diff) | |
download | gdb-b9b9f2ee726779a225deaca3cac4700bcb82a71b.zip gdb-b9b9f2ee726779a225deaca3cac4700bcb82a71b.tar.gz gdb-b9b9f2ee726779a225deaca3cac4700bcb82a71b.tar.bz2 |
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/dwarf_reader.cc')
-rw-r--r-- | gold/dwarf_reader.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gold/dwarf_reader.cc b/gold/dwarf_reader.cc index 6245dc8..2955d79 100644 --- a/gold/dwarf_reader.cc +++ b/gold/dwarf_reader.cc @@ -613,9 +613,6 @@ Dwarf_die::read_attributes() attr_value.aux.shndx = 0; switch(form) { - case elfcpp::DW_FORM_null: - attr_value.val.intval = 0; - break; case elfcpp::DW_FORM_flag_present: attr_value.val.intval = 1; break; @@ -845,7 +842,6 @@ Dwarf_die::skip_attributes() } switch(form) { - case elfcpp::DW_FORM_null: case elfcpp::DW_FORM_flag_present: break; case elfcpp::DW_FORM_strp: @@ -985,7 +981,6 @@ Dwarf_die::int_attribute(unsigned int attr) return 0; switch (attr_val->form) { - case elfcpp::DW_FORM_null: case elfcpp::DW_FORM_flag_present: case elfcpp::DW_FORM_data1: case elfcpp::DW_FORM_flag: @@ -1007,7 +1002,6 @@ Dwarf_die::uint_attribute(unsigned int attr) return 0; switch (attr_val->form) { - case elfcpp::DW_FORM_null: case elfcpp::DW_FORM_flag_present: case elfcpp::DW_FORM_data1: case elfcpp::DW_FORM_flag: |