aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/unwind-dw2-fde-glibc.c
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-10-23 10:43:38 -0700
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-10-23 10:43:39 -0700
commitd731c23051a3a72d3c51f94acc6dec70bbe4babc (patch)
tree8f9797b43c8bf617145672a4a0b0e72787507dd4 /gcc-4.4.3/gcc/unwind-dw2-fde-glibc.c
parent26d3c43a349e4533600682679f1dc2b00f5c0337 (diff)
parent83507cc564adba7e66ee20a36bf9c50e4d280cc1 (diff)
downloadtoolchain_gcc-d731c23051a3a72d3c51f94acc6dec70bbe4babc.tar.gz
toolchain_gcc-d731c23051a3a72d3c51f94acc6dec70bbe4babc.tar.bz2
toolchain_gcc-d731c23051a3a72d3c51f94acc6dec70bbe4babc.zip
Merge "Add MIPS Android support and default to little-endian"
Diffstat (limited to 'gcc-4.4.3/gcc/unwind-dw2-fde-glibc.c')
-rw-r--r--gcc-4.4.3/gcc/unwind-dw2-fde-glibc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc-4.4.3/gcc/unwind-dw2-fde-glibc.c b/gcc-4.4.3/gcc/unwind-dw2-fde-glibc.c
index 11f53dd31..bad608280 100644
--- a/gcc-4.4.3/gcc/unwind-dw2-fde-glibc.c
+++ b/gcc-4.4.3/gcc/unwind-dw2-fde-glibc.c
@@ -46,8 +46,10 @@
#include "gthr.h"
#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
- && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
- || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
+ && ((defined(__BIONIC__) && (defined(mips) || defined(__mips__))) \
+ || (__GLIBC__ > 2 \
+ || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
+ || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))))
#include <link.h>