diff options
author | Eric Lindblad <lindblad@gmx.us> | 2022-05-13 15:40:55 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-06-01 07:44:51 -0400 |
commit | 514a6a28db16793d6d2ca8fe7863e82943f56374 (patch) | |
tree | 5e35392d37250050e192d11790bdefa7011f8862 /rts/linker | |
parent | ef7ddd7348070a9149d162217280c0a50f2b213d (diff) | |
download | haskell-514a6a28db16793d6d2ca8fe7863e82943f56374.tar.gz |
typos
Diffstat (limited to 'rts/linker')
-rw-r--r-- | rts/linker/elf_compat.h | 2 | ||||
-rw-r--r-- | rts/linker/elf_got.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rts/linker/elf_compat.h b/rts/linker/elf_compat.h index 424d1d25f8..9f2780203d 100644 --- a/rts/linker/elf_compat.h +++ b/rts/linker/elf_compat.h @@ -6,7 +6,7 @@ // The files in ELFRelocs/ have been taken from // the LLVM project. See ELFRelocs/LICENSE-LLVM.TXT // for the University of Illinois Open Source License -// under which it is distrubuted. +// under which it is distributed. // #pragma once diff --git a/rts/linker/elf_got.c b/rts/linker/elf_got.c index 0f511e663f..4d0c97871e 100644 --- a/rts/linker/elf_got.c +++ b/rts/linker/elf_got.c @@ -17,7 +17,7 @@ needGotSlot(Elf_Sym * symbol) { * STB_WEAK. * * Any more restrictive filter here would result - * in a smaller GOT, which is preferrable. + * in a smaller GOT, which is preferable. */ return ELF_ST_BIND(symbol->st_info) == STB_GLOBAL || ELF_ST_BIND(symbol->st_info) == STB_WEAK @@ -87,7 +87,7 @@ fillGot(ObjectCode * oc) { if(needGotSlot(symbol->elf_sym)) { /* no type are undefined symbols */ - // Note STT_SECTION symbols should have their addres + // Note STT_SECTION symbols should have their address // set prior to the fillGot call in ocResolve_ELF. if( STT_NOTYPE == ELF_ST_TYPE(symbol->elf_sym->st_info) || STB_WEAK == ELF_ST_BIND(symbol->elf_sym->st_info)) { |