Re: [PATCH] ld: add switch to disable use of BLX instructions

2012-04-13 Thread Richard Earnshaw
On 13/04/12 16:19, Allen Martin wrote: > Add --no-use-blx switch to force disabling of BLX instructions for > thumb interworking. This allows ld to emit code that is armv4t safe > even if configured for armv5 or later. Sorry, this is *not* the right way to solve this problem. You need to find ou

[PATCH] ld: add switch to disable use of BLX instructions

2012-04-13 Thread Allen Martin
Add --no-use-blx switch to force disabling of BLX instructions for thumb interworking. This allows ld to emit code that is armv4t safe even if configured for armv5 or later. --- bfd/bfd-in.h |4 ++-- bfd/bfd-in2.h |4 ++-- bfd/elf32-arm.c| 10 +- ld/em