diff options
author | Mark Wielaard <mjw@redhat.com> | 2011-03-25 10:06:13 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2011-03-25 10:06:13 +0000 |
commit | ec6165f8528e46fe0dc3fcd9c6539171e8b2f315 (patch) | |
tree | f2c85c4d2c5e05e6fc7807a0551529a844e879e4 | |
parent | 2a5ac39a3efd80d5380c1ae20dbbac2c19878f9e (diff) | |
download | gcc-ec6165f8528e46fe0dc3fcd9c6539171e8b2f315.zip gcc-ec6165f8528e46fe0dc3fcd9c6539171e8b2f315.tar.gz gcc-ec6165f8528e46fe0dc3fcd9c6539171e8b2f315.tar.bz2 |
Remove deprecated DW_FORM_sig8 define.
* dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.
* dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8.
(value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8.
From-SVN: r171442
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 4 | ||||
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/dwarf2.h | 1 |
4 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 05877e1..228f3e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2011-03-24 Mark Wielaard <mjw@redhat.com> + * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. + (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. + +2011-03-24 Mark Wielaard <mjw@redhat.com> + PR debug/48041 * dwarf2out.c (output_abbrev_section): Only write table when abbrev_die_table_in_use > 1. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 06dcf9c..e57b9a1 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -10729,7 +10729,7 @@ size_of_die (dw_die_ref die) case dw_val_class_die_ref: if (AT_ref_external (a)) { - /* In DWARF4, we use DW_FORM_sig8; for earlier versions + /* In DWARF4, we use DW_FORM_ref_sig8; for earlier versions we use DW_FORM_ref_addr. In DWARF2, DW_FORM_ref_addr is sized by target address length, whereas in DWARF3 it's always sized as an offset. */ @@ -11005,7 +11005,7 @@ value_format (dw_attr_ref a) return DW_FORM_flag; case dw_val_class_die_ref: if (AT_ref_external (a)) - return dwarf_version >= 4 ? DW_FORM_sig8 : DW_FORM_ref_addr; + return dwarf_version >= 4 ? DW_FORM_ref_sig8 : DW_FORM_ref_addr; else return DW_FORM_ref; case dw_val_class_fde_ref: diff --git a/include/ChangeLog b/include/ChangeLog index a0585b0..a6adcc3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2011-03-24 Mark Wielaard <mjw@redhat.com> + + * dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define. + 2010-03-23 Rafael Ávila de Espíndola <respindola@mozilla.com> * plugin-api.h (ld_plugin_get_view): New. diff --git a/include/dwarf2.h b/include/dwarf2.h index 46f2291..ef0fa5f 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -189,7 +189,6 @@ enum dwarf_form DW_FORM_exprloc = 0x18, DW_FORM_flag_present = 0x19, DW_FORM_ref_sig8 = 0x20 -#define DW_FORM_sig8 DW_FORM_ref_sig8 /* Note: The use of DW_FORM_sig8 is deprecated. */ }; /* Attribute names and codes. */ |