diff options
-rw-r--r-- | src/s2wasm.h | 3 | ||||
-rw-r--r-- | test/s2wasm_known_gcc_test_failures.txt | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index b7682788a..c216d3713 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -314,7 +314,8 @@ private: else if (match("imports")) skipImports(); else if (match("data")) {} else if (match("ident")) {} - else if (match("section")) s = strchr(s, '\n'); + else if (match("section") || match("align")) s = strchr(s, '\n'); + else if (match("globl")) parseGlobl(); else abort_on("process"); } } diff --git a/test/s2wasm_known_gcc_test_failures.txt b/test/s2wasm_known_gcc_test_failures.txt index f94fe05b9..6cf69888b 100644 --- a/test/s2wasm_known_gcc_test_failures.txt +++ b/test/s2wasm_known_gcc_test_failures.txt @@ -43,9 +43,6 @@ strlen-1.c.s strncmp-1.c.s struct-cpy-1.c.s -# Something about alignment? -align-3.c.s - # Block address taken. 20071220-1.c.s 20071220-2.c.s |