From f9133c6575530c4c63f1981c24c35e3643695a2e Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 7 Jun 2004 07:13:36 +0000 Subject: better debugging printfs for init/fini fixups --- libexec/ld.so/hppa/rtld_machine.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libexec/ld.so/hppa/rtld_machine.c b/libexec/ld.so/hppa/rtld_machine.c index fb16756d8df..1011f3f75d8 100644 --- a/libexec/ld.so/hppa/rtld_machine.c +++ b/libexec/ld.so/hppa/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.4 2004/06/01 21:07:46 mickey Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.5 2004/06/07 07:13:35 mickey Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -116,16 +116,18 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz) if (object->dyn.init && !((Elf_Addr)object->dyn.init & 2)) { Elf_Addr addr = _dl_md_plabel((Elf_Addr)object->dyn.init, object->dyn.pltgot); - DL_DEB(("PLABEL32: %x(_init) -> 0x%x in %s\n", - object->dyn.init, addr, object->load_name)); + DL_DEB(("PLABEL32: %p:%p(_init) -> 0x%x in %s\n", + object->dyn.init, object->dyn.pltgot, + addr, object->load_name)); object->dyn.init = (void *)addr; } if (object->dyn.fini && !((Elf_Addr)object->dyn.fini & 2)) { Elf_Addr addr = _dl_md_plabel((Elf_Addr)object->dyn.fini, object->dyn.pltgot); - DL_DEB(("PLABEL32: %x(_fini) -> 0x%x in %s\n", - object->dyn.fini, addr, object->load_name)); + DL_DEB(("PLABEL32: %p:%p(_fini) -> 0x%x in %s\n", + object->dyn.fini, object->dyn.pltgot, + addr, object->load_name)); object->dyn.fini = (void *)addr; } -- cgit v1.2.3