[RFC PATCH, ARM 5/7] Add support for ARMv8-M security extensions instructions

Thomas Preudhomme thomas.preudhomme@foss.arm.com
Wed May 11 13:32:00 GMT 2016


On Wednesday 11 May 2016 09:11:22 Nick Clifton wrote:
> Hi Thomas,

Hi Nick,

> 
> Just noticed this too.
> 
> I have checked in a patch to skip these tests for the old PE/AOUT
> targets for now, but you might want to spend a little time figuring
> out why the tests fail.

Thanks for the fix. The reason for the failure is that objdump only uses 
symbols to determine if code is ARM or Thumb whereas it first look at mapping 
symbols ($t and $a) for ELF. The testcase does not have any label so the only 
symbols are .text, .dada and .bss which is why the test fails on non ELF 
target. Fixing that, there's also the fact that objdump prints one nop passed 
the last instruction if the alignment is not right. I'm guessing it's due to 
how the size is expressed in other formats but I'll go check that.

I'll propose a patch shortly and reenable all these tests.

Best regards,

Thomas



More information about the Binutils mailing list