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
This commit is contained in:
parent
2a5ac39a3e
commit
ec6165f852
4 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue