aboutsummaryrefslogtreecommitdiff
path: root/libelf
diff options
context:
space:
mode:
Diffstat (limited to 'libelf')
-rw-r--r--libelf/dummy-sigaltstack.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libelf/dummy-sigaltstack.c b/libelf/dummy-sigaltstack.c
new file mode 100644
index 0000000..b9ab59b
--- /dev/null
+++ b/libelf/dummy-sigaltstack.c
@@ -0,0 +1,10 @@
+#ifdef __EMSCRIPTEN__
+
+#include <signal.h>
+
+int sigaltstack(const stack_t *ss, stack_t *old_ss)
+{
+ return -1;
+}
+
+#endif