RTEMS | Runtime symbols loading is broken (#5236)

Chris Johns (@chris) gitlab at rtems.org
Tue Apr 1 00:58:35 UTC 2025



Chris Johns created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5236

Assignee: Chris Johns

## Summary

Run time symbol loading from an object file is broken. The change to track dependencies added support to check the origin of a symbol to track dependencies. Runtime loading of symbols requires the symbol `rtems_rtl_base_sym_global_add` be in the symbol table. Loading an symbol object file causes a constrictor attribute function to be run and that calls `rtems_rtl_base_sym_global_add` adding the base image global symbols. Currently attempting to load a symbol object file results in an unresolved external to `rtems_rtl_base_sym_global_add` because the symbols is inserted into the global symbol table and not added to the base image's global symbols.

Also `rtems-syms` does not correctly export the needed TLS data.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5236
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250401/340c3e6e/attachment-0001.htm>


More information about the bugs mailing list