Re: Optimise away eh_frame advance_loc 0
authorAlan Modra <amodra@gmail.com>
Tue, 29 Oct 2019 01:05:05 +0000 (11:35 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 29 Oct 2019 01:50:54 +0000 (12:20 +1030)
commitb9d8f5601bcfbe96ab0476286ae8e249ada10db5
tree07b6b1daeba6597f6fbd54b823d3524005337509
parentd7b510baa8603e37080405e09e907248bee81d35
Re: Optimise away eh_frame advance_loc 0

If we happen to get the fixed and variable parts of the advance_loc
in different frags, bad things happen when subtracting one from a
fr_fix of zero.

PR 25125
* dw2gencfi.c (output_cfi_insn): Don't allow DW_CFA_advance_loc4
to be placed in a different frag to the rs_cfa.
gas/ChangeLog
gas/dw2gencfi.c