Xtensa — dangerous relocation: windowed long call crosses 1G
Posted: Wed Jul 01, 2015 1:34 am
I got the following error during compilation
(.sram.text+0x1283): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (UND+0xdeadcafe)
in one of the functions.
The architecture is Xtensa and the toolchain used is a GNU toolchain built for Xtensa. This error is inside the function elf_xtensa_do_reloc() in the file elf32-xtensa.c in binutils source code.
Please let me know the cause of this error and any possible solution.
Thanks and Regards, Hari
(.sram.text+0x1283): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (UND+0xdeadcafe)
in one of the functions.
The architecture is Xtensa and the toolchain used is a GNU toolchain built for Xtensa. This error is inside the function elf_xtensa_do_reloc() in the file elf32-xtensa.c in binutils source code.
Please let me know the cause of this error and any possible solution.
Thanks and Regards, Hari