dw2gencfi.c DWARF2_FDE_RELOC_SIZE
authorAlan Modra <amodra@gmail.com>
Sun, 5 Mar 2017 12:55:16 +0000 (23:25 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 6 Mar 2017 10:13:45 +0000 (20:43 +1030)
commitea0de82ec2d7f109ba179d8d55130805e680f02d
tree9b9c946283977b68aff0d27f3053c66eb664ed5e
parent9e1a8675d49a5bbb881f664f8b7a1081432c994d
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.
gas/ChangeLog
gas/dw2gencfi.c
This page took 0.026167 seconds and 4 git commands to generate.