RTEMS | RUntime symbols loading is broken (#5234)

Chris Johns (@chris) gitlab at rtems.org
Mon Mar 31 04:20:54 UTC 2025



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

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/5234
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/20250331/c8e426f9/attachment-0001.htm>


More information about the bugs mailing list