diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2021-06-14 15:43:19 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2021-06-14 15:45:55 +0200 |
commit | 0121f438e83e06efd29e43779edf4a01004a39ff (patch) | |
tree | e5abd2f0fa0caee9825852dc427a8bf2227acc18 /gdb/compile/compile.c | |
parent | 90d3edf01630093142e833235abea548aa78e65b (diff) | |
download | binutils-0121f438e83e06efd29e43779edf4a01004a39ff.zip binutils-0121f438e83e06efd29e43779edf4a01004a39ff.tar.gz binutils-0121f438e83e06efd29e43779edf4a01004a39ff.tar.bz2 |
Use consistent type in binutils/dwarf.c
If you look at the type used for implicit_const objects in binutils/dwarf.c,
you'll get sometimes bfd_signed_vma and sometimes dwarf_signed_vma.
They are the same on 64-bit hosts, but not on 32-bit hosts, and the latter
discrepancy, in particular in process_abbrev_set, is responsible for the
following error issued by objdump on some object files containing DWARF 5:
binutils/dwarf.c:1108: read LEB value is too large to store in destination
variable
binutis/
* dwarf.c (struct abbrev_attr): Change type of implicit_const.
(add_abbrev_attr): Likewise.
(process_abbrev_set): Likewise.
(display_debug_abbrev): Adjust to above change.
Diffstat (limited to 'gdb/compile/compile.c')
0 files changed, 0 insertions, 0 deletions