diff options
author | Gabor Greif <ggreif@gmail.com> | 2017-03-28 11:59:48 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2017-03-28 12:18:43 +0200 |
commit | 08a6fc69ce1617bb997cb02584a961ac29a266eb (patch) | |
tree | 9a387c89f3e547b6975f8cda1a0e59098a6d4cae /rts | |
parent | eb6ccb7cd8751cd027ee9913e47f1371bfa62289 (diff) | |
download | haskell-08a6fc69ce1617bb997cb02584a961ac29a266eb.tar.gz |
Spelling in comments only [ci skip]
Diffstat (limited to 'rts')
-rw-r--r-- | rts/linker/Elf.c | 2 | ||||
-rw-r--r-- | rts/linker/MachO.c | 8 | ||||
-rw-r--r-- | rts/linker/MachOTypes.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c index e8f6aab2f5..2ce4d3df2d 100644 --- a/rts/linker/Elf.c +++ b/rts/linker/Elf.c @@ -375,7 +375,7 @@ ocVerifyImage_ELF ( ObjectCode* oc ) if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) { IF_DEBUG(linker,debugBelch( "Is big-endian\n" )); } else { - errorBelch("%s: unknown endiannness", oc->fileName); + errorBelch("%s: unknown endianness", oc->fileName); return 0; } diff --git a/rts/linker/MachO.c b/rts/linker/MachO.c index 9fc3c5b8e9..16b712a804 100644 --- a/rts/linker/MachO.c +++ b/rts/linker/MachO.c @@ -618,7 +618,7 @@ relocateSection_aarch64(ObjectCode * oc, Section * section) return 1; /* at this point, we have: * - * - loaded the sections (potentially into non-continuous memory), + * - loaded the sections (potentially into non-contiguous memory), * (in ocGetNames_MachO) * - registered exported sybmols * (in ocGetNames_MachO) @@ -628,7 +628,7 @@ relocateSection_aarch64(ObjectCode * oc, Section * section) * - All oc->symbols however should now point at the right place. */ - /* we need to care about the explicity addend */ + /* we need to care about the explicit addend */ int64_t explicit_addend = 0; size_t nreloc = section->info->macho_section->nreloc; @@ -986,7 +986,7 @@ relocateSection( thing -= value; break; default: - barf("unkown relocation"); + barf("unknown relocation"); } switch(reloc->r_length) @@ -1687,7 +1687,7 @@ ocGetNames_MachO(ObjectCode* oc) * - EXT and UNDF * - EXT and not in the same section. * - * As sections are not necessarily continuous and can live + * As sections are not necessarily contiguous and can live * anywhere in the addressable space. This obviously makes * sense. However it took me a while to figure this out. */ diff --git a/rts/linker/MachOTypes.h b/rts/linker/MachOTypes.h index 31bfdb49cd..f78bfca555 100644 --- a/rts/linker/MachOTypes.h +++ b/rts/linker/MachOTypes.h @@ -30,7 +30,7 @@ typedef struct scattered_relocation_info MachOScatteredRelocationInfo; /* Dealing with nlist symbol entries can become * painful. We'll have our own Symbol struct that * mirrors the symbol from the nlist and can carry - * some more infomration (like addr). + * some more information (like addr). */ typedef struct _MachOSymbol { SymbolName * name; /* the name of the symbol. */ @@ -101,7 +101,7 @@ typedef struct _ObjectCodeFormatInfo { * * These are very similar to the SymbolExtras * below. However the SymbolExtras are allocated - * per ObejctCode and not per Section. + * per ObjectCode and not per Section. * * TODO: Merge SymbolExtras and Stubs. */ |