summaryrefslogtreecommitdiff
path: root/rts/linker
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-06-09 15:55:41 +0200
committerGabor Greif <ggreif@gmail.com>2017-06-13 12:05:09 +0200
commit0058a3490fc3908e00ba65e700fecc54b786e28a (patch)
tree3962e71aa648fbc9684928674d5d561abf13d9d1 /rts/linker
parentaf9612bf862daaa99384eefa3059054053ecbee8 (diff)
downloadhaskell-0058a3490fc3908e00ba65e700fecc54b786e28a.tar.gz
Typos [ci skip]
Diffstat (limited to 'rts/linker')
-rw-r--r--rts/linker/Elf.c2
-rw-r--r--rts/linker/ElfTypes.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c
index 2ae731ba47..e81b97acfa 100644
--- a/rts/linker/Elf.c
+++ b/rts/linker/Elf.c
@@ -1118,7 +1118,7 @@ do_Elf_Rel_relocations ( ObjectCode* oc, char* ehdrC,
case COMPAT_R_ARM_CALL:
case COMPAT_R_ARM_JUMP24:
{
- // N.B. LLVM's LLD linker's relocation implement is a fantastic
+ // N.B. LLVM's LLD linker's relocation implementation is a fantastic
// resource
StgWord32 *word = (StgWord32 *)P;
StgInt32 imm = (*word & ((1<<24)-1)) << 2;
diff --git a/rts/linker/ElfTypes.h b/rts/linker/ElfTypes.h
index 9e2e42f338..852d82a498 100644
--- a/rts/linker/ElfTypes.h
+++ b/rts/linker/ElfTypes.h
@@ -149,7 +149,7 @@ struct _Stub {
void * target;
/* flags can hold architecture specific information they are used during
* lookup of stubs as well. Thus two stubs for the same target with
- * different flags are considerd unequal.
+ * different flags are considered unequal.
*/
uint8_t flags;
struct _Stub * next;