diff options
| author | Mark Wielaard <[email protected]> | 2014-06-18 10:57:58 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-06-22 19:29:13 +0200 |
| commit | af1e6ed9b4c0160a6a5c6f59d9443ae4f6f20a14 (patch) | |
| tree | f7fd30f2231fb338e0dc90e017141c0fd95b2e3b /backends | |
| parent | c1c1c06e30f0b3b4ae66fcfec6318a93b8f31569 (diff) | |
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 <[email protected]>
Diffstat (limited to 'backends')
| -rw-r--r-- | backends/ChangeLog | 5 | ||||
| -rw-r--r-- | backends/libebl_CPU.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index c846a958..a2df83b8 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,8 @@ +2014-06-18 Mark Wielaard <[email protected]> + + * libebl_CPU.h (dwarf_peel_type): Remove DW_TAG_mutable_type + handling. + 2014-06-17 Mark Wielaard <[email protected]> * arm_init.c (arm_init): Set func_addr_mask. 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); |
