diff options
author | zhengxiaojun <jameszxj@gmail.com> | 2019-06-12 13:22:38 +0800 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-06-12 17:01:27 +1000 |
commit | 38b29232fd7f45cd69248727378a5654bd97a035 (patch) | |
tree | 1aaf084b1a8c8098982ef8c3a6f83e261d62280e /cpukit/libdl | |
parent | sparc: Fix mistakenly cleared PSR[EF] bit. (diff) | |
download | rtems-38b29232fd7f45cd69248727378a5654bd97a035.tar.bz2 |
libdl/rap: fix RAP file load error.
Diffstat (limited to 'cpukit/libdl')
-rw-r--r-- | cpukit/libdl/rtl-rap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libdl/rtl-rap.c b/cpukit/libdl/rtl-rap.c index 937d48895b..6a07a7519a 100644 --- a/cpukit/libdl/rtl-rap.c +++ b/cpukit/libdl/rtl-rap.c @@ -409,8 +409,8 @@ rtems_rtl_rap_relocate (rtems_rtl_rap* rap, rtems_rtl_obj* obj) r, (int) type, offset, symname, (uintmax_t) symtype, (uintmax_t) symvalue); - if (!rtems_rtl_elf_relocate_rel (obj, &rel, targetsect, - symname, symtype, symvalue)) + if (rtems_rtl_elf_relocate_rel (obj, &rel, targetsect, + symname, symtype, symvalue) == rtems_rtl_elf_rel_failure) { free (symname_buffer); return false; |