summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-10-06libdl: Use 64-bit ELF on 64-bit targetsSebastian Huber1-1/+5
Update #3155.
2017-08-25Include missing <string.h>Sebastian Huber7-0/+7
Update #2133.
2017-04-25libdl/rtl-obj-cache.c: Fix printf() format warningJoel Sherrill1-2/+3
2017-04-24libdl/rtl-obj-cache.c: Use PRIdoff_t to avoid printf() format warnings on ↵Joel Sherrill1-2/+3
some architectures
2017-04-18rtems/inttypes.h: New file. Uses contents from cpukitJoel Sherrill1-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.
2017-04-07libdl/rtl-obj-cache.c: Using inttypes macros fixes 4 format warningsCillian O'Donnell1-9/+12
2017-03-31libdl: Support link ordered loading of ELF sections.Chris Johns5-36/+166
The ARM C++ exception ABI uses an address ordered index table to locate the correct frame data and this requires the EXIDX sections are loaded in the order the order the matching text is loaded. The EXIDX sections set the SHF_LINK_ORDER flag and link field. This patch adds support to load those flagged sections in the linked-to section order. Updates #2955. Closes #2959
2017-02-15libdl: Fix warningSebastian Huber1-1/+2
2016-12-14libdl: Add C++ exception support to loaded modules.Chris Johns28-230/+1057
This has been tested on SPARC, i386, PowerPC and ARM. Closes #2767.
2016-11-14rtl-mdreloc-sparc.c: Do not print unaligned pointer and cause unaligned access.Jiri Gaisler1-2/+3
updates #2802.
2016-10-04libdl/rtl-obj.c: synchronize cache should not depend on CPU_CACHE_LINE_BYTES.Pavel Pisa1-3/+6
Use of rtems_cache_get_maximal_line_size() is more descriptive choice. The min/max data/instruction cache line size is not critical there, value is used for optimization only to use single operation for directly following sections.
2016-09-08libdl: Add ARM C++ relocation record support.Chris Johns2-2/+18
Closes #2767
2016-08-15libdl: Fix cache corruption bugs.Chris Johns3-30/+86
This patch fixes a number of bugs in the cache when requests are made to read close to the end of the file and the data is copied from the top of the cache buffer to the bottom of the buffer. This was compounded by attempting to read past the end of the file. Closes #2754.
2016-08-15libdl: Add trace output when reading section headers.Chris Johns1-0/+3
2016-07-21libdl/rtl-obj.c: synchronize cache after code relocation.Pavel Pisa4-2/+74
Memory content changes caused by relocation has to be propagated to memory/cache level which is used/snooped during instruction cache fill. Closes #2438
2016-07-04libdl/rtl-obj.c: ensure that loaded code is synchronized through caches.Pavel Pisa1-0/+2
Synchronize each cluster of sections of the same type separately to support even cases where text and data are allocated from different areas (for example due allocation from different MPU protection regions). rtems_cache_instruction_sync_after_code_change is called even to data sections. Propagation of data only changes should not require cache maintenance operation on sane SMP mutithread capable systems if barrier instruction is added but be on safe side even for case where self modifying code uses data sections initial values etc.
2016-06-22Move printer initialization to separate headerSebastian Huber1-0/+1
The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
2016-01-04Remove M32R architectureJoel Sherrill3-196/+1
updates #2446.
2015-03-24libdl/rtl-shell.c: Adjust printf() format for off_t based on targetJoel Sherrill1-6/+8
2015-03-24libdl/rtl-mdreloc-moxie.c: Fix printf() format warningsJoel Sherrill2-5/+5
2015-03-20Replace www.rtems.com with www.rtems.orgSebastian Huber37-37/+37
2015-03-17cpukit/libdl/rtl-obj-comp.c: Use correct printf() specificationJoel Sherrill1-1/+1
2015-03-09cpukit/libdl/rtl-mdreloc-m32r.c: Add parentheses per Chris' suggestionJoel Sherrill1-1/+1
2015-03-06Fix more Doxygen typosJoel Sherrill2-4/+5
2014-11-20libdl/rtl-mdreloc-powerpc.c: Fix warningsJoel Sherrill1-2/+1
This patch addresses the following warnings: + The variable "target" was unused. + The parentheses in the expression around line 72 were ambiguous.
2014-11-20libdl/.../mips/machine/elf_machdep.h: Fix typo so compilesJoel Sherrill1-2/+5
2014-11-20libdl: Update comment with details about the error fix.Chris Johns1-0/+3
See refs #2192.
2014-11-20libdl: Update the comments.Chris Johns1-1/+2
See refs #2191.
2014-11-20libdl: Fix possible 16-bit overflow (Coverity 1255339) refs #2192.Chris Johns1-1/+1
On a 16-bit target the section value could result in a sign-extension overflow.
2014-11-20libdl: Add a comment.Chris Johns1-0/+3
See ref #2191.
2014-11-20libdl: Add a comment to the previous fix.Chris Johns1-0/+3
The fix is ref #2191.
2014-11-20libdl: Fix allocator NULL check (Coverity 1255328) refs #2191Chris Johns1-1/+1
The address returned from the allocator call was not checked when zeroing the memory.
2014-11-06libdl: Disable building libdl for the NIOS2. No relocation support.Chris Johns1-44/+0
This should have been added.
2014-11-04libdl/rtl-mdreloc-bfin.c: Include rtems/rtl/rtl.h not rtl.hJoel Sherrill1-1/+1
2014-11-04libdl/Makefile.am: Need preinstall on all targetsJoel Sherrill1-2/+2
2014-11-04libdl: RTLD_DEFAULT searches the global symbol table.Chris Johns1-6/+15
2014-11-04libdl: Add a local symbol table to the object module.Chris Johns5-87/+193
Adding a local symbol lets the relocator find local symbols referenced in relocation records. The local symbol table is erased once the object module has been loaded.
2014-10-31cpukit: Add libdl with the Runtime Loader (RTL) code.Chris Johns78-0/+14343
This is a merge of the RTL project.