diff options
| author | matt <matt@NetBSD.org> | 2014-03-21 01:43:33 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2014-03-21 01:43:33 +0000 |
| commit | 691697e50b2abc3ecd40bf71caa0cfe944eaa906 (patch) | |
| tree | 79f6591d3561cc06a840d2503303c9161767dee6 /libexec | |
| parent | a212f77d4cdecbbd3e08a28937cc8fe293d3a966 (diff) | |
Improve some of the rdbg messages to print the address of the pltgot slot
being modified.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/arch/vax/mdreloc.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libexec/ld.elf_so/arch/vax/mdreloc.c b/libexec/ld.elf_so/arch/vax/mdreloc.c index 7b979005e43..ab822c40743 100644 --- a/libexec/ld.elf_so/arch/vax/mdreloc.c +++ b/libexec/ld.elf_so/arch/vax/mdreloc.c @@ -1,13 +1,13 @@ -/* $NetBSD: mdreloc.c,v 1.28 2011/03/25 18:07:07 joerg Exp $ */ +/* $NetBSD: mdreloc.c,v 1.29 2014/03/21 01:43:33 matt Exp $ */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: mdreloc.c,v 1.28 2011/03/25 18:07:07 joerg Exp $"); +__RCSID("$NetBSD: mdreloc.c,v 1.29 2014/03/21 01:43:33 matt Exp $"); #endif /* not lint */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: mdreloc.c,v 1.28 2011/03/25 18:07:07 joerg Exp $"); +__RCSID("$NetBSD: mdreloc.c,v 1.29 2014/03/21 01:43:33 matt Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -142,7 +142,8 @@ _rtld_relocate_plt_lazy(const Obj_Entry *obj) /* Just relocate the GOT slots pointing into the PLT */ *where += (Elf_Addr)obj->relocbase; - rdbg(("fixup !main in %s --> %p", obj->path, (void *)*where)); + rdbg(("lazy fixup pltgot %p in %s --> %p", where, obj->path, + (void *)*where)); } return 0; @@ -167,7 +168,7 @@ _rtld_relocate_plt_object(const Obj_Entry *obj, const Elf_Rela *rela, Elf_Addr * new_value = (Elf_Addr)(defobj->relocbase + def->st_value + rela->r_addend); - rdbg(("bind now/fixup in %s --> old=%p new=%p", + rdbg(("bind now/fixup pltgot %p in %s --> old=%p new=%p", where, defobj->strtab + def->st_name, (void *)*where, (void *)new_value)); if (*where != new_value) *where = new_value; |
