Commit 08ce3276 by Manfred Hollstein Committed by Jeff Law

toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition to RLIMIT_STACK to see if...

        * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
        to RLIMIT_STACK to see if we can call getrlimit and setrlimit.

From-SVN: r17030
parent c229cba9
Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
* toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
* rs6000.h (FUNCTION_ARG_PADDING): Define.
......
......@@ -3819,7 +3819,7 @@ main (argc, argv, envp)
--p;
progname = p;
#ifdef RLIMIT_STACK
#if defined (RLIMIT_STACK) && defined (HAVE_GETRLIMIT) && defined (HAVE_SETRLIMIT)
/* Get rid of any avoidable limit on stack size. */
{
struct rlimit rlim;
......
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