This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x sleep33xx.S assembler error

Hi,

I try to compile TI Linux kernel for am335x on branch ti-rt-linux-4.4.y but compiler stop with this error:

  AS      arch/arm/mach-omap2/sleep33xx.o
arch/arm/mach-omap2/sleep33xx.S: Assembler messages:
arch/arm/mach-omap2/sleep33xx.S:38: Error: cannot use register index with PC-relative addressing -- `str r0,wfi_flags'
arch/arm/mach-omap2/sleep33xx.S:207: Error: r13 not allowed here -- `adr sp,temp_stack'
make[1]: *** [arch/arm/mach-omap2/sleep33xx.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2


I don't understand what I wrong.

Anyone could help me?