[PATCH] Make sure DW_CFA_advance_loc4 is in the same frag

Alan Modra amodra@gmail.com
Thu Aug 10 07:51:44 GMT 2023


On Thu, Aug 10, 2023 at 10:21:40AM +0800, Jinyang He wrote:
> The DW_CFA_advance_loc4 may be in different frags. Then fr_fix
> may caused something wrong. Referenced by commit b9d8f5601bcf
> ("Re: Optimise away eh_frame advance_loc 0").
> 
> gas/ChangeLog:
> 
> 	* ehopt.c (check_eh_frame): Don't allow DW_CFA_advance_loc4
> 	to be placed in a different frag to the rs_cfa.

OK.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list