Commit b5204884 by Ian Lance Taylor Committed by Ian Lance Taylor

* generic-morestack-thread.c: #include <errno.h>.

From-SVN: r179703
parent 91a639a1
2011-10-07 Ian Lance Taylor <iant@google.com> 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 PR target/46093
* generic-morestack.c (__generic_morestack): Make sure the segment * generic-morestack.c (__generic_morestack): Make sure the segment
is large enough for both the stack frame and the copied is large enough for both the stack frame and the copied
......
/* Thread library support for -fsplit-stack. */ /* 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>. Contributed by Ian Lance Taylor <iant@google.com>.
This file is part of GCC. This file is part of GCC.
...@@ -36,6 +36,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -36,6 +36,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifndef inhibit_libc #ifndef inhibit_libc
#include <errno.h>
#include <pthread.h> #include <pthread.h>
#include "generic-morestack.h" #include "generic-morestack.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment