summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-mdreloc-i386.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-08-27libdl: Realloc text memory if there are trampolinesChris Johns1-0/+6
- Add resize to the allocator interface - Rework the trampoline variables in the obj struct to make better sense of what is happening Closes #4944
2019-05-03libdl: Do not access the ELF file while the allocator is locked.Chris Johns1-9/+9
- 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
2019-02-09libdl: Add powerpc large memory and small data support.Chris Johns1-0/+32
- Add support for architecure sections that can be handled by the architecture back end. - Add trampoline/fixup support for PowerPC. This means the PowerPC now supports large memory loading of applications. - Add a bit allocator to manage small block based regions of memory. - Add small data (sdata/sbss) support for the PowerPC. The support makes the linker allocated small data region of memory a global resource available to libdl loaded object files. Updates #3687 Updates #3685
2019-02-09libdl: Add support for large memory programsChris Johns1-4/+5
- 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
2019-02-09libdl: Add support for trampolinesChris Johns1-2/+52
- Trampolines or fixups for veneers provide long jump support for instruciton sets that implement short relative address branches. The linker provides trampolines when creating a static image. This patch adds trampoline support to libdl and the ARM architecture. - The dl09 test requires enough memory so modules are outside the relative branch instruction ranges for the architecture. Updates #3685
2018-04-12libdl: Remove _t from all structures as this is reserved for the standardsChris Johns1-20/+20
2017-12-13libdl: Include <rtems/rtl/rtl-*.h>Sebastian Huber1-1/+1
Prepare for header file move to common include directory. Update #3254.
2016-12-14libdl: Add C++ exception support to loaded modules.Chris Johns1-0/+29
This has been tested on SPARC, i386, PowerPC and ARM. Closes #2767.
2014-10-31cpukit: Add libdl with the Runtime Loader (RTL) code.Chris Johns1-0/+103
This is a merge of the RTL project.