svn commit: branches/uClibc-nptl/include
sjhill at uclibc.org
sjhill at uclibc.org
Fri Jan 6 02:56:26 UTC 2006
Author: sjhill
Date: 2006-01-05 18:56:25 -0800 (Thu, 05 Jan 2006)
New Revision: 13117
Log:
Merge from trunk with NPTL change.
Modified:
branches/uClibc-nptl/include/alloca.h
Changeset:
Modified: branches/uClibc-nptl/include/alloca.h
===================================================================
--- branches/uClibc-nptl/include/alloca.h 2006-01-06 02:53:47 UTC (rev 13116)
+++ branches/uClibc-nptl/include/alloca.h 2006-01-06 02:56:25 UTC (rev 13117)
@@ -38,39 +38,6 @@
#define __MAX_ALLOCA_CUTOFF 65536
-#ifdef __UCLIBC__
-#include <bits/stackinfo.h>
-#else
-#include <allocalim.h>
-#endif
-
-#if _STACK_GROWS_DOWN
-# define extend_alloca(buf, len, newlen) \
- (__typeof (buf)) ({ size_t __newlen = (newlen); \
- char *__newbuf = alloca (__newlen); \
- if (__newbuf + __newlen == (char *) buf) \
- len += __newlen; \
- else \
- len = __newlen; \
- __newbuf; })
-#elif _STACK_GROWS_UP
-# define extend_alloca(buf, len, newlen) \
- (__typeof (buf)) ({ size_t __newlen = (newlen); \
- char *__newbuf = alloca (__newlen); \
- char *__buf = (buf); \
- if (__buf + __newlen == __newbuf) \
- { \
- len += __newlen; \
- __newbuf = __buf; \
- } \
- else \
- len = __newlen; \
- __newbuf; })
-#else
-# define extern_alloca(buf, len, newlen) \
- alloca (((len) = (newlen)))
-#endif
-
__END_DECLS
#endif /* alloca.h */
More information about the uClibc-cvs
mailing list