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: r194334
This commit is contained in:
Uros Bizjak 2012-12-09 19:15:59 +01:00 committed by Uros Bizjak
parent e4139a8dd1
commit 2fcfba3d65
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-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sfp-machine.h (FP_EX_ALL): Define.

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