diff options
author | Chris Johns <chrisj@rtems.org> | 2023-06-08 13:52:47 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-08-21 11:16:17 +1000 |
commit | 27da374e481b0067896f70b21c9d89c04f87a101 (patch) | |
tree | 9e8d60b543f65dff785ab2c286463e051abfa09a /cpukit/include/rtems/rtl/rtl.h | |
parent | spec/cpukit: Omit Cortex-M from libdebugger build (diff) | |
download | rtems-27da374e481b0067896f70b21c9d89c04f87a101.tar.bz2 |
libdl: Add support to import base image TLS symbols
This change requires an rtems-tools update for symbol generation.
Working architectures:
- aarch64
- arm
- powerpc
- sparc
No newlib TLS support but checked:
- i386
- m69k
Updates #4920
Diffstat (limited to 'cpukit/include/rtems/rtl/rtl.h')
-rw-r--r-- | cpukit/include/rtems/rtl/rtl.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/include/rtems/rtl/rtl.h b/cpukit/include/rtems/rtl/rtl.h index 0fd4e74cdf..bd3dce588a 100644 --- a/cpukit/include/rtems/rtl/rtl.h +++ b/cpukit/include/rtems/rtl/rtl.h @@ -393,9 +393,13 @@ bool rtems_rtl_path_prepend (const char* path); * * @param esyms The exported symbol table. * @param count The size of the exported symbol table. + * @param tls_offsets The TLS offsets table. If NULL none provided. + * @param tls_size The number TLS offset entries in the table. */ -void rtems_rtl_base_sym_global_add (const unsigned char* esyms, - unsigned int count); +void rtems_rtl_base_sym_global_add (const unsigned char* esyms, + unsigned int count, + rtems_rtl_tls_offset* tls_offsets, + unsigned int tls_size); /** * Return the object file descriptor for the base image. The object file |