This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] ld: add switch to disable use of BLX instructions
On 13/04/12 18:06, Allen Martin wrote:
>> As I've explained on a copy of this patch that you posted to the
>> lists, this is wrong. You need to identify why the linker thinks it
>> OK to use BLX. It should only do that if it finds an object (or a
>> library member) in your link set that already indicates that using
>> is ok.
> Thanks Richard, is there anything from the output of readelf or objdump I could be looking for to help me track this down?
Yes, you can use 'readelf -A'. You'll get something like the following
out for each object file:
.../readelf -A asm.o
Attribute Section: aeabi