summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libdl')
-rw-r--r--cpukit/libdl/rtl-rap.c4
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;