From 2fcfba3d6545b3541ea3bff954581d2cf0645ade Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 9 Dec 2012 19:15:59 +0100 Subject: [PATCH] re PR target/55344 (Cross compiling for alpha-linux fails because doesn't exist) PR target/55344 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined. From-SVN: r194334 --- libgcc/ChangeLog | 5 +++++ libgcc/config/alpha/linux-unwind.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 7e15a8cf0e5..115dca98cf6 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2012-12-09 Uros Bizjak + + PR target/55344 + * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined. + 2012-12-06 Uros Bizjak * config/i386/sfp-machine.h (FP_EX_ALL): Define. diff --git a/libgcc/config/alpha/linux-unwind.h b/libgcc/config/alpha/linux-unwind.h index 8c04b3b415f..6c2f028917a 100644 --- a/libgcc/config/alpha/linux-unwind.h +++ b/libgcc/config/alpha/linux-unwind.h @@ -22,6 +22,7 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ +#ifndef inhibit_libc /* Do code reading to identify a signal frame, and set the frame state data appropriately. See unwind-dw2.c for the structs. */ @@ -97,3 +98,4 @@ alpha_frob_update_context (struct _Unwind_Context *context, || pc[1] == 0x201f015f)) /* lda $0,NR_rt_sigreturn */ _Unwind_SetSignalFrame (context, 1); } +#endif