aboutsummaryrefslogtreecommitdiff
path: root/src/dwarf/Lstep_dwarf.c
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-05-22 17:53:39 -0700
committerDan Albert <danalbert@google.com>2014-05-23 08:12:23 -0700
commit7cb7cbcacbc28bb5dadb471cbbda856a9d3e25cd (patch)
tree78529655649d33da43b544dbeb45c084553f0e76 /src/dwarf/Lstep_dwarf.c
parent7e10fa72f0d9e6160b917a62d9d91a87c9b47ffb (diff)
downloadlibunwind-7cb7cbcacbc28bb5dadb471cbbda856a9d3e25cd.tar.gz
Work around for duplicate symbols in static libs
Bug: 15110069 Change-Id: I24757ad60d94ac250065e2680871d0059e8c240d
Diffstat (limited to 'src/dwarf/Lstep_dwarf.c')
-rw-r--r--src/dwarf/Lstep_dwarf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dwarf/Lstep_dwarf.c b/src/dwarf/Lstep_dwarf.c
new file mode 100644
index 00000000..96de5de8
--- /dev/null
+++ b/src/dwarf/Lstep_dwarf.c
@@ -0,0 +1,9 @@
+/*
+ * This is a temporary work around for using libunwind.a with
+ * WHOLE_STATIC_LIBRARIES. Since every build will have one Lstep.o for the
+ * target architecture and another for dwarf, libunwind.a was given two copies
+ * of Lstep.o. Our build system is unable to handle this right now.
+ *
+ * Bug: 15110069
+ */
+#include "Lstep.c"