summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libdl/rtl-rap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libdl/rtl-rap.c b/cpukit/libdl/rtl-rap.c
index 64ee2947a3..f8e2b18f43 100644
--- a/cpukit/libdl/rtl-rap.c
+++ b/cpukit/libdl/rtl-rap.c
@@ -336,7 +336,7 @@ rtems_rtl_rap_relocate (rtems_rtl_rap* rap, rtems_rtl_obj* obj)
" addend=%" PRIu32 "\n",
r, info, offset, addend);
- type = info & 0xff;
+ type = ELF_R_TYPE(info);
if ((info & (1 << 31)) == 0)
{