diff options
author | Marek Polacek <mpolacek@redhat.com> | 2011-04-15 11:41:32 +0200 |
---|---|---|
committer | Marek Polacek <mpolacek@redhat.com> | 2011-04-16 14:43:57 +0200 |
commit | ed52618203ac78179e3a0cf36db5bdca8958da1d (patch) | |
tree | 4ddaa672e519fe8e202317be9b0bc85068549422 | |
parent | dbb490fad0fb4924e7cd0ae3991dec1cda0de644 (diff) | |
download | android_external_elfutils-ed52618203ac78179e3a0cf36db5bdca8958da1d.tar.gz android_external_elfutils-ed52618203ac78179e3a0cf36db5bdca8958da1d.tar.bz2 android_external_elfutils-ed52618203ac78179e3a0cf36db5bdca8958da1d.zip |
Fix doubled words.
-rw-r--r-- | libebl/eblrelativerelocp.c | 2 | ||||
-rw-r--r-- | libelf/libelfP.h | 2 | ||||
-rw-r--r-- | src/arlib.c | 2 | ||||
-rw-r--r-- | src/elf32-i386.script | 2 | ||||
-rw-r--r-- | src/ld.c | 2 | ||||
-rw-r--r-- | src/ldgeneric.c | 5 |
6 files changed, 7 insertions, 8 deletions
diff --git a/libebl/eblrelativerelocp.c b/libebl/eblrelativerelocp.c index 8ea97b88..9c28b59c 100644 --- a/libebl/eblrelativerelocp.c +++ b/libebl/eblrelativerelocp.c @@ -1,4 +1,4 @@ -/* Check whether given relocation is a relocation relocation. +/* Check whether given relocation is a relative relocation. Copyright (C) 2006 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <drepper@redhat.com>, 2006. diff --git a/libelf/libelfP.h b/libelf/libelfP.h index 2b8391bd..8f2f33a4 100644 --- a/libelf/libelfP.h +++ b/libelf/libelfP.h @@ -251,7 +251,7 @@ struct Elf_Scn char *rawdata_base; /* The unmodified data of the section. */ char *data_base; /* The converted data of the section. */ - struct Elf_ScnList *list; /* Pointer the the section list element the + struct Elf_ScnList *list; /* Pointer to the section list element the data is in. */ }; diff --git a/src/arlib.c b/src/arlib.c index af98454c..c69a138f 100644 --- a/src/arlib.c +++ b/src/arlib.c @@ -61,7 +61,7 @@ arlib_init (void) /* Using snprintf here has a problem: the call always wants to add a NUL byte. We could use a trick whereby we specify the target buffer size longer than it is and this would not actually fail, - since all the fields are consecutive and we fill them in in + since all the fields are consecutive and we fill them in sequence (i.e., the NUL byte gets overwritten). But _FORTIFY_SOURCE=2 would not let us play these games. Therefore we play it safe. */ diff --git a/src/elf32-i386.script b/src/elf32-i386.script index a6cfffa1..2083278f 100644 --- a/src/elf32-i386.script +++ b/src/elf32-i386.script @@ -120,7 +120,7 @@ SEGMENT [RW] is in. */ KEEP (*crtbegin.o(.ctors)) /* We don't want to include the .ctor section from - from the crtend.o file until after the sorted ctors. + the crtend.o file until after the sorted ctors. The .ctor section from the crtend file contains the end of ctors marker and it must be last */ KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors)) @@ -1465,7 +1465,7 @@ static void create_lscript_symbols (void) { /* Walk through the data from the linker script and generate all the - symbols which are required to be present and and those marked + symbols which are required to be present and those marked with PROVIDE if there is a undefined reference. */ if (ld_state.output_segments == NULL) return; diff --git a/src/ldgeneric.c b/src/ldgeneric.c index d51b54fe..98bdc225 100644 --- a/src/ldgeneric.c +++ b/src/ldgeneric.c @@ -5854,9 +5854,8 @@ section index too large in dynamic symbol table")); - the symbol is for a file - it is not externally visible (internal, hidden) - - if export_all_dynamic is not set and is only defined in - the executable (i.e., it is defined, but not (also) in - in DSO) + - export_all_dynamic is not set and the symbol is only defined + in the executable (i.e., it is defined, but not (also) in DSO) Set symstrent[cnt] to NULL in case an entry is ignored. */ if (XELF_ST_TYPE (sym->st_info) == STT_FILE |