source: rtems/cpukit/libdl/rtl-string.h @ 4408603

5
Last change on this file since 4408603 was 89c59be, checked in by Chris Johns <chrisj@…>, on 12/17/18 at 05:36:48

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

  • Property mode set to 100644
File size: 708 bytes
RevLine 
[ae5fe7e6]1/*
2 *  COPYRIGHT (c) 2012 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 */
8/**
9 * @file
10 *
11 * @ingroup rtems_rtl
12 *
13 * @brief RTEMS Run-Time Linker String managment.
14 */
15
16#if !defined (_RTEMS_RTL_STRING_H_)
17#define _RTEMS_RTL_STRING_H_
18
19#ifdef __cplusplus
20extern "C" {
21#endif /* __cplusplus */
22
23/**
24 * A string duplicate that uses the RTL allocator.
25 *
26 * @param s1 The string to duplicate.
27 * @return char* The copy of the string. NULL if there is no memory.
28 */
29char* rtems_rtl_strdup (const char *s1);
30
31#ifdef __cplusplus
32}
33#endif /* __cplusplus */
34
35#endif
Note: See TracBrowser for help on using the repository browser.