Changeset b36c5209 in rtems for cpukit/libdl/rtl-allocator.c


Ignore:
Timestamp:
May 3, 2019, 12:15:20 AM (6 weeks ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
8bd4f61c
Parents:
be50969
Message:

libdl: Do not access the ELF file while the allocator is locked.

  • Load symbols before allocation.
  • Parse reloc records and place any reloc recs in a cache to use while the allocator is locked.
  • Relocate symbols after section allocation.
  • Split section loading into allocation/locating and loading.
  • Update all arch back-ends with a new reloc interface to control tramp handling.
  • Add -a and -t to the object list shell command.

Closes #3741

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdl/rtl-allocator.c

    rbe50969 rb36c5209  
    148148
    149149  if (rtems_rtl_trace (RTEMS_RTL_TRACE_ALLOCATOR))
    150     printf ("rtl: alloc: wr-enable: addr=%p\n", address);
     150    printf ("rtl: alloc: wr-disable: addr=%p\n", address);
    151151
    152152  if (rtl != NULL && address != NULL)
Note: See TracChangeset for help on using the changeset viewer.