summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-obj.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-11-04 12:12:25 +1100
committerChris Johns <chrisj@rtems.org>2014-11-04 12:12:25 +1100
commita2e1e30d9862b0f926f694d146ab0e7450aa759b (patch)
treec064ceac36598376aa81b20feb12823841d74275 /cpukit/libdl/rtl-obj.h
parentBSP for several Beagle products (diff)
downloadrtems-a2e1e30d9862b0f926f694d146ab0e7450aa759b.tar.bz2
libdl: Add a local symbol table to the object module.
Adding a local symbol lets the relocator find local symbols referenced in relocation records. The local symbol table is erased once the object module has been loaded.
Diffstat (limited to '')
-rw-r--r--cpukit/libdl/rtl-obj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libdl/rtl-obj.h b/cpukit/libdl/rtl-obj.h
index 05507232ca..96c76808ab 100644
--- a/cpukit/libdl/rtl-obj.h
+++ b/cpukit/libdl/rtl-obj.h
@@ -145,6 +145,9 @@ struct rtems_rtl_obj_s
size_t fsize; /**< Size of the object file. */
rtems_chain_control sections; /**< The sections of interest in the
* object file. */
+ rtems_rtl_obj_sym_t* local_table; /**< Local symbol table. */
+ size_t local_syms; /**< Local symbol count. */
+ size_t local_size; /**< Local symbol memory usage. */
rtems_rtl_obj_sym_t* global_table; /**< Global symbol table. */
size_t global_syms; /**< Global symbol count. */
size_t global_size; /**< Global symbol memory usage. */