diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 401fc6222def..122667017891 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2012-04-24 Chao-ying Fu + + * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC. + 2012-04-20 Thomas Schwinge struct siginfo vs. siginfo_t diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c index f57dc8c3925d..92f8ab546449 100644 --- a/libgcc/unwind-dw2-fde-dip.c +++ b/libgcc/unwind-dw2-fde-dip.c @@ -53,6 +53,11 @@ # define USE_PT_GNU_EH_FRAME #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