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 Fixup comment.



details:   https://anonhg.NetBSD.org/src/rev/fa7d2a432a00
branches:  trunk
changeset: 750665:fa7d2a432a00
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Jan 10 06:37:32 2010 +0000

description:
Fixup comment.

diffstat:

 libexec/ld.elf_so/rtld.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r aa12601a403d -r fa7d2a432a00 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c  Sun Jan 10 06:13:25 2010 +0000
+++ b/libexec/ld.elf_so/rtld.c  Sun Jan 10 06:37:32 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld.c,v 1.127 2009/12/02 15:50:13 christos Exp $       */
+/*     $NetBSD: rtld.c,v 1.128 2010/01/10 06:37:32 skrll Exp $  */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.127 2009/12/02 15:50:13 christos Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.128 2010/01/10 06:37:32 skrll Exp $");
 #endif /* not lint */
 
 #include <err.h>
@@ -231,10 +231,12 @@
        _rtld_objself.strtab = "_rtld_sym_zero";
 
        /*
-        * Set value to -relocabase so that
-        * _rtld_objself.relocbase + _rtld_smy_zero.st_value == 0
+        * Set value to -relocbase so that
+        *
+        *     _rtld_objself.relocbase + _rtld_sym_zero.st_value == 0
+        *
         * This allows unresolved references to weak symbols to be computed
-        * to value a value of 0.
+        * to a value of 0.
         */
        _rtld_sym_zero.st_value = -(uintptr_t)relocbase;
 



Home | Main Index | Thread Index | Old Index