Index: src/cxa_new_delete.cpp
===================================================================
--- src/cxa_new_delete.cpp	(revision 192134)
+++ src/cxa_new_delete.cpp	(working copy)
@@ -214,6 +214,7 @@
     return "std::bad_alloc";
 }
 
+#if 0
 // bad_array_new_length
 
 bad_array_new_length::bad_array_new_length() _NOEXCEPT
@@ -245,5 +246,5 @@
 {
     return "bad_array_length";
 }
-
+#endif
 }  // std
Index: src/Unwind/AddressSpace.hpp
===================================================================
--- src/Unwind/AddressSpace.hpp	(revision 192136)
+++ src/Unwind/AddressSpace.hpp	(working copy)
@@ -19,7 +19,12 @@
 #include <dlfcn.h>
 
 #if __APPLE__
-#include <mach-o/dyld_priv.h>
+  #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) \
+                                  && (__MAC_OS_X_VERSION_MIN_REQUIRED <= 1060)
+    #include <mach-o/getsect.h>
+  #else
+    #include <mach-o/dyld_priv.h>
+  #endif
 namespace libunwind {
    bool checkKeyMgrRegisteredFDEs(uintptr_t targetAddr, void *&fde);
 }
@@ -221,6 +226,43 @@
   return result;
 }
 
+#if __APPLE__ 
+#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) \
+                                  && (__MAC_OS_X_VERSION_MIN_REQUIRED <= 1060)
+  struct dyld_unwind_sections
+  {
+    const struct mach_header*   mh;
+    const void*                 dwarf_section;
+    uintptr_t                   dwarf_section_length;
+    const void*                 compact_unwind_section;
+    uintptr_t                   compact_unwind_section_length;
+  };
+  static inline bool _dyld_find_unwind_sections(void* addr, 
+                                                  dyld_unwind_sections* info) {
+    // Find mach-o image containing address.
+    Dl_info dlinfo;
+    if (!dladdr(addr, &dlinfo))
+      return false;
+    const mach_header *mh = (const mach_header *)dlinfo.dli_saddr;
+    
+    // Find dwarf unwind section in that image.
+    unsigned long size;
+    const uint8_t *p = getsectiondata(mh, "__TEXT", "__eh_frame", &size);
+    if (!p)
+      return false;
+    
+    // Fill in return struct.
+    info->mh = mh;
+    info->dwarf_section = p;
+    info->dwarf_section_length = size;
+    info->compact_unwind_section = 0;
+    info->compact_unwind_section_length = 0;
+   
+    return true;
+  }
+#endif
+#endif
+
 inline bool LocalAddressSpace::findUnwindSections(pint_t targetAddr,
                                                   UnwindInfoSections &info) {
 #if __APPLE__
