aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-object.c2
-rw-r--r--elf/dl-open.c2
-rw-r--r--elf/elf.h2
-rw-r--r--elf/rtld.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/elf/dl-object.c b/elf/dl-object.c
index fd2cdaec83..4914bc2720 100644
--- a/elf/dl-object.c
+++ b/elf/dl-object.c
@@ -59,7 +59,7 @@ _dl_new_object (char *realname, const char *libname, int type,
while (l->l_next)
l = l->l_next;
new->l_prev = l;
- /* new->l_next = NULL; Would be necesary but we use calloc. */
+ /* new->l_next = NULL; Would be necessary but we use calloc. */
l->l_next = new;
/* Add the global scope. */
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 097fd372c0..f3d8368f88 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -249,7 +249,7 @@ _dl_open (const char *file, int mode, const void *caller)
if (errstring)
{
- /* Some error occured during loading. */
+ /* Some error occurred during loading. */
char *local_errstring;
/* Remove the object from memory. It may be in an inconsistent
diff --git a/elf/elf.h b/elf/elf.h
index 98adb3deae..b843011312 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1055,7 +1055,7 @@ typedef struct
#define EF_MIPS_ARCH_4 0x30000000 /* -mips4 code. */
#define EF_MIPS_ARCH_5 0x40000000 /* -mips5 code. */
-/* The following are non-official names and should ot be used. */
+/* The following are non-official names and should not be used. */
#define E_MIPS_ARCH_1 0x00000000 /* -mips1 code. */
#define E_MIPS_ARCH_2 0x10000000 /* -mips2 code. */
diff --git a/elf/rtld.c b/elf/rtld.c
index c7b98a1336..2f57037fc0 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -642,7 +642,7 @@ of this helper program; chances are you did not intend to run this program.\n\
_dl_rtld_map.l_prev = _dl_loaded;
/* We have two ways to specify objects to preload: via environment
- variable and via the file /etc/ld.so.preload. The later can also
+ variable and via the file /etc/ld.so.preload. The latter can also
be used when security is enabled. */
preloads = NULL;
npreloads = 0;