19 #if !defined (_RTEMS_RTL_H_) 24 #include <rtems/thread.h> 60 #define RTL_XGLUE(a,b) a##b 62 #define RTL_XGLUE(a,b) ab 65 #define RTL_GLUE(a,b) RTL_XGLUE(a,b) 70 #define RTEMS_RTL_SYMS_GLOBAL_BUCKETS (32) 75 #define RTEMS_RTL_UNRESOLVED_BLOCK_SIZE (256) 80 #define RTEMS_RTL_DEPENDENCY_BLOCK_SIZE (16) rtems_rtl_alloc_data allocator
Definition: rtl.h:109
const char * rtems_rtl_last_error_unprotected(void)
Definition: rtl.c:269
bool rtems_rtl_unload(rtems_rtl_obj *obj)
Definition: rtl.c:666
rtems_chain_control * rtems_rtl_pending_unprotected(void)
Definition: rtl.c:288
rtems_recursive_mutex lock
Definition: rtl.h:108
RTEMS Run-Time Linker Object File cache buffers a section of the object file in a buffer to localise ...
Definition: media-server.c:33
RTEMS Run-Time Linker ELF Headers.
rtems_rtl_obj_cache strings
Definition: rtl.h:118
rtems_rtl_obj * rtems_rtl_check_handle(void *handle)
Definition: rtl.c:422
void(* rtems_rtl_cdtor)(void)
Definition: rtl.h:96
RTEMS Run-Time Linker Object File Compression manages a compressed stream of data.
rtems_rtl_obj_comp decomp
Definition: rtl.h:120
Definition: rtl-obj-cache.h:53
rtems_rtl_unresolved unresolved
Definition: rtl.h:115
void rtems_rtl_unlock(void)
Definition: rtl.c:416
Definition: rtl-unresolved.h:156
void rtems_rtl_obj_caches(rtems_rtl_obj_cache **symbols, rtems_rtl_obj_cache **strings, rtems_rtl_obj_cache **relocs)
Definition: rtl.c:321
rtems_chain_control pending
Definition: rtl.h:111
void rtems_rtl_obj_decompress(rtems_rtl_obj_comp **decomp, rtems_rtl_obj_cache *cache, int fd, int compression, off_t offset)
Definition: rtl.c:357
const char * paths
Definition: rtl.h:112
Definition: rtl-obj.h:183
RTEMS Run-Time Linker Object File Symbol Table.
bool rtems_rtl_unload_object(rtems_rtl_obj *obj)
Definition: rtl.c:632
int rtems_rtl_get_error(char *message, size_t max_message)
Definition: rtl-error.c:41
Definition: rtl-archive.h:102
rtems_rtl_obj * rtems_rtl_load_object(const char *name, int mode)
Definition: rtl.c:503
void rtems_rtl_obj_update_flags(uint32_t clear, uint32_t set)
Definition: rtl.c:393
rtems_rtl_symbols * rtems_rtl_global_symbols(void)
Definition: rtl.c:258
Definition: link_elf.h:55
rtems_chain_control * rtems_rtl_objects_unprotected(void)
Definition: rtl.c:277
Definition: rtl-obj-comp.h:46
rtems_chain_control objects
Definition: rtl.h:110
bool rtems_rtl_path_prepend(const char *path)
Definition: rtl.c:834
RTEMS Run-Time Linker Archive.
rtems_rtl_obj * rtems_rtl_baseimage(void)
Definition: rtl.c:858
RTEMS Run-Time Linker Allocator.
char last_error[64]
Definition: rtl.h:122
int last_errno
Definition: rtl.h:121
void _rtld_debug_state(void)
Definition: rtl-debugger.c:38
rtems_rtl_data * rtems_rtl_lock(void)
Definition: rtl.c:405
rtems_rtl_obj * rtems_rtl_load(const char *name, int mode)
Definition: rtl.c:569
rtems_rtl_data * rtems_rtl_data_unprotected(void)
Definition: rtl.c:252
rtems_rtl_obj_cache relocs
Definition: rtl.h:119
bool rtems_rtl_path_append(const char *path)
Definition: rtl.c:828
rtems_rtl_obj_cache symbols
Definition: rtl.h:117
rtems_rtl_archives * rtems_rtl_archives_unprotected(void)
Definition: rtl.c:310
rtems_rtl_obj * base
Definition: rtl.h:116
struct r_debug _rtld_debug
Definition: rtl-debugger.c:35
void rtems_rtl_base_sym_global_add(const unsigned char *esyms, unsigned int count)
Definition: rtl.c:840
RTEMS Run-Time Linker Object Support.
Definition: rtl-allocator.h:91
void rtems_rtl_obj_caches_flush(void)
Definition: rtl.c:346
rtems_rtl_symbols globals
Definition: rtl.h:113
rtems_rtl_unresolved * rtems_rtl_unresolved_unprotected(void)
Definition: rtl.c:299
RTEMS Run-Time Linker Object File Unresolved Relocations Table.
rtems_rtl_obj * rtems_rtl_find_obj_with_symbol(const rtems_rtl_obj_sym *sym)
Definition: rtl.c:478
rtems_rtl_obj * rtems_rtl_find_obj(const char *name)
Definition: rtl.c:442
rtems_rtl_archives archives
Definition: rtl.h:114