summaryrefslogtreecommitdiff
path: root/src/microblaze
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2013-10-08 06:45:51 -0400
committerAnthony Green <green@moxielogic.com>2013-10-08 06:45:51 -0400
commit128cd1d2f358f26d9fa75a27cf2b30356f5dd903 (patch)
treed03e4ef7ded2c9d10d636427c99a3526aebd7ec5 /src/microblaze
parentff06269d707cafbfef2a88afb07a79c9d1480c5f (diff)
downloadlibffi-128cd1d2f358f26d9fa75a27cf2b30356f5dd903.tar.gz
Fix spelling errors
Diffstat (limited to 'src/microblaze')
-rw-r--r--src/microblaze/ffi.c2
-rw-r--r--src/microblaze/sysv.S6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/microblaze/ffi.c b/src/microblaze/ffi.c
index 5c155c5..ea962ea 100644
--- a/src/microblaze/ffi.c
+++ b/src/microblaze/ffi.c
@@ -183,7 +183,7 @@ void ffi_closure_call_SYSV(void* register_args, void* stack_args,
ffi_type** arg_types = cif->arg_types;
/* re-allocate data for the args. This needs to be done in order to keep
- * multi-word objects (e.g. structs) in contigious memory. Callers are not
+ * multi-word objects (e.g. structs) in contiguous memory. Callers are not
* required to store the value of args in the lower 6 words in the stack
* (although they are allocated in the stack).
*/
diff --git a/src/microblaze/sysv.S b/src/microblaze/sysv.S
index 7a195a6..ea43e9d 100644
--- a/src/microblaze/sysv.S
+++ b/src/microblaze/sysv.S
@@ -134,7 +134,7 @@ ffi_call_SYSV:
rsubi r11, r23, 8
beqi r11, ffi_call_SYSV_store64
- /* Didnt match anything */
+ /* Didn't match anything */
bri ffi_call_SYSV_end
ffi_call_SYSV_store64:
@@ -210,7 +210,7 @@ ffi_closure_SYSV:
addik r7, r12, 0 /* closure object */
addik r1, r1, -8 /* allocate return value */
addik r8, r1, 0 /* void* rvalue */
- addik r1, r1, -8 /* allocate for reutrn type/size values */
+ addik r1, r1, -8 /* allocate for return type/size values */
addik r9, r1, 0 /* void* rtype */
addik r10, r1, 4 /* void* rsize */
@@ -247,7 +247,7 @@ ffi_closure_SYSV_prepare_return:
rsubi r11, r10, 8
beqi r11, ffi_closure_SYSV_store64
- /* Didnt match anything */
+ /* Didn't match anything */
bri ffi_closure_SYSV_end
ffi_closure_SYSV_store64: