aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-03-05 23:25:16 +1030
committerAlan Modra <amodra@gmail.com>2017-03-06 20:43:45 +1030
commitea0de82ec2d7f109ba179d8d55130805e680f02d (patch)
tree9b9c946283977b68aff0d27f3053c66eb664ed5e /opcodes
parent9e1a8675d49a5bbb881f664f8b7a1081432c994d (diff)
downloadgdb-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 'opcodes')
0 files changed, 0 insertions, 0 deletions