summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-11-25 21:19:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-11-25 21:19:24 +0000
commit8e49f287b3b4e164dc19787bd546c5388ea445a2 (patch)
tree7cc8c40bcff161f5807a608d8eb8dc3413d1f06a /gnu
parentc82182a02918a1da623400d7212c6d062516b506 (diff)
extra file mangled by cvs.
kill files that no longer exist.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libiberty/src/alloca-conf.h24
-rw-r--r--gnu/lib/libiberty/src/config/mh-beos7
-rw-r--r--gnu/lib/libiberty/src/configure.bat14
-rw-r--r--gnu/lib/libiberty/src/getcwd.c6
-rw-r--r--gnu/lib/libiberty/src/makefile.dos29
-rw-r--r--gnu/lib/libiberty/src/testsuite/regress-demangle28
6 files changed, 6 insertions, 102 deletions
diff --git a/gnu/lib/libiberty/src/alloca-conf.h b/gnu/lib/libiberty/src/alloca-conf.h
deleted file mode 100644
index 9c3eea396c1..00000000000
--- a/gnu/lib/libiberty/src/alloca-conf.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "config.h"
-
-#if defined(__GNUC__) && !defined(C_ALLOCA)
-# ifndef alloca
-# define alloca __builtin_alloca
-# endif
-#else /* ! defined (__GNUC__) */
-# ifdef _AIX
- #pragma alloca
-# else
-# if defined(HAVE_ALLOCA_H) && !defined(C_ALLOCA)
-# include <alloca.h>
-# else /* ! defined (HAVE_ALLOCA_H) */
-# ifdef __STDC__
-extern PTR alloca (size_t);
-# else /* ! defined (__STDC__) */
-extern PTR alloca ();
-# endif /* ! defined (__STDC__) */
-# endif /* ! defined (HAVE_ALLOCA_H) */
-# ifdef _WIN32
-# include <malloc.h>
-# endif
-# endif /* ! defined (_AIX) */
-#endif /* ! defined (__GNUC__) */
diff --git a/gnu/lib/libiberty/src/config/mh-beos b/gnu/lib/libiberty/src/config/mh-beos
deleted file mode 100644
index 9b75e7d3372..00000000000
--- a/gnu/lib/libiberty/src/config/mh-beos
+++ /dev/null
@@ -1,7 +0,0 @@
-# Host makefile fragment for BeOS
-
-# This is a temporary hack until the wimpy default 64k stack
-# limit in BeOS is either increased or made user settable somehow.
-# This probably won't happen until after the DR9 release.
-
-EXTRA_OFILES = alloca.o
diff --git a/gnu/lib/libiberty/src/configure.bat b/gnu/lib/libiberty/src/configure.bat
deleted file mode 100644
index 18881ac2f75..00000000000
--- a/gnu/lib/libiberty/src/configure.bat
+++ /dev/null
@@ -1,14 +0,0 @@
-@echo off
-if "%1" == "h8/300" goto h8300
-
-echo Configuring libiberty for go32
-copy Makefile.dos Makefile
-echo #define NEED_sys_siglist 1 >> config.h
-echo #define NEED_psignal 1 >> config.h
-goto exit
-
-:h8300
-echo Configuring libiberty for H8/300
-copy Makefile.dos Makefile
-
-:exit
diff --git a/gnu/lib/libiberty/src/getcwd.c b/gnu/lib/libiberty/src/getcwd.c
index 9ffa8009e4e..465b4e0b2aa 100644
--- a/gnu/lib/libiberty/src/getcwd.c
+++ b/gnu/lib/libiberty/src/getcwd.c
@@ -23,6 +23,12 @@ directory's path doesn't fit in @var{len} characters, the result is
#include <sys/param.h>
#endif
#include <errno.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
extern char *getwd ();
extern int errno;
diff --git a/gnu/lib/libiberty/src/makefile.dos b/gnu/lib/libiberty/src/makefile.dos
deleted file mode 100644
index 7eba62c3395..00000000000
--- a/gnu/lib/libiberty/src/makefile.dos
+++ /dev/null
@@ -1,29 +0,0 @@
-CFLAGS=-O2
-
-OBJS = \
- argv.o \
- basename.o \
- concat.o \
- cplus-dem.o \
- fdmatch.o \
- floatformat.o \
- getopt.o \
- getopt1.o \
- getruntime.o \
- hex.o \
- msdos.o \
- obstack.o \
- spaces.o \
- strerror.o \
- strsignal.o \
- xatexit.o \
- xexit.o \
- xmalloc.o \
- $E
-
-.c.o:
- gcc -I../include $(CFLAGS) -c $<
-
-libiberty.a : $(OBJS)
- -rm libiberty.a
- ar rvs libiberty.a $(OBJS)
diff --git a/gnu/lib/libiberty/src/testsuite/regress-demangle b/gnu/lib/libiberty/src/testsuite/regress-demangle
deleted file mode 100644
index bd48ce9013e..00000000000
--- a/gnu/lib/libiberty/src/testsuite/regress-demangle
+++ /dev/null
@@ -1,28 +0,0 @@
-#! /bin/sh
-
-# Run a regression test for the demangler.
-# Usage: regress-demangle TEST-FILE
-
-failures=0
-count=0
-sed -e '/^#/ d' "$1" | (
- while read type; do
- read mangled
- read demangled
-
- x="`echo $mangled | ./test-filter $type`"
- count=`expr $count + 1`
- if test "x$x" != "x$demangled"; then
- failures=`expr $failures + 1`
- echo "FAIL: $type $mangled"
- fi
- done
-
- if test $failures -eq 0; then
- echo "All $count tests passed"
- else
- echo "$failures of $count tests failed"
- fi
-
- test $failures -eq 0
-)