summaryrefslogtreecommitdiff
path: root/libiberty/alloca.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-09-17 23:11:04 +0000
committerDJ Delorie <dj@delorie.com>2001-09-17 23:11:04 +0000
commitf1f85b6fc82fcc084cd0cb49cec9fbb25f26e5c3 (patch)
treef94545d59d50efc01bea171ba0ea6a038886a6db /libiberty/alloca.c
parent6371c869bb088f894b9cfa677113fa6308a49141 (diff)
downloadgdb-f1f85b6fc82fcc084cd0cb49cec9fbb25f26e5c3.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/alloca.c')
-rw-r--r--libiberty/alloca.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/alloca.c b/libiberty/alloca.c
index bf105d80f0f..822c1dc2307 100644
--- a/libiberty/alloca.c
+++ b/libiberty/alloca.c
@@ -34,6 +34,12 @@
#include <stdlib.h>
#endif
+/* These variables are used by the ASTRDUP implementation that relies
+ on C_alloca. */
+const char *libiberty_optr;
+char *libiberty_nptr;
+unsigned long libiberty_len;
+
/* If your stack is a linked list of frames, you have to
provide an "address metric" ADDRESS_FUNCTION macro. */