diff options
author | Alan Modra <amodra@gmail.com> | 2017-03-05 23:25:16 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-03-06 20:43:45 +1030 |
commit | ea0de82ec2d7f109ba179d8d55130805e680f02d (patch) | |
tree | 9b9c946283977b68aff0d27f3053c66eb664ed5e /missing | |
parent | 9e1a8675d49a5bbb881f664f8b7a1081432c994d (diff) | |
download | gdb-ea0de82ec2d7f109ba179d8d55130805e680f02d.zip gdb-ea0de82ec2d7f109ba179d8d55130805e680f02d.tar.gz gdb-ea0de82ec2d7f109ba179d8d55130805e680f02d.tar.bz2 |
dw2gencfi.c DWARF2_FDE_RELOC_SIZE
Add asserts that reloc size matches encoding size, and tidy.
* dw2gencfi.c (encoding_size): Return unsigned int.
(emit_expr_encoded): Assert size matches reloc bitsize.
(output_fde): Use unsigned for offset_size and addr_size. Set
addr_size earlier and use in place of constant 4 and uses of
DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions