summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/alpha/rtld_machine.c4
-rw-r--r--libexec/ld.so/loader.c11
-rw-r--r--libexec/ld.so/mips/rtld_machine.c4
-rw-r--r--libexec/ld.so/mips/syscall.h4
-rw-r--r--libexec/ld.so/powerpc/ldasm.S4
-rw-r--r--libexec/ld.so/powerpc/rtld_machine.c4
-rw-r--r--libexec/ld.so/powerpc/syscall.h4
-rw-r--r--libexec/ld.so/resolve.c4
-rw-r--r--libexec/ld.so/util.c4
9 files changed, 22 insertions, 21 deletions
diff --git a/libexec/ld.so/alpha/rtld_machine.c b/libexec/ld.so/alpha/rtld_machine.c
index 83c74885152..87186b1beeb 100644
--- a/libexec/ld.so/alpha/rtld_machine.c
+++ b/libexec/ld.so/alpha/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.12 2002/06/05 23:13:55 art Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.13 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -80,7 +80,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz)
/*
* unprotect some segments if we need it.
- * XXX - we unprotect waay to much. only the text can have cow
+ * XXX - we unprotect way to much. only the text can have cow
* relocations.
*/
if ((rel == DT_REL || rel == DT_RELA)) {
diff --git a/libexec/ld.so/loader.c b/libexec/ld.so/loader.c
index 3309ccbaaa0..54fd97d995e 100644
--- a/libexec/ld.so/loader.c
+++ b/libexec/ld.so/loader.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loader.c,v 1.36 2002/06/05 23:13:55 art Exp $ */
+/* $OpenBSD: loader.c,v 1.37 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -69,7 +69,8 @@ _dl_debug_state(void)
}
/*
- * Routine to walk thru all of the objects except the first (main executable).
+ * Routine to walk through all of the objects except the first
+ * (main executable).
*/
void
_dl_run_dtors(elf_object_t *object)
@@ -93,7 +94,7 @@ _dl_dtors(void)
* This is the dynamic loader entrypoint. When entering here, depending
* on architecture type, the stack and registers are set up according
* to the architectures ABI specification. The first thing required
- * to do is to dig out all information we need to accomplish out task.
+ * to do is to dig out all information we need to accomplish our task.
*/
unsigned long
_dl_boot(const char **argv, char **envp, const long loff,
@@ -166,7 +167,7 @@ _dl_boot(const char **argv, char **envp, const long loff,
/*
* Now, pick up and 'load' all libraries requierd. Start
- * With the first on the list and then do whatever gets
+ * with the first on the list and then do whatever gets
* added along the tour.
*/
dynobj = _dl_objects;
@@ -215,7 +216,7 @@ _dl_boot(const char **argv, char **envp, const long loff,
/*
* Schedule a routine to be run at shutdown, by using atexit.
- * cannot call atexit directly from ld.so?
+ * Cannot call atexit directly from ld.so?
* Do not schedule destructors if run from ldd.
*/
if (_dl_traceld == NULL) {
diff --git a/libexec/ld.so/mips/rtld_machine.c b/libexec/ld.so/mips/rtld_machine.c
index 1719433ea55..19865eb154d 100644
--- a/libexec/ld.so/mips/rtld_machine.c
+++ b/libexec/ld.so/mips/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.5 2002/06/05 23:13:55 art Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.6 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -113,7 +113,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relsz)
* is referenced by other relocations than CALL16 and 26 it
* should not be given a stub and have a zero value in the
* symbol table. By not doing so, we can't use pointers to
- * external functions and use them in comparitions...
+ * external functions and use them in comparisons...
*/
void
_dl_md_reloc_got(elf_object_t *object, int lazy)
diff --git a/libexec/ld.so/mips/syscall.h b/libexec/ld.so/mips/syscall.h
index 6af92f5f042..216c72e0da6 100644
--- a/libexec/ld.so/mips/syscall.h
+++ b/libexec/ld.so/mips/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.4 2002/05/24 04:17:00 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.5 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -48,7 +48,7 @@
/*
* Inlined system call functions that can be used before
- * any dynamic address resoving has been done.
+ * any dynamic address resolving has been done.
*/
extern inline int
diff --git a/libexec/ld.so/powerpc/ldasm.S b/libexec/ld.so/powerpc/ldasm.S
index e626587e723..caf43ea950b 100644
--- a/libexec/ld.so/powerpc/ldasm.S
+++ b/libexec/ld.so/powerpc/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.4 2002/05/24 04:17:01 deraadt Exp $ */
+/* $OpenBSD: ldasm.S,v 1.5 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -75,7 +75,7 @@ ENTRY(_dl_start)
rlwinm 18,18,0,8,30 # mask off the offset portion of the instr.
/*
- * these adds effectively calculates the value the
+ * these adds effectively calculate the value the
* bl _GLOBAL_OFFSET_TABLE_@local-4
* operation that would be below would calulate.
*/
diff --git a/libexec/ld.so/powerpc/rtld_machine.c b/libexec/ld.so/powerpc/rtld_machine.c
index 4b3ccdefac0..999818782f4 100644
--- a/libexec/ld.so/powerpc/rtld_machine.c
+++ b/libexec/ld.so/powerpc/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.10 2002/06/05 23:13:55 art Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.11 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -398,7 +398,7 @@ _dl_printf(" found other symbol at %x size %d\n",
* is referenced by other relocations than CALL16 and 26 it
* should not be given a stub and have a zero value in the
* symbol table. By not doing so, we can't use pointers to
- * external functions and use them in comparitions...
+ * external functions and use them in comparisons...
*/
void
_dl_md_reloc_got(elf_object_t *object, int lazy)
diff --git a/libexec/ld.so/powerpc/syscall.h b/libexec/ld.so/powerpc/syscall.h
index 55916a5eddf..5abbec8a737 100644
--- a/libexec/ld.so/powerpc/syscall.h
+++ b/libexec/ld.so/powerpc/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.7 2002/05/24 04:17:01 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.8 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -48,7 +48,7 @@
/*
* Inlined system call functions that can be used before
- * any dynamic address resoving has been done.
+ * any dynamic address resolving has been done.
*/
static inline int
diff --git a/libexec/ld.so/resolve.c b/libexec/ld.so/resolve.c
index 48d7eda73e4..0a76b18e9b5 100644
--- a/libexec/ld.so/resolve.c
+++ b/libexec/ld.so/resolve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.c,v 1.10 2002/05/28 00:22:01 deraadt Exp $ */
+/* $OpenBSD: resolve.c,v 1.11 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -89,7 +89,7 @@ _dl_add_object(const char *objname, Elf_Dyn *dynp, const u_long *dl_data,
/*
* Now relocate all pointer to dynamic info, but only
- * the ones which has pointer values.
+ * the ones which have pointer values.
*/
if (object->Dyn.info[DT_PLTGOT])
object->Dyn.info[DT_PLTGOT] += loff;
diff --git a/libexec/ld.so/util.c b/libexec/ld.so/util.c
index 5313e4db2fc..a16b1d4f697 100644
--- a/libexec/ld.so/util.c
+++ b/libexec/ld.so/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.5 2002/05/28 00:22:01 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.6 2002/07/07 08:54:50 jufi Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -38,7 +38,7 @@
#include "archdep.h"
/*
- * Static vars usable after bootsrapping.
+ * Static vars usable after bootstrapping.
*/
static void *_dl_malloc_base;
static void *_dl_malloc_pool = 0;