summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Merge libdl/Makefile.amSebastian Huber2018-10-091-35/+0
|
* libdl: Avoid command line definesSebastian Huber2018-10-042-1/+3
| | | | Update #3375.
* libdl: Remove _t from all structures as this is reserved for the standardsChris Johns2018-04-1234-814/+813
|
* libdl: RAP format fixes.Chris Johns2018-04-121-8/+10
| | | | | | | | | | - Do not error if a RAP section is not found. - Free a symbol table via the RTL allocator interface. - Add the symbols to the global symbol table. Update #2769
* libdl: Fix potential overwrite of dest bufferSebastian Huber2018-02-072-2/+2
| | | | Update #2843.
* libdl: Use self-contained mutex for RAPSebastian Huber2018-02-071-76/+16
| | | | Update #2843.
* libdl: Use self-contained recursive mutexSebastian Huber2018-02-071-58/+12
| | | | Update #2843.
* Remove make preinstallChris Johns2018-01-2533-4686/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* libdl: Include <rtems/rtl/rtl-*.h>Sebastian Huber2017-12-1328-41/+41
| | | | | | Prepare for header file move to common include directory. Update #3254.
* libdl: Fix warningsSebastian Huber2017-10-065-39/+47
| | | | Update #3155.
* libdl: Use 64-bit ELF on 64-bit targetsSebastian Huber2017-10-061-1/+5
| | | | Update #3155.
* Include missing <string.h>Sebastian Huber2017-08-257-0/+7
| | | | Update #2133.
* libdl/rtl-obj-cache.c: Fix printf() format warningJoel Sherrill2017-04-251-2/+3
|
* libdl/rtl-obj-cache.c: Use PRIdoff_t to avoid printf() format warnings on ↵Joel Sherrill2017-04-241-2/+3
| | | | some architectures
* 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.
* libdl/rtl-obj-cache.c: Using inttypes macros fixes 4 format warningsCillian O'Donnell2017-04-071-9/+12
|
* libdl: Support link ordered loading of ELF sections.Chris Johns2017-03-315-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
* libdl: Fix warningSebastian Huber2017-02-151-1/+2
|
* libdl: Add C++ exception support to loaded modules.Chris Johns2016-12-1428-230/+1057
| | | | | | This has been tested on SPARC, i386, PowerPC and ARM. Closes #2767.
* rtl-mdreloc-sparc.c: Do not print unaligned pointer and cause unaligned access.Jiri Gaisler2016-11-141-2/+3
| | | | updates #2802.
* libdl/rtl-obj.c: synchronize cache should not depend on CPU_CACHE_LINE_BYTES.Pavel Pisa2016-10-041-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.
* libdl: Add ARM C++ relocation record support.Chris Johns2016-09-082-2/+18
| | | | Closes #2767
* libdl: Fix cache corruption bugs.Chris Johns2016-08-153-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.
* libdl: Add trace output when reading section headers.Chris Johns2016-08-151-0/+3
|
* libdl/rtl-obj.c: synchronize cache after code relocation.Pavel Pisa2016-07-214-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
* libdl/rtl-obj.c: ensure that loaded code is synchronized through caches.Pavel Pisa2016-07-041-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.
* Move printer initialization to separate headerSebastian Huber2016-06-221-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>.
* Remove M32R architectureJoel Sherrill2016-01-043-196/+1
| | | | updates #2446.
* libdl/rtl-shell.c: Adjust printf() format for off_t based on targetJoel Sherrill2015-03-241-6/+8
|
* libdl/rtl-mdreloc-moxie.c: Fix printf() format warningsJoel Sherrill2015-03-242-5/+5
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-2037-37/+37
|
* cpukit/libdl/rtl-obj-comp.c: Use correct printf() specificationJoel Sherrill2015-03-171-1/+1
|
* cpukit/libdl/rtl-mdreloc-m32r.c: Add parentheses per Chris' suggestionJoel Sherrill2015-03-091-1/+1
|
* Fix more Doxygen typosJoel Sherrill2015-03-062-4/+5
|
* libdl/rtl-mdreloc-powerpc.c: Fix warningsJoel Sherrill2014-11-201-2/+1
| | | | | | This patch addresses the following warnings: + The variable "target" was unused. + The parentheses in the expression around line 72 were ambiguous.
* libdl/.../mips/machine/elf_machdep.h: Fix typo so compilesJoel Sherrill2014-11-201-2/+5
|
* libdl: Update comment with details about the error fix.Chris Johns2014-11-201-0/+3
| | | | See refs #2192.
* libdl: Update the comments.Chris Johns2014-11-201-1/+2
| | | | See refs #2191.
* libdl: Fix possible 16-bit overflow (Coverity 1255339) refs #2192.Chris Johns2014-11-201-1/+1
| | | | | On a 16-bit target the section value could result in a sign-extension overflow.
* libdl: Add a comment.Chris Johns2014-11-201-0/+3
| | | | See ref #2191.
* libdl: Add a comment to the previous fix.Chris Johns2014-11-201-0/+3
| | | | The fix is ref #2191.
* libdl: Fix allocator NULL check (Coverity 1255328) refs #2191Chris Johns2014-11-201-1/+1
| | | | | The address returned from the allocator call was not checked when zeroing the memory.
* libdl: Disable building libdl for the NIOS2. No relocation support.Chris Johns2014-11-061-44/+0
| | | | This should have been added.
* libdl/rtl-mdreloc-bfin.c: Include rtems/rtl/rtl.h not rtl.hJoel Sherrill2014-11-041-1/+1
|
* libdl/Makefile.am: Need preinstall on all targetsJoel Sherrill2014-11-041-2/+2
|
* libdl: RTLD_DEFAULT searches the global symbol table.Chris Johns2014-11-041-6/+15
|
* libdl: Add a local symbol table to the object module.Chris Johns2014-11-045-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.
* cpukit: Add libdl with the Runtime Loader (RTL) code.Chris Johns2014-10-3178-0/+14343
This is a merge of the RTL project.