aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-06-30 16:17:46 +0100
committerNick Clifton <nickc@redhat.com>2021-06-30 16:17:46 +0100
commitc63fc3680abb57eddb7c0cefbf11c01736286890 (patch)
treebcb2f4511e52f16eefe4aff7c6c962ebadd3c1cc /binutils
parent280c57ff58f8cb7c70d47ffbfeb446ca9b562c96 (diff)
downloadbinutils-c63fc3680abb57eddb7c0cefbf11c01736286890.zip
binutils-c63fc3680abb57eddb7c0cefbf11c01736286890.tar.gz
binutils-c63fc3680abb57eddb7c0cefbf11c01736286890.tar.bz2
Handle DW_FORM_implicit_const when displaying an attribute
* dwarf.c (read_and_display_attr_value): Handle DW_FORM_implicit_const.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/dwarf.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b5dedef..b22a081 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-30 Tom Tromey <tom@tromey.com>
+
+ * dwarf.c (read_and_display_attr_value): Handle
+ DW_FORM_implicit_const.
+
2021-06-30 Richard Henderson <richard.henderson@linaro.org>
* dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index a61f099..de9d2b8 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -2517,6 +2517,10 @@ read_and_display_attr_value (unsigned long attribute,
offset_size, dwarf_version,
debug_info_p, do_loc,
section, this_set, delimiter, level);
+
+ case DW_FORM_implicit_const:
+ uvalue = implicit_const;
+ break;
}
switch (form)