diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-07 22:52:28 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-07 22:52:28 +0000 |
commit | 8acdf7c6696ee949933a675dbbee3b5c7369e483 (patch) | |
tree | 26fe2c8b0d67914875fe0748ee41072533f99586 | |
parent | 1780e36e9fac0b554eb38b15ccf216c1c2a7102e (diff) | |
download | ppe42-gcc-8acdf7c6696ee949933a675dbbee3b5c7369e483.tar.gz ppe42-gcc-8acdf7c6696ee949933a675dbbee3b5c7369e483.zip |
* generic-morestack-thread.c: #include <errno.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179703 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libgcc/ChangeLog | 4 | ||||
-rw-r--r-- | libgcc/generic-morestack-thread.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 6bc2ed581ef..87ba1ca83b7 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,9 @@ 2011-10-07 Ian Lance Taylor <iant@google.com> + * generic-morestack-thread.c: #include <errno.h>. + +2011-10-07 Ian Lance Taylor <iant@google.com> + PR target/46093 * generic-morestack.c (__generic_morestack): Make sure the segment is large enough for both the stack frame and the copied diff --git a/libgcc/generic-morestack-thread.c b/libgcc/generic-morestack-thread.c index bc237957ef6..794fdc3dc54 100644 --- a/libgcc/generic-morestack-thread.c +++ b/libgcc/generic-morestack-thread.c @@ -1,5 +1,5 @@ /* Thread library support for -fsplit-stack. */ -/* Copyright (C) 2009, 2010 Free Software Foundation, Inc. +/* Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Ian Lance Taylor <iant@google.com>. This file is part of GCC. @@ -36,6 +36,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #ifndef inhibit_libc +#include <errno.h> #include <pthread.h> #include "generic-morestack.h" |