aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/elfcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user/elfcore.c')
-rw-r--r--bsd-user/elfcore.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/bsd-user/elfcore.c b/bsd-user/elfcore.c
new file mode 100644
index 0000000000..c49d9280e2
--- /dev/null
+++ b/bsd-user/elfcore.c
@@ -0,0 +1,10 @@
+/* Stubbed out version of core dump support, explicitly in public domain */
+
+static int elf_core_dump(int signr, CPUArchState *env)
+{
+ struct elf_note en = { 0 };
+
+ bswap_note(&en);
+
+ return 0;
+}