RTEMS  5.1
rtl-sym.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT (c) 2012-2014, 2018 Chris Johns <chrisj@rtems.org>
3  *
4  * The license and distribution terms for this file may be
5  * found in the file LICENSE in this distribution or at
6  * http://www.rtems.org/license/LICENSE.
7  */
16 #if !defined (_RTEMS_RTL_SYM_H_)
17 #define _RTEMS_RTL_SYM_H_
18 
19 #include <rtems.h>
20 #include "rtl-obj-fwd.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif /* __cplusplus */
25 
29 typedef struct rtems_rtl_obj_sym
30 {
32  const char* name;
33  void* value;
34  uint32_t data;
36 
40 typedef struct rtems_rtl_symbols
41 {
42  rtems_chain_control* buckets;
43  size_t nbuckets;
45 
56  size_t buckets);
57 
64 
87  const unsigned char* esyms,
88  unsigned int size);
89 
98 
107 
117  const char* name);
118 
125 
132 
139 
140 #ifdef __cplusplus
141 }
142 #endif /* __cplusplus */
143 
144 #endif
Definition: chain.h:68
void * value
Definition: rtl-sym.h:33
rtems_chain_node node
Definition: rtl-sym.h:31
Definition: chain.h:86
rtems_rtl_obj_sym * rtems_rtl_symbol_global_find(const char *name)
Definition: rtl-sym.c:176
struct rtems_rtl_obj_sym rtems_rtl_obj_sym
Definition: rtl-obj.h:183
void rtems_rtl_symbol_obj_erase(rtems_rtl_obj *obj)
Definition: rtl-sym.c:286
struct rtems_rtl_symbols rtems_rtl_symbols
Definition: rtl-sym.h:29
const char * name
Definition: rtl-sym.h:32
rtems_rtl_obj_sym * rtems_rtl_symbol_obj_find(rtems_rtl_obj *obj, const char *name)
Definition: rtl-sym.c:227
Definition: rtl-sym.h:40
bool rtems_rtl_symbol_table_open(rtems_rtl_symbols *symbols, size_t buckets)
Definition: rtl-sym.c:61
bool rtems_rtl_symbol_global_add(rtems_rtl_obj *obj, const unsigned char *esyms, unsigned int size)
Definition: rtl-sym.c:86
uint32_t data
Definition: rtl-sym.h:34
void rtems_rtl_symbol_obj_add(rtems_rtl_obj *obj)
Definition: rtl-sym.c:261
RTEMS Run-Time Linker ELF Headers.
void rtems_rtl_symbol_obj_erase_local(rtems_rtl_obj *obj)
Definition: rtl-sym.c:274
unsigned size
Definition: tte.h:74
void rtems_rtl_symbol_obj_sort(rtems_rtl_obj *obj)
Definition: rtl-sym.c:214
void rtems_rtl_symbol_table_close(rtems_rtl_symbols *symbols)
Definition: rtl-sym.c:80