RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
23extern "C" {
24#endif /* __cplusplus */
25
29typedef struct rtems_rtl_obj_sym
30{
32 const char* name;
33 void* value;
34 uint32_t data;
36
40typedef 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
RTEMS Run-Time Linker ELF Headers.
void rtems_rtl_symbol_obj_erase_local(rtems_rtl_obj *obj)
Definition: rtl-sym.c:274
rtems_rtl_obj_sym * rtems_rtl_symbol_global_find(const char *name)
Definition: rtl-sym.c:176
void rtems_rtl_symbol_obj_sort(rtems_rtl_obj *obj)
Definition: rtl-sym.c:214
bool rtems_rtl_symbol_table_open(rtems_rtl_symbols *symbols, size_t buckets)
Definition: rtl-sym.c:61
rtems_rtl_obj_sym * rtems_rtl_symbol_obj_find(rtems_rtl_obj *obj, const char *name)
Definition: rtl-sym.c:227
void rtems_rtl_symbol_obj_add(rtems_rtl_obj *obj)
Definition: rtl-sym.c:261
void rtems_rtl_symbol_table_close(rtems_rtl_symbols *symbols)
Definition: rtl-sym.c:80
struct rtems_rtl_obj_sym rtems_rtl_obj_sym
bool rtems_rtl_symbol_global_add(rtems_rtl_obj *obj, const unsigned char *esyms, unsigned int size)
Definition: rtl-sym.c:86
void rtems_rtl_symbol_obj_erase(rtems_rtl_obj *obj)
Definition: rtl-sym.c:286
struct rtems_rtl_symbols rtems_rtl_symbols
Definition: chain.h:68
Definition: rtl-sym.h:30
const char * name
Definition: rtl-sym.h:32
rtems_chain_node node
Definition: rtl-sym.h:31
uint32_t data
Definition: rtl-sym.h:34
void * value
Definition: rtl-sym.h:33
Definition: rtl-obj.h:181
Definition: rtl-sym.h:41
unsigned size
Definition: tte.h:1
Definition: chain.h:86