re PR target/55344 (Cross compiling for alpha-linux fails because <signal.h> doesn't exist)

PR target/55344
	* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.

From-SVN: r194336
This commit is contained in:
Uros Bizjak 2012-12-09 19:21:41 +01:00 committed by Uros Bizjak
parent ccb018c338
commit 0e3f07aa1c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-12-09 Uros Bizjak <ubizjak@gmail.com>
PR target/55344
* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2012-12-04 Richard Henderson <rth@redhat.com>
PR bootstrap/55571

View File

@ -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
<http://www.gnu.org/licenses/>. */
#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