Module Name:    src
Committed By:   skrll
Date:           Fri Sep 24 12:00:10 UTC 2010

Modified Files:
        src/libexec/ld.elf_so/arch/sparc64: mdreloc.c

Log Message:
Comment reformat.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/libexec/ld.elf_so/arch/sparc64/mdreloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/arch/sparc64/mdreloc.c
diff -u src/libexec/ld.elf_so/arch/sparc64/mdreloc.c:1.49 src/libexec/ld.elf_so/arch/sparc64/mdreloc.c:1.50
--- src/libexec/ld.elf_so/arch/sparc64/mdreloc.c:1.49	Fri Sep 24 11:59:28 2010
+++ src/libexec/ld.elf_so/arch/sparc64/mdreloc.c	Fri Sep 24 12:00:10 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: mdreloc.c,v 1.49 2010/09/24 11:59:28 skrll Exp $	*/
+/*	$NetBSD: mdreloc.c,v 1.50 2010/09/24 12:00:10 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2000 Eduardo Horvath.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.49 2010/09/24 11:59:28 skrll Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.50 2010/09/24 12:00:10 skrll Exp $");
 #endif /* not lint */
 
 #include <errno.h>
@@ -526,9 +526,8 @@
 	    defobj->strtab + def->st_name, (void *)value));
 
 	/*
-	 * At the PLT entry pointed at by `where', we now construct
-	 * a direct transfer to the now fully resolved function
-	 * address.
+	 * At the PLT entry pointed at by `where', we now construct a direct
+	 * transfer to the now fully resolved function address.
 	 *
 	 * A PLT entry is supposed to start by looking like this:
 	 *
@@ -541,14 +540,13 @@
 	 *	nop
 	 *	nop
 	 *
-	 * When we replace these entries we start from the second
-	 * entry and do it in reverse order so the last thing we
-	 * do is replace the branch.  That allows us to change this
-	 * atomically.
+	 * When we replace these entries we start from the last instruction
+	 * and do it in reverse order so the last thing we do is replace the
+	 * branch.  That allows us to change this atomically.
 	 *
-	 * We now need to find out how far we need to jump.  We
-	 * have a choice of several different relocation techniques
-	 * which are increasingly expensive.
+	 * We now need to find out how far we need to jump.  We have a choice
+	 * of several different relocation techniques which are increasingly
+	 * expensive.
 	 */
 
 	offset = ((Elf_Addr)where) - value;

Reply via email to