summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-08 18:30:44 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-09 16:14:18 -0500
commitd9cda3578511a672fd1a88d799da90d8c6bc8b3b (patch)
tree51c3ceeb1edfc4f53d17e4c61e936ff35e170281 /cpukit/libdl
parentlibcpu/powerpc/mpc8260/console-generic/console-generic.c: Include bsp.h to fi... (diff)
downloadrtems-d9cda3578511a672fd1a88d799da90d8c6bc8b3b.tar.bz2
cpukit/libdl/rtl-mdreloc-m32r.c: Add parentheses per Chris' suggestion
Diffstat (limited to 'cpukit/libdl')
-rw-r--r--cpukit/libdl/rtl-mdreloc-m32r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libdl/rtl-mdreloc-m32r.c b/cpukit/libdl/rtl-mdreloc-m32r.c
index de32f06896..265e9cb7ae 100644
--- a/cpukit/libdl/rtl-mdreloc-m32r.c
+++ b/cpukit/libdl/rtl-mdreloc-m32r.c
@@ -69,7 +69,7 @@ rtems_rtl_elf_relocate_rela (const rtems_rtl_obj_t* obj,
printf("24_RELA Overflow\n");
return false;
}
- *where = (*where & 0xff000000) | tmp & 0xffffff;
+ *where = (*where & 0xff000000) | (tmp & 0xffffff);
break;
case R_TYPE(32_RELA):