summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-08-21 19:48:48 +0200
committerOndřej Bílka <neleai@seznam.cz>2013-08-21 19:48:48 +0200
commitc0c3f78afb6070721848574e2e5dff5cfa20e28d (patch)
tree6a1d44ea1e2f3d5425c05fd485c54aa15fda75f6 /elf
parent46ed103824ff42668ddfc36c1b3fdb9219d48eee (diff)
Fix typos.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c2
-rw-r--r--elf/dl-open.c2
-rw-r--r--elf/reldep.c2
-rw-r--r--elf/reldep3.c2
-rw-r--r--elf/sprof.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 655e38ee4b..6a73f27345 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -324,7 +324,7 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
const char *const start = name;
/* Now fill the result path. While copying over the string we keep
- track of the start of the last path element. When we come accross
+ track of the start of the last path element. When we come across
a DST we copy over the value or (if the value is not available)
leave the entire path element out. */
char *wp = result;
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 7adf66b221..24d6a70117 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -396,7 +396,7 @@ dl_open_worker (void *a)
/* If this here is the shared object which we want to profile
make sure the profile is started. We can find out whether
this is necessary or not by observing the `_dl_profile_map'
- variable. If it was NULL but is not NULL afterwars we must
+ variable. If it was NULL but is not NULL afterwards we must
start the profiling. */
struct link_map *old_profile_map = GL(dl_profile_map);
diff --git a/elf/reldep.c b/elf/reldep.c
index 44b239b6c7..adabc0d5d5 100644
--- a/elf/reldep.c
+++ b/elf/reldep.c
@@ -54,7 +54,7 @@ main (void)
}
/* Now close the first object. If must still be around since we have
- a implicit dependency. */
+ an implicit dependency. */
if (dlclose (h1) != 0)
{
printf ("closing h1 failed: %s\n", dlerror ());
diff --git a/elf/reldep3.c b/elf/reldep3.c
index b051c41dbc..05013d3509 100644
--- a/elf/reldep3.c
+++ b/elf/reldep3.c
@@ -54,7 +54,7 @@ main (void)
}
/* Now close the first object. If must still be around since we have
- a implicit dependency. */
+ an implicit dependency. */
if (dlclose (h1) != 0)
{
printf ("closing h1 failed: %s\n", dlerror ());
diff --git a/elf/sprof.c b/elf/sprof.c
index 60f310f47a..ecb7bdb2dc 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -1364,7 +1364,7 @@ generate_call_graph (struct profdata *profdata)
runp = runp->next;
}
- /* Info abount the function itself. */
+ /* Info about the function itself. */
n = printf ("[%Zu]", cnt);
printf ("%*s%5.1f%8.2f%8.2f%9" PRIdMAX " %s [%Zd]\n",
(int) (7 - n), " ",