RTEMS | bsps/m68k: The link scripts discard the exception frames (#5703)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Mon Aug 17 02:23:45 UTC 2026
Issue created by Sebastian Huber: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5703
The link scripts of `av5282`, `mcf5235` and `mcf5329` collect the exception
frames without `KEEP()`, so `--gc-sections` removes the terminating zero word
which `crtend.o` contributes. `crtbegin.o` gives `__register_frame_info()` the
start of the table and the unwinder walks the entries until it finds a zero
length. It never finds one, walks past the end and reads whatever follows, so
every throw ends in a fatal exception.
This description was created with Claude Code assistance.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5703
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-5bpvy5ej2xprx5ht2996cu1h7-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260817/6f1d3ece/attachment.htm>
More information about the bugs
mailing list