Changeset 194eb403 in rtems for cpukit/libdl/rtl.c


Ignore:
Timestamp:
Jan 21, 2019, 9:48:19 PM (9 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
6c9f017
Parents:
d8c70ba6
git-author:
Chris Johns <chrisj@…> (01/21/19 21:48:19)
git-committer:
Chris Johns <chrisj@…> (02/08/19 23:06:34)
Message:

libdl: Add support for large memory programs

  • Add trampolines to support relocs that are out of range on support architectures.
  • Support not loading separate text/data sections in an object file if the symbol provided in the section is a duplicate. A base image may have pulled in part of an object and another part needs to be dynamically loaded.
  • Refactor the unresolved handling to scale to hundreds of unresolved symbols when loading large number of files.

Updates #3685

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdl/rtl.c

    rd8c70ba6 r194eb403  
    145145       * Open the archives.
    146146       */
    147       rtems_rtl_archives_open (&rtl->archives, "/etc/rtl-libs.conf");
     147      rtems_rtl_archives_open (&rtl->archives, "/etc/libdl.conf");
    148148
    149149      /*
     
    264264  }
    265265  return &rtl->globals;
     266}
     267
     268const char*
     269rtems_rtl_last_error_unprotected (void)
     270{
     271  if (!rtl)
     272    return NULL;
     273  return rtl->last_error;
    266274}
    267275
Note: See TracChangeset for help on using the changeset viewer.