diff options
author | Chris Johns <chrisj@rtems.org> | 2018-12-17 16:36:48 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-02-09 10:06:34 +1100 |
commit | 89c59be38d9c83437abb9002e8fea5012652e5ff (patch) | |
tree | 954df408c26a58ae41851502f427f30771952bdf /cpukit/include/rtems/rtl/rtl-shell.h | |
parent | powerpc/psim: Increase the psim memory to 256M (diff) | |
download | rtems-89c59be38d9c83437abb9002e8fea5012652e5ff.tar.bz2 |
libdl: Add symbol searching and loading from archives.
- Load archive symbol tables to support searching of archives
for symbols.
- Search archive symbols and load the object file that contains
the symbol.
- Search the global and archives until all remaining unresolved symbols
are not found. Group the loaded object files in the pending queue.
- Run the object file and loaded dependents as a group before adding to the
main object list.
- Remove orphaned object files after references are removed.
Updates #3686
Diffstat (limited to 'cpukit/include/rtems/rtl/rtl-shell.h')
-rw-r--r-- | cpukit/include/rtems/rtl/rtl-shell.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cpukit/include/rtems/rtl/rtl-shell.h b/cpukit/include/rtems/rtl/rtl-shell.h new file mode 100644 index 0000000000..b0a6e8d8d4 --- /dev/null +++ b/cpukit/include/rtems/rtl/rtl-shell.h @@ -0,0 +1,37 @@ +/* + * COPYRIGHT (c) 2012 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 + * http://www.rtems.org/license/LICENSE. + */ +/** + * @file + * + * @ingroup rtems_rtl + * + * @brief RTEMS Run-Time Linker ELF Shell Support. + */ + +#if !defined (_RTEMS_RTL_SHELL_H_) +#define _RTEMS_RTL_SHELL_H_ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/** + * The RTL single shell command contains sub-commands. + * + * @param argc The argument count. + * @param argv Array of argument strings. + * @retval 0 No error. + * @return int The exit code. + */ +int rtems_rtl_shell_command (int argc, char* argv[]); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif |