diff options
author | Chris Johns <chrisj@rtems.org> | 2014-11-04 12:12:25 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-11-04 12:12:25 +1100 |
commit | a2e1e30d9862b0f926f694d146ab0e7450aa759b (patch) | |
tree | c064ceac36598376aa81b20feb12823841d74275 /cpukit/libdl/rtl-sym.h | |
parent | BSP for several Beagle products (diff) | |
download | rtems-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 'cpukit/libdl/rtl-sym.h')
-rw-r--r-- | cpukit/libdl/rtl-sym.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/libdl/rtl-sym.h b/cpukit/libdl/rtl-sym.h index b793a547dc..9bd40ec241 100644 --- a/cpukit/libdl/rtl-sym.h +++ b/cpukit/libdl/rtl-sym.h @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 2012 Chris Johns <chrisj@rtems.org> + * COPYRIGHT (c) 2012-2014 Chris Johns <chrisj@rtems.org> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at @@ -115,6 +115,13 @@ rtems_rtl_obj_sym_t* rtems_rtl_symbol_obj_find (rtems_rtl_obj_t* obj, void rtems_rtl_symbol_obj_add (rtems_rtl_obj_t* obj); /** + * Erase the object file's local symbols. + * + * @param obj The object file the local symbols are to be erased from. + */ +void rtems_rtl_symbol_obj_erase_local (rtems_rtl_obj_t* obj); + +/** * Erase the object file's symbols. * * @param obj The object file the symbols are to be erased from. |