OSDN Git Service

2012-04-24 Chao-ying Fu <fu@mips.com>
authorchaoyingfu <chaoyingfu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Apr 2012 22:41:33 +0000 (22:41 +0000)
committerchaoyingfu <chaoyingfu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Apr 2012 22:41:33 +0000 (22:41 +0000)
* unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186788 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/unwind-dw2-fde-dip.c

index 401fc62..1226670 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-24  Chao-ying Fu  <fu@mips.com>
+
+       * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
+
 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
 
        struct siginfo vs. siginfo_t
index f57dc8c..92f8ab5 100644 (file)
 #endif
 
 #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
+    && defined(__BIONIC__)
+# define USE_PT_GNU_EH_FRAME
+#endif
+
+#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
     && defined(__FreeBSD__) && __FreeBSD__ >= 7
 # define ElfW __ElfN
 # define USE_PT_GNU_EH_FRAME