summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-shell.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libdl: Realloc text memory if there are trampolinesChris Johns2023-08-271-1/+1
| | | | | | | | | - Add resize to the allocator interface - Rework the trampoline variables in the obj struct to make better sense of what is happening Closes #4944
* libdl: Fix warnings on 64bit architecturesChris Johns2022-08-051-2/+2
| | | | Updates #4662
* cpukit/libdl: Manual file header reordering (SPDX, Doxygen, Copyright)Joel Sherrill2022-03-221-9/+10
| | | | Updates #3053.
* cpukit/libdl Change license to BSD-2Joel Sherrill2022-03-221-3/+22
| | | | Updates #3053.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* libdl: Do not access the ELF file while the allocator is locked.Chris Johns2019-05-031-8/+51
| | | | | | | | | | | | | - 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
* libdl: Add an archive commandChris Johns2019-03-221-136/+916
| | | | | | | - The archive command lists archives, symbols and any duplicate symbols. - Change the RTL shell commands to the rtems_printer to allow the output to be captured.
* libdl: Add powerpc large memory and small data support.Chris Johns2019-02-091-1/+1
| | | | | | | | | | | | | | | | | - 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
* libdl: Add support for large memory programsChris Johns2019-02-091-14/+3
| | | | | | | | | | | | | | | - 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
* libdl: Add symbol searching and loading from archives.Chris Johns2019-02-091-4/+11
| | | | | | | | | | | | | | - 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
* libdl: Add object file dependencies to track referencesChris Johns2018-11-221-8/+46
| | | | | | | | | | Tracking references lets us manage when an object file can be unloaded. If an object file has references to it, it cannot be unloaded. Modules that depend on each other cannot be unloaded. Updates #3605
* libdl: Remove _t from all structures as this is reserved for the standardsChris Johns2018-04-121-38/+38
|
* libdl: Include <rtems/rtl/rtl-*.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* libdl: Fix warningsSebastian Huber2017-10-061-1/+1
| | | | Update #3155.
* rtems/inttypes.h: New file. Uses contents from cpukitJoel Sherrill2017-04-181-10/+1
| | | | | | | | Provide extentions to <inttpes.h> PRIxxx constants for more POSIX types. Start with existing definitions found in RTEMS Project owned code in cpukit/. updates #2983.
* Remove M32R architectureJoel Sherrill2016-01-041-1/+1
| | | | updates #2446.
* libdl/rtl-shell.c: Adjust printf() format for off_t based on targetJoel Sherrill2015-03-241-6/+8
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-201-1/+1
|
* cpukit: Add libdl with the Runtime Loader (RTL) code.Chris Johns2014-10-311-0/+389
This is a merge of the RTL project.