jnaulet / OpenPicoRTOS

Very small, safe, lightning fast, yet portable preemptive RTOS with SMP support
MIT License
46 stars 4 forks source link

Linker issue on ARM: add support for note.gnu.* on all ARM devices #64

Closed jnaulet closed 11 months ago

jnaulet commented 11 months ago

The newer version of GCC seems to add a notes header. It's not handled by the current linker files so ld puts it at the beginning, ruining the boot for all ARM platforms in the process.

It might be time to factor the link for all ARM platforms anyway.

jnaulet commented 11 months ago

This only happens with the Xilinx toolchain for now btw. Shouldn't happen with the official ARM one but it's better to fix it now before someone runs into trouble.