aboutsummaryrefslogtreecommitdiff
path: root/arm-link.c
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-05-07 21:38:09 -0700
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-05-07 21:38:09 -0700
commit19d8b8a17383863d45823e37f20a94cc1d55c3a6 (patch)
tree5862658773da49c99ae77dfa0e578b3b519ed282 /arm-link.c
parent1b9935cf36e83b389cb26008df93a654af3f2074 (diff)
downloadtinycc-19d8b8a17383863d45823e37f20a94cc1d55c3a6.tar.gz
tinycc-19d8b8a17383863d45823e37f20a94cc1d55c3a6.tar.bz2
Spelling fixes in C comments only
Diffstat (limited to 'arm-link.c')
-rw-r--r--arm-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm-link.c b/arm-link.c
index bec8a1c..606f40e 100644
--- a/arm-link.c
+++ b/arm-link.c
@@ -62,7 +62,7 @@ int code_reloc (int reloc_type)
return -1;
}
-/* Returns an enumerator to describe wether and when the relocation needs a
+/* Returns an enumerator to describe whether and when the relocation needs a
GOT and/or PLT entry to be created. See tcc.h for a description of the
different values. */
int gotplt_entry_type (int reloc_type)
@@ -109,7 +109,7 @@ ST_FUNC unsigned create_plt_entry(TCCState *s1, unsigned got_offset, struct sym_
unsigned plt_offset;
/* when building a DLL, GOT entry accesses must be done relative to
- start of GOT (see x86_64 examble above) */
+ start of GOT (see x86_64 example above) */
if (s1->output_type == TCC_OUTPUT_DLL)
tcc_error("DLLs unimplemented!");