Anthony Cole created a merge request: 
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/103

Project:Branches: Tony/rtems-tools:rtems-syms-hidden-locals to 
rtems/tools/rtems-tools:main
Author: Anthony Cole

## Summary

linkers/syms: Add the hidden symbols the linker made local

A linker can make a hidden global symbol local in the kernel.  LLVM's
lld does, for example for the compiler's support functions, which are
hidden; GNU ld keeps them global.  rtems-syms only adds the kernel's
global and weak symbols to the symbol table, so with lld a loaded object
couldn't use any of the support functions the kernel contains, such as
the soft float helpers (__adddf3, __muldf3, ...) on a target without
double precision hardware, and kept them as unresolved externals.

A local symbol with hidden visibility was global, so add the defined
functions and objects among the kernel's local symbols with hidden
visibility.  Add symbol::visibility() for that.  With GNU ld nothing
changes.

Closes #49

Assisted-by: Claude:claude-opus-5-5 claude-code
Signed-off-by: Anthony Cole <[email protected]>


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise 
leave this blank see our fulls statement at 
https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/103
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/13/sent_notifications/6-8wfy432vj4owh5lm6i8k0ww6l-d/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