aboutsummaryrefslogtreecommitdiff
path: root/libiberty/alloca.c
diff options
context:
space:
mode:
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 bf105d8..822c1dc 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. */