diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2016-07-21 02:35:00 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2016-07-21 02:35:00 +0200 |
commit | 8709aa0459217822ce4118416c8547ed08d96ac1 (patch) | |
tree | 39a7e1475c886666edd02ee649d8c1d7619ebee9 /cpukit/libdl/rtl-rap.c | |
parent | arm/raspberrypi: reorder and update MMU config table to nor force RW section ... (diff) | |
download | rtems-8709aa0459217822ce4118416c8547ed08d96ac1.tar.bz2 |
libdl/rtl-obj.c: synchronize cache after code relocation.
Memory content changes caused by relocation has to be
propagated to memory/cache level which is used/snooped
during instruction cache fill.
Closes #2438
Diffstat (limited to 'cpukit/libdl/rtl-rap.c')
-rw-r--r-- | cpukit/libdl/rtl-rap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libdl/rtl-rap.c b/cpukit/libdl/rtl-rap.c index 439eb20c79..a7fcb9f953 100644 --- a/cpukit/libdl/rtl-rap.c +++ b/cpukit/libdl/rtl-rap.c @@ -970,6 +970,8 @@ rtems_rtl_rap_file_load (rtems_rtl_obj_t* obj, int fd) if (!rtems_rtl_rap_relocate (&rap, obj)) return false; + rtems_rtl_obj_synchronize_cache (obj); + return true; } |