summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-25 10:06:13 +0000
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-25 10:06:13 +0000
commit5c55078237e2a812e69d6b76ca8ac82e4b2f3819 (patch)
treef2c85c4d2c5e05e6fc7807a0551529a844e879e4 /gcc
parentb3ba5e8d67a0aadb0199d01c6f5e93f320366309 (diff)
downloadgcc-5c55078237e2a812e69d6b76ca8ac82e4b2f3819.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171442 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 05877e1ee8c..228f3e2b3db 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 06dcf9c79d1..e57b9a1a0ea 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: