diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-22 09:42:46 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-24 08:16:54 -0500 |
commit | 30ea9bf981ac11b77f0e1167849d8a5ed1d02b9e (patch) | |
tree | 3059f229b2f45ec91255e8df8a2d84ee4d5a36e8 /cpukit/libdl/rtl-mdreloc-moxie.c | |
parent | moxie machine type not supported by rtems-syms. See #2213 (diff) | |
download | rtems-30ea9bf981ac11b77f0e1167849d8a5ed1d02b9e.tar.bz2 |
libdl/rtl-mdreloc-moxie.c: Fix printf() format warnings
Diffstat (limited to '')
-rw-r--r-- | cpukit/libdl/rtl-mdreloc-moxie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libdl/rtl-mdreloc-moxie.c b/cpukit/libdl/rtl-mdreloc-moxie.c index 284f68e260..1fb05e6977 100644 --- a/cpukit/libdl/rtl-mdreloc-moxie.c +++ b/cpukit/libdl/rtl-mdreloc-moxie.c @@ -54,7 +54,7 @@ rtems_rtl_elf_relocate_rela (const rtems_rtl_obj_t* obj, tmp = (symvalue + rela->r_addend - ((Elf_Word)where + 2)); /* pc is the next instruction */ tmp = (Elf_Sword)tmp >> 1; if (((Elf32_Sword)tmp > 0x1ff) || ((Elf32_Sword)tmp < -(Elf32_Sword)0x200)){ - printf("Overflow for PCREL10: %d exceed -0x200:0x1ff\n", tmp); + printf("Overflow for PCREL10: %ld exceed -0x200:0x1ff\n", tmp); return false; } |