| 1 |
From: Pino Toscano <[email protected]> |
| 2 |
Date: Sun, 27 Jul 2014 19:04:08 +0200 |
| 3 |
Subject: Hurd support |
| 4 |
|
| 5 |
--- |
| 6 |
js/src/wasm/WasmSignalHandlers.cpp | 2 +- |
| 7 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 8 |
|
| 9 |
diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp |
| 10 |
index 06954b3..8ae45e9 100644 |
| 11 |
--- a/js/src/wasm/WasmSignalHandlers.cpp |
| 12 |
+++ b/js/src/wasm/WasmSignalHandlers.cpp |
| 13 |
@@ -109,7 +109,7 @@ using namespace js::wasm; |
| 14 |
# define R01_sig(p) ((p)->sc_frame.fixreg[1]) |
| 15 |
# define R32_sig(p) ((p)->sc_frame.srr0) |
| 16 |
# endif |
| 17 |
-# elif defined(__linux__) || defined(__sun) |
| 18 |
+# elif defined(__linux__) || defined(__sun) || defined(__GNU__) |
| 19 |
# if defined(__linux__) |
| 20 |
# define EIP_sig(p) ((p)->uc_mcontext.gregs[REG_EIP]) |
| 21 |
# define EBP_sig(p) ((p)->uc_mcontext.gregs[REG_EBP]) |