On Saturday 31 October 2015 06:45 PM, Noam Camus wrote:
> From: Noam Camus <[email protected]>
>
> This platform include boards:
> Hardware Emulator (HE)
> Simulator based upon nSIM.
>
> Signed-off-by: Noam Camus <[email protected]>
> ---
> MAINTAINERS | 6 +
> arch/arc/plat-eznps/Kconfig | 34 ++++
> arch/arc/plat-eznps/Makefile | 7 +
> arch/arc/plat-eznps/entry.S | 76 +++++++++
When trying to build with 2015.06 BE tools,
../arch/arc/plat-eznps/entry.S: Assembler messages:
../arch/arc/plat-eznps/entry.S:51: Error: bad instruction `sr
(1<<28),[(0xFFFFF800+0x024)]'
make[3]: *** [arch/arc/plat-eznps/entry.o] Error 1
make[2]: *** [arch/arc/plat-eznps] Error 2
>From: Vineet Gupta [mailto:[email protected]]
>Sent: Monday, November 02, 2015 12:57 PM
>When trying to build with 2015.06 BE tools,
>../arch/arc/plat-eznps/entry.S: Assembler messages:
>../arch/arc/plat-eznps/entry.S:51: Error: bad instruction `sr (1<<28),[(0xFFFFF800+0x024)]'
>make[3]: *** [arch/arc/plat-eznps/entry.o] Error 1
>make[2]: *** [arch/arc/plat-eznps] Error 2
Need more info since I tried it locally with no success.
Can you try this single line on separate assembly test file.
I will then try such synthetic case here.
Please supply command line as well for GCC/AS.
-Noam
>From: Vineet Gupta [mailto:[email protected]]
>Sent: Monday, November 02, 2015 12:57 PM
>When trying to build with 2015.06 BE tools,
>../arch/arc/plat-eznps/entry.S: Assembler messages:
>../arch/arc/plat-eznps/entry.S:51: Error: bad instruction `sr (1<<28),[(0xFFFFF800+0x024)]'
>make[3]: *** [arch/arc/plat-eznps/entry.o] Error 1
>make[2]: *** [arch/arc/plat-eznps] Error 2
I managed to reproduced this one.
The AUX address is S12 and assembler failed when I provided the address this way.
When I used (-0x800+0x024) it passed build.
Thanks
-Noam