From ba2c4d7ed3e7b02b704647c64b5c67a0f075e734 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 18 Dec 2012 20:26:42 +1100 Subject: Add the where to the prints. --- rtl-mdreloc-i386.c | 12 ++++++------ 1 file 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): -- cgit v1.2.3