summaryrefslogtreecommitdiff
path: root/src/third_party/unwind/dist/src/coredump/_UPT_elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/unwind/dist/src/coredump/_UPT_elf.c')
-rw-r--r--src/third_party/unwind/dist/src/coredump/_UPT_elf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/third_party/unwind/dist/src/coredump/_UPT_elf.c b/src/third_party/unwind/dist/src/coredump/_UPT_elf.c
new file mode 100644
index 00000000000..fb7b19a7cbd
--- /dev/null
+++ b/src/third_party/unwind/dist/src/coredump/_UPT_elf.c
@@ -0,0 +1,5 @@
+/* We need to get a separate copy of the ELF-code into
+ libunwind-coredump since it cannot (and must not) have any ELF
+ dependencies on libunwind. */
+#include "libunwind_i.h" /* get ELFCLASS defined */
+#include "../elfxx.c"