summaryrefslogtreecommitdiff
path: root/backends/libebl_CPU.h
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-06-18 10:57:58 +0200
committerMark Wielaard <mjw@redhat.com>2014-06-22 19:29:13 +0200
commitaf1e6ed9b4c0160a6a5c6f59d9443ae4f6f20a14 (patch)
treef7fd30f2231fb338e0dc90e017141c0fd95b2e3b /backends/libebl_CPU.h
parentc1c1c06e30f0b3b4ae66fcfec6318a93b8f31569 (diff)
downloadelfutils-af1e6ed9b4c0160a6a5c6f59d9443ae4f6f20a14.tar.gz
dwarf.h: Remove non-existing DW_TAG_mutable_type.
The DW_TAG_mutable_type was only mentioned in an early draft of DWARFv3. But was removed because there are no C++ mutable qualified types. It was replaced by a new attribute DW_AT_mutable on DW_TAG_member DIEs. The new attribute is available in dwarf.h. http://dwarfstd.org/ShowIssue.php?issue=050223.1 DW_TAG_mutable_type was only used internally in some backends (which just ignored it anyway). dwarves did use it to turn it into a string value, libabigail used it and ignored it (patches to remove sent). GCC, GDB and binutils don't use nor define it. Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'backends/libebl_CPU.h')
-rw-r--r--backends/libebl_CPU.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/libebl_CPU.h b/backends/libebl_CPU.h
index 3ad92588..fa0d4f2d 100644
--- a/backends/libebl_CPU.h
+++ b/backends/libebl_CPU.h
@@ -1,5 +1,5 @@
/* Common interface for libebl modules.
- Copyright (C) 2000, 2001, 2002, 2003, 2005, 2013 Red Hat, Inc.
+ Copyright (C) 2000, 2001, 2002, 2003, 2005, 2013, 2014 Red Hat, Inc.
This file is part of elfutils.
This file is free software; you can redistribute it and/or modify
@@ -60,7 +60,7 @@ dwarf_peel_type (Dwarf_Die *typediep, Dwarf_Attribute *attrp)
int tag = DWARF_TAG_OR_RETURN (typediep);
while (tag == DW_TAG_typedef
|| tag == DW_TAG_const_type || tag == DW_TAG_volatile_type
- || tag == DW_TAG_restrict_type || tag == DW_TAG_mutable_type)
+ || tag == DW_TAG_restrict_type)
{
attrp = dwarf_attr_integrate (typediep, DW_AT_type, attrp);
typediep = dwarf_formref_die (attrp, typediep);