summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-archive.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/libdl: Fix incorrect operator precedence access the nameChris Johns2023-08-281-1/+2
| | | | Coverity Issue: CID 1442635 Out-of-bounds access
* cpukit/libdl: Manual file header reordering (SPDX, Doxygen, Copyright)Joel Sherrill2022-03-221-7/+8
| | | | Updates #3053.
* cpukit/libdl Change license to BSD-2Joel Sherrill2022-03-221-3/+22
| | | | Updates #3053.
* Fix -Wchar-subscripts warningsAschref Ben Thabet2020-08-201-2/+2
| | | | | | | The argument to the ctype functions must be an int and the value of the character must be representable as an unsigned char or equal to the value of the macro EOF. If the argument has any other value, the behavior is undefined.
* 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: Add an archive commandChris Johns2019-03-221-29/+20
| | | | | | | - 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/archive: Check for an overflow of the symbol table.Chris Johns2019-02-201-3/+12
| | | | | | Coverty 1442636 Updates #3686
* libdl/archive: Fix the config file string index while removing tailing white ↵Chris Johns2019-02-201-2/+2
| | | | | | | | space. Coverity issue 1442540 Updates #3686
* libdl/archive: Return false on read failure.Chris Johns2019-02-201-0/+1
| | | | | | Coverity issue 1442641 Updates #3686
* libdl: Add powerpc large memory and small data support.Chris Johns2019-02-091-3/+4
| | | | | | | | | | | | | | | | | - 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-68/+57
| | | | | | | | | | | | | | | - 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-0/+1301
- 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