summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChao-ying Fu <fu@mips.com>2012-04-24 22:41:33 +0000
committerChao-ying Fu <chaoyingfu@gcc.gnu.org>2012-04-24 22:41:33 +0000
commite1be98a467ee4c954722eb9b41a6ca2d0d7b78b1 (patch)
treef74630396b6b1d712b5095d04c2e14fde92aee3d
parent70a33f264ba65ba7b557ee0cbed966882cef4e01 (diff)
downloadgcc-e1be98a467ee4c954722eb9b41a6ca2d0d7b78b1.tar.gz
unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2012-04-24 Chao-ying Fu <fu@mips.com> * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC. From-SVN: r186788
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/unwind-dw2-fde-dip.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 401fc6222de..12266701789 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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
diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c
index f57dc8c3925..92f8ab54644 100644
--- a/libgcc/unwind-dw2-fde-dip.c
+++ b/libgcc/unwind-dw2-fde-dip.c
@@ -54,6 +54,11 @@
#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