[Buildroot] Fwd: [PATCH] arm: ensure symbol is a thumb symbol in new binutils

Nick Clifton nickc@redhat.com
Tue Jun 19 12:01:00 GMT 2018


Hi Romain,

>>>    Does my suggestion of making the assembler's interpretation of
>>>    the ADR and ADRL pseudo-ops depend upon the -mthumb-interwork
>>>    switch seem like a good idea ?

>> I think it's a good trigger but I'm not an expert on this domain.
> 
> Same here...
> I'm not sure how many project enable -mthumb-interwork option.

Well actually that is the point.  By making the ADR/ADRL pseudo-ops
only set the bottom bit if the -mthumb-interwork option is used, we
will effectively be restoring the old behaviour of the assembler to
any project that does not use it.  So the ARM kernel in particular 
will get the old behaviour back, which is what I think is wanted.

So - any objections to the change ?  Anyone ?

Cheers
  Nick






More information about the Binutils mailing list