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: [RFC PATCH, ARM 5/7] Add support for ARMv8-M security extensions instructions


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


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