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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to