diff --git a/system/lib/README.md b/system/lib/README.md index f4bc8e9653bc3..9075e73c2ba6b 100644 --- a/system/lib/README.md +++ b/system/lib/README.md @@ -4,7 +4,7 @@ Source code for C/C++ system libaries This directory contains the source code for libc, libc++ and other C/C++ system libraries. Where possible these are clones of upstream projects (e.g. musl). For more details about each library see the individual readme files in the -subdirectoris. +subdirectories. Static constructor ordering --------------------------- diff --git a/system/lib/libc/README.md b/system/lib/libc/README.md index 46713edb04435..895524e6f309c 100644 --- a/system/lib/libc/README.md +++ b/system/lib/libc/README.md @@ -13,6 +13,6 @@ Some changes have been made to the version that was taken from upstream, includi * Simplify stdout stream handling: do not support seeking, terminal handling, etc., as it just increases code size and Emscripten doesn't have those features anyhow. * Setting `_POSIX_REALTIME_SIGNALS` and `_POSIX_SPAWN` macros to -1, to exclude unsupported functions. -Copy log.c and log2.c from ealier version of musl which result in smaller +Copy log.c and log2.c from earlier version of musl which result in smaller binary size since they do not rely data tables in log_data.c and log2_data.c. See https://github.com/emscripten-core/emscripten/issues/15483. diff --git a/system/lib/libc/emscripten_libc_stubs.c b/system/lib/libc/emscripten_libc_stubs.c index 7df656c27ca41..80ece05f10c46 100644 --- a/system/lib/libc/emscripten_libc_stubs.c +++ b/system/lib/libc/emscripten_libc_stubs.c @@ -4,8 +4,8 @@ * University of Illinois/NCSA Open Source License. Both these licenses can be * found in the LICENSE file. * - * Fake/stub implemenations of libc functions. - * See emscripten_syscall_stubs.c for fake/stub implemenations of syscalls. + * Fake/stub implementations of libc functions. + * See emscripten_syscall_stubs.c for fake/stub implementations of syscalls. */ #include diff --git a/system/lib/libc/emscripten_syscall_stubs.c b/system/lib/libc/emscripten_syscall_stubs.c index 03d8d67ec17af..63bff82af8568 100644 --- a/system/lib/libc/emscripten_syscall_stubs.c +++ b/system/lib/libc/emscripten_syscall_stubs.c @@ -4,7 +4,7 @@ * University of Illinois/NCSA Open Source License. Both these licenses can be * found in the LICENSE file. * - * Unimplemented/dummy syscall implemenations. These fall into 3 catagories. + * Unimplemented/dummy syscall implementations. These fall into 3 catagories. * * 1. Fake it, use dummy/placeholder values and return success. * 2. Fake it, as above but warn at runtime if called. diff --git a/system/lib/wasmfs/emscripten.cpp b/system/lib/wasmfs/emscripten.cpp index ab82faafaf7d0..81f4996a4445f 100644 --- a/system/lib/wasmfs/emscripten.cpp +++ b/system/lib/wasmfs/emscripten.cpp @@ -7,7 +7,7 @@ // This file contains implementations of emscripten APIs that are compatible // with WasmFS. These replace APIs in src/library*js, and basically do things // in a simpler manner for the situation where the FS is in wasm and not JS -// (in particular, these implemenations avoid calling from JS to wasm, and +// (in particular, these implementations avoid calling from JS to wasm, and // dependency issues that arise from that). //