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 Print out &_DYNAMIC too.
details: https://anonhg.NetBSD.org/src/rev/8045e6cf0025
branches: trunk
changeset: 786588:8045e6cf0025
user: matt <matt%NetBSD.org@localhost>
date: Thu May 02 21:11:18 2013 +0000
description:
Print out &_DYNAMIC too.
diffstat:
libexec/ld.elf_so/rtld.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 04bb9a7820f2 -r 8045e6cf0025 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c Thu May 02 21:11:03 2013 +0000
+++ b/libexec/ld.elf_so/rtld.c Thu May 02 21:11:18 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.161 2012/12/16 23:00:46 dsl Exp $ */
+/* $NetBSD: rtld.c,v 1.162 2013/05/02 21:11:18 matt Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.161 2012/12/16 23:00:46 dsl Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.162 2013/05/02 21:11:18 matt Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -443,12 +443,14 @@
debug = 1;
dbg(("sp = %p, argc = %ld, argv = %p <%s> relocbase %p", sp,
(long)sp[2], &sp[3], (char *) sp[3], (void *)relocbase));
-#if 0
+#if 1
dbg(("got is at %p, dynamic is at %p", _GLOBAL_OFFSET_TABLE_,
&_DYNAMIC));
#endif
+#if 0
dbg(("_ctype_ is %p", _ctype_));
#endif
+#endif
sp += 2; /* skip over return argument space */
argv = (const char **) &sp[1];
Home |
Main Index |
Thread Index |
Old Index