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, binutils/ARM] Fix feature checks based on arch value and force review of logic for new arch


On Wednesday 15 June 2016 10:51:05 mickael guene wrote:
> Hi Thomas,

Hi Mickael,

> 
>     I have some regressions with your patch for a toolset configured for
> armv6s-m architecture.
>     I have now veneers generated whereas previously they were not
> generated.
>     This is due to the fact that using_thumb2() returns now 0 and
> so triggers generation of veneers for branch offset between
> THM_MAX_FWD_BRANCH_OFFSET and THM2_MAX_FWD_BRANCH_OFFSET.
>     These veneers are useless for armv6s-m architecture since
> it has support for 32-bit BL.

Sorry I don't follow you. The 32-bit BL takes an offset whose biggest value is 
THM_MAX_FWD_BRANCH_OFFSET so if the offset is bigger than that you need a 
veneer to reach the target address. Could you provide an example that changed 
between before and after the patch?

Best regards,

Thomas


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