summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-12-18 20:26:42 +1100
committerChris Johns <chrisj@rtems.org>2012-12-18 20:26:42 +1100
commitba2c4d7ed3e7b02b704647c64b5c67a0f075e734 (patch)
treee17d1e4bb914b35a3ee57966e34a026687f2e6b9
parenta03c85b119b9ebd06fdf557e20adc77569393bd6 (diff)
Add the where to the prints.
-rw-r--r--rtl-mdreloc-i386.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/rtl-mdreloc-i386.c b/rtl-mdreloc-i386.c
index 21cde5a..2c23c28 100644
--- a/rtl-mdreloc-i386.c
+++ b/rtl-mdreloc-i386.c
@@ -57,9 +57,9 @@ rtems_rtl_elf_relocate_rel (const rtems_rtl_obj_t* obj,
*where += target - (Elf_Addr)where;
if (rtems_rtl_trace (RTEMS_RTL_TRACE_RELOC))
- printf ("rtl: reloc PC32 in %s --> %p (%p) in %s\n",
+ printf ("rtl: reloc PC32 in %s --> %p (%p @ %p) in %s\n",
sect->name, (void*) symvalue,
- (void *)*where, rtems_rtl_obj_oname (obj));
+ (void *)*where, where, rtems_rtl_obj_oname (obj));
break;
case R_TYPE(GOT32):
@@ -71,16 +71,16 @@ rtems_rtl_elf_relocate_rel (const rtems_rtl_obj_t* obj,
if (*where != tmp)
*where = tmp;
if (rtems_rtl_trace (RTEMS_RTL_TRACE_RELOC))
- printf ("rtl: reloc 32/GLOB_DAT in %s --> %p in %s\n",
- sect->name, (void *)*where,
+ printf ("rtl: reloc 32/GLOB_DAT in %s --> %p @ %p in %s\n",
+ sect->name, (void *)*where, where,
rtems_rtl_obj_oname (obj));
break;
case R_TYPE(RELATIVE):
*where += (Elf_Addr)sect->base;
if (rtems_rtl_trace (RTEMS_RTL_TRACE_RELOC))
- printf ("rtl: reloc RELATIVE in %s --> %p\n",
- rtems_rtl_obj_oname (obj), (void *)*where);
+ printf ("rtl: reloc RELATIVE in %s --> %p @ %p\n",
+ rtems_rtl_obj_oname (obj), (void *)*where, where);
break;
case R_TYPE(COPY):