Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so/arch/vax Improve some of the rdbg messages...
details: https://anonhg.NetBSD.org/src/rev/1035af134b51
branches: trunk
changeset: 327921:1035af134b51
user: matt <matt%NetBSD.org@localhost>
date: Fri Mar 21 01:43:33 2014 +0000
description:
Improve some of the rdbg messages to print the address of the pltgot slot
being modified.
diffstat:
libexec/ld.elf_so/arch/vax/mdreloc.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r 23c4182d10aa -r 1035af134b51 libexec/ld.elf_so/arch/vax/mdreloc.c
--- a/libexec/ld.elf_so/arch/vax/mdreloc.c Fri Mar 21 01:40:41 2014 +0000
+++ b/libexec/ld.elf_so/arch/vax/mdreloc.c Fri Mar 21 01:43:33 2014 +0000
@@ -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 @@
/* 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 @@
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;
Home |
Main Index |
Thread Index |
Old Index