aboutsummaryrefslogtreecommitdiff
path: root/libiberty/alloca.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-17 23:11:04 +0000
committerDJ Delorie <dj@redhat.com>2001-09-17 23:11:04 +0000
commit54c2024269888296cec6c81cd15caf2dec71bb84 (patch)
tree3cb14374f0cf07150204a558c4b24955e578c85f /libiberty/alloca.c
parent739d0d99b33332323e03c11f9fc03a5c499199c6 (diff)
downloadfsf-binutils-gdb-54c2024269888296cec6c81cd15caf2dec71bb84.zip
fsf-binutils-gdb-54c2024269888296cec6c81cd15caf2dec71bb84.tar.gz
fsf-binutils-gdb-54c2024269888296cec6c81cd15caf2dec71bb84.tar.bz2
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 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. */