Issue created by Sebastian Huber: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5686
Three defects of the port and its link scripts. The link script does not keep the exception vector table, so `--gc-sections` removes it and the processor takes its vectors from whatever follows. `_CPU_Instruction_illegal()` emits a `.word 0`, which is `l.j 0` on this architecture and branches to itself, so `spfatal26` hangs rather than taking the illegal instruction exception. `_CPU_Context_validate()` and `_CPU_Context_volatile_clobber()` do not cover the registers which the context switch and the interrupt processing save and restore, so `spcontext01` cannot detect a defect in either. Found while running the full test suite on Qemu. This description was created with Claude Code assistance. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5686 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-1kwh7x4oab3jmtx2qiw8vqrne-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
