This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Scale DW_CFA_advance_loc[124] output values


> > I'm thinking the optimization in check_eh_frame is only valid when
> > the code alignment factor is 1.  That's the only time the advance
> > can be represented as a difference of symbols.
> 
> The optimization is valid for any code alignment factor, just it behaves
> incorrectly ATM for factor > 1.

The file was written to optimize GCC generated EH data and I believe
GCC hard codes the factor to 1.  So, fixing this optimization is less
pressing than the other bug.

Jakub, would you take this?  I only have time for GCC work on weekends.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]