Files
rtems/cpukit/libdl/rtl-string.h
Chris Johns 89c59be38d 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
2019-02-09 10:06:34 +11:00

36 lines
708 B
C

/*
* 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 String managment.
*/
#if !defined (_RTEMS_RTL_STRING_H_)
#define _RTEMS_RTL_STRING_H_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/**
* A string duplicate that uses the RTL allocator.
*
* @param s1 The string to duplicate.
* @return char* The copy of the string. NULL if there is no memory.
*/
char* rtems_rtl_strdup (const char *s1);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif