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: [RFA/ARM]: Patch to workaround ARM1176 BLX (immediate) Thumb to ARM issue


Hi Matthew,

* When the option is on the linker will only use BLX if the target
architecture (derived from the object files) is v6T2, v7, or
greater.

This does not seem right to me. The erratum only applies to the ARM1176JZ-S and ARM1176JZF-S processors and only to Thumb BLX instructions. Disabling the use of BLX in ARM mode or for pre-ARM11 cores will generate needlessly larger code.


Also when you check the Tag_CPU_arch value, please use the enum names, not the integer values.

Cheers
  Nick




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