diff options
author | Cary Coutant <ccoutant@google.com> | 2014-02-11 11:33:49 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2014-02-11 11:33:49 -0800 |
commit | 503a609192b5d13905b40969ea82c62a72b576e0 (patch) | |
tree | 69105f6c184d08fd286a2eff8ca26d565e3b62b4 /binutils/ChangeLog | |
parent | dd0c4e70fe4d9a91132523a64a5c6e67cce07faf (diff) | |
download | fsf-binutils-gdb-503a609192b5d13905b40969ea82c62a72b576e0.zip fsf-binutils-gdb-503a609192b5d13905b40969ea82c62a72b576e0.tar.gz fsf-binutils-gdb-503a609192b5d13905b40969ea82c62a72b576e0.tar.bz2 |
Fix readelf so it doesn't complain about corrupt attribute.
When a DW_FORM_flag_present attribute comes at the very end of a
debug section, readelf complains about a corrupt attribute
because it's checking to make sure there's at least one byte of
data remaining. This patch suppresses the check when the form
is DW_FORM_flag_present.
2014-02-11 Cary Coutant <ccoutant@google.com>
* binutils/dwarf.c (read_and_display_attr_value): Don't warn
for zero-length attribute value.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d7f5da1..7c258f6 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2014-02-11 Cary Coutant <ccoutant@google.com> + + * binutils/dwarf.c (read_and_display_attr_value): Don't warn + for zero-length attribute value. + 2014-02-10 Alan Modra <amodra@gmail.com> * po/binutils.pot: Regenerate. |