summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1998-08-28 16:59:09 +0000
committertv <tv@NetBSD.org>1998-08-28 16:59:09 +0000
commit2ecc177404feef6c8900f19efcc522caa3a17cba (patch)
tree56816b4b761b3e6b6217128e12f86814f11eee48 /gnu
parent5990abf3b1f555d5279282ae8340d9c2fa840619 (diff)
Remove files obsoleted by egcs import of libiberty.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/libiberty/alloca-botch.h5
-rw-r--r--gnu/dist/libiberty/alloca-norm.h23
-rw-r--r--gnu/dist/libiberty/config/mh-a68bsd2
-rw-r--r--gnu/dist/libiberty/config/mh-apollo682
-rw-r--r--gnu/dist/libiberty/config/mh-cygwin322
-rw-r--r--gnu/dist/libiberty/config/mh-go324
-rw-r--r--gnu/dist/libiberty/config/mh-hpbsd2
-rw-r--r--gnu/dist/libiberty/config/mh-irix44
-rw-r--r--gnu/dist/libiberty/config/mh-ncr300019
-rw-r--r--gnu/dist/libiberty/config/mh-riscix6
-rw-r--r--gnu/dist/libiberty/config/mh-sysv1
-rw-r--r--gnu/dist/libiberty/config/mh-sysv43
-rw-r--r--gnu/dist/libiberty/config/mt-sunos42
-rw-r--r--gnu/dist/libiberty/config/mt-vxworks528
-rw-r--r--gnu/dist/libiberty/dummy.c49
-rw-r--r--gnu/dist/libiberty/functions.def69
16 files changed, 0 insertions, 221 deletions
diff --git a/gnu/dist/libiberty/alloca-botch.h b/gnu/dist/libiberty/alloca-botch.h
deleted file mode 100644
index c909573f58c..00000000000
--- a/gnu/dist/libiberty/alloca-botch.h
+++ /dev/null
@@ -1,5 +0,0 @@
-/* RS/6000 AIX botched alloca and requires a pragma, which ordinary compilers
- throw up about, so we have to put it in a specially-configured file.
- Like this one. */
-
-#pragma alloca
diff --git a/gnu/dist/libiberty/alloca-norm.h b/gnu/dist/libiberty/alloca-norm.h
deleted file mode 100644
index 394a6533277..00000000000
--- a/gnu/dist/libiberty/alloca-norm.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* "Normal" configuration for alloca. */
-
-#ifdef __GNUC__
-#define alloca __builtin_alloca
-#else /* ! defined (__GNUC__) */
-#if defined (sparc) && defined (sun)
-#include <alloca.h>
-#ifdef __STDC__
-extern void *__builtin_alloca();
-#else /* ! defined (__STDC__) */
-extern char *__builtin_alloca(); /* Stupid include file doesn't declare it */
-#endif /* ! defined (__STDC__) */
-#else /* ! defined (sparc) || ! defined (sun) */
-#ifdef __STDC__
-PTR alloca (size_t);
-#else /* ! defined (__STDC__) */
-PTR alloca (); /* must agree with functions.def */
-#endif /* ! defined (__STDC__) */
-#endif /* ! defined (sparc) || ! defined (sun) */
-#ifdef _WIN32
-#include <malloc.h>
-#endif
-#endif /* ! defined (__GNUC__) */
diff --git a/gnu/dist/libiberty/config/mh-a68bsd b/gnu/dist/libiberty/config/mh-a68bsd
deleted file mode 100644
index 3c5a237e60b..00000000000
--- a/gnu/dist/libiberty/config/mh-a68bsd
+++ /dev/null
@@ -1,2 +0,0 @@
-RANLIB=ranlib
-CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__
diff --git a/gnu/dist/libiberty/config/mh-apollo68 b/gnu/dist/libiberty/config/mh-apollo68
deleted file mode 100644
index 651770ce31c..00000000000
--- a/gnu/dist/libiberty/config/mh-apollo68
+++ /dev/null
@@ -1,2 +0,0 @@
-RANLIB=true
-CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__
diff --git a/gnu/dist/libiberty/config/mh-cygwin32 b/gnu/dist/libiberty/config/mh-cygwin32
deleted file mode 100644
index 3190a45a97d..00000000000
--- a/gnu/dist/libiberty/config/mh-cygwin32
+++ /dev/null
@@ -1,2 +0,0 @@
-HDEFINES=-DNEED_sys_siglist -DNEED_basename -DNEED_strsignal
-EXTRA_OFILES=vasprintf.o
diff --git a/gnu/dist/libiberty/config/mh-go32 b/gnu/dist/libiberty/config/mh-go32
deleted file mode 100644
index 7c9fe4fa0bf..00000000000
--- a/gnu/dist/libiberty/config/mh-go32
+++ /dev/null
@@ -1,4 +0,0 @@
-HDEFINES=-DHAVE_GETRUSAGE
-CC=i386-go32-gcc -O2 -fno-omit-frame-pointer
-AR=i386-go32-ar
-RANLIB=i386-go32-ranlib
diff --git a/gnu/dist/libiberty/config/mh-hpbsd b/gnu/dist/libiberty/config/mh-hpbsd
deleted file mode 100644
index ce11dcd6ac9..00000000000
--- a/gnu/dist/libiberty/config/mh-hpbsd
+++ /dev/null
@@ -1,2 +0,0 @@
-# HPPA hosts using BSD
-RANLIB=true
diff --git a/gnu/dist/libiberty/config/mh-irix4 b/gnu/dist/libiberty/config/mh-irix4
deleted file mode 100644
index ace76782712..00000000000
--- a/gnu/dist/libiberty/config/mh-irix4
+++ /dev/null
@@ -1,4 +0,0 @@
-CC = cc -cckr
-RANLIB = true
-INSTALL = cp
-EXTRA_OFILES = alloca.o
diff --git a/gnu/dist/libiberty/config/mh-ncr3000 b/gnu/dist/libiberty/config/mh-ncr3000
deleted file mode 100644
index 3a45c22b128..00000000000
--- a/gnu/dist/libiberty/config/mh-ncr3000
+++ /dev/null
@@ -1,19 +0,0 @@
-# Host configuration file for an NCR 3000 (i486/SVR4) system.
-
-# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
-# This compiler not only emits obnoxious copyright messages every time
-# you run it, but it chokes and dies on a whole bunch of GNU source
-# files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
-# Unfortunately though, the AT&T compiler sometimes generates code that
-# the assembler barfs on if -g is used, so disable it by default as well.
-CC = /usr/ccs/ATT/cc
-CFLAGS =
-
-RANLIB = true
-
-# The /usr/ucb/install program is incompatible (complains about unknown
-# group staff). Use good old cp...
-INSTALL = cp
-
-# The l flag generates a warning from the SVR4 archiver, remove it.
-AR_FLAGS = cq
diff --git a/gnu/dist/libiberty/config/mh-riscix b/gnu/dist/libiberty/config/mh-riscix
deleted file mode 100644
index 0209279de56..00000000000
--- a/gnu/dist/libiberty/config/mh-riscix
+++ /dev/null
@@ -1,6 +0,0 @@
-# The native linker only reports the first undefined symbol if linking with a
-# shared library. So build using gcc and link statically (this requires
-# gcc 2.6.0 or above).
-
-ERRORS_CC = gcc
-ERRORS_LDFLAGS = -static
diff --git a/gnu/dist/libiberty/config/mh-sysv b/gnu/dist/libiberty/config/mh-sysv
deleted file mode 100644
index eb102d55010..00000000000
--- a/gnu/dist/libiberty/config/mh-sysv
+++ /dev/null
@@ -1 +0,0 @@
-RANLIB=true
diff --git a/gnu/dist/libiberty/config/mh-sysv4 b/gnu/dist/libiberty/config/mh-sysv4
deleted file mode 100644
index 4d1aa3cd61d..00000000000
--- a/gnu/dist/libiberty/config/mh-sysv4
+++ /dev/null
@@ -1,3 +0,0 @@
-HDEFINES = -DHAVE_SYSCONF
-RANLIB=true
-INSTALL = cp
diff --git a/gnu/dist/libiberty/config/mt-sunos4 b/gnu/dist/libiberty/config/mt-sunos4
deleted file mode 100644
index c25baa6ead6..00000000000
--- a/gnu/dist/libiberty/config/mt-sunos4
+++ /dev/null
@@ -1,2 +0,0 @@
-XTRAFLAGS = -isystem /s1/cygnus/dejagnu/sparc-sun-sunos4.1.3/include/
-LOADLIBES = -L/s1/cygnus/dejagnu/sparc-sun-sunos4.1.3/lib
diff --git a/gnu/dist/libiberty/config/mt-vxworks5 b/gnu/dist/libiberty/config/mt-vxworks5
deleted file mode 100644
index 916d69e5521..00000000000
--- a/gnu/dist/libiberty/config/mt-vxworks5
+++ /dev/null
@@ -1,28 +0,0 @@
-# VxWorks 5.x target Makefile fragment.
-# The autoconfiguration fails for a VxWorks target, because the
-# libraries are actually on the target board, not in the file system.
-# Therefore, we compute the dependencies by hand.
-
-HDEFINES = -DNO_SYS_PARAM_H -DNO_SYS_FILE_H
-CONFIG_H = vxconfig.h
-NEEDED_LIST = vxneeded-list
-
-vxconfig.h: Makefile
- if [ -f ../newlib/Makefile ]; then \
- $(MAKE) $(FLAGS_TO_PASS) xconfig.h; \
- cp xconfig.h vxconfig.h; \
- else \
- echo "#define NEED_sys_nerr 1" >vxconfig.h; \
- echo "#define NEED_sys_errlist 1" >>vxconfig.h; \
- echo "#define NEED_sys_siglist 1" >>vxconfig.h; \
- echo "#define NEED_strsignal 1" >>vxconfig.h; \
- echo "#define NEED_psignal 1" >>vxconfig.h; \
- fi
-
-vxneeded-list: Makefile
- if [ -f ../newlib/Makefile ]; then \
- $(MAKE) $(FLAGS_TO_PASS) xneeded-list; \
- cp xneeded-list vxneeded-list; \
- else \
- echo getopt.o getpagesize.o insque.o random.o strcasecmp.o strncasecmp.o strdup.o vfork.o waitpid.o vasprintf.o >vxneeded-list; \
- fi
diff --git a/gnu/dist/libiberty/dummy.c b/gnu/dist/libiberty/dummy.c
deleted file mode 100644
index 08da647e30e..00000000000
--- a/gnu/dist/libiberty/dummy.c
+++ /dev/null
@@ -1,49 +0,0 @@
-#include <ansidecl.h>
-
-#ifdef __STDC__
-#include <stddef.h>
-#define clock_t unsigned long
-#define DEF(NAME, RETURN_TYPE, ARGLIST, ARGS) extern RETURN_TYPE NAME (ARGS);
-#define DEFFUNC(NAME, RETURN_TYPE, ARGLIST, ARGS) extern RETURN_TYPE NAME (ARGS);
-#else
-#define void int
-#define size_t unsigned long
-#define clock_t unsigned long
-#define DEF(NAME, RETURN_TYPE, ARGLIST, ARGS) extern RETURN_TYPE NAME ();
-#define DEFFUNC(NAME, RETURN_TYPE, ARGLIST, ARGS) extern RETURN_TYPE NAME ();
-#endif
-
-#define DEFVAR(NAME,DECL,USE) extern DECL;
-
-#define NOTHING /*nothing*/
-
-#include "alloca-conf.h"
-#include "functions.def"
-
-/* Always use our: getopt.o getopt1.o obstack.o spaces.o */
-
-int
-main (argc, argv)
- int argc; char **argv;
-{
-
-/* Create a dummy function call for each DEF-defined function. */
-
-#undef DEF
-#undef DEFVAR
-#undef DEFFUNC
-#undef AND
-#define AND = 0;
-/* ARGS expands into a set of declaration. NAME ARG_LIST expands
- info a function call that uses those variables as actual parameters.
- If the function has been DEF'ed correctly, we can pass the right
- number and types of parameters, which is nice. (E.g. gcc may
- otherwise complain about the wrong number of parameters to certain
- builtins.) */
-#define DEF(NAME, RETURN_TYPE, ARG_LIST, ARGS) { ARGS; NAME ARG_LIST; }
-#define DEFVAR(NAME, DECL, USE) { USE; }
-#define DEFFUNC(NAME, RETURN_TYPE, ARG_LIST, ARGS) { ARGS; NAME ARG_LIST; }
-#include "functions.def"
-
- return (0);
-}
diff --git a/gnu/dist/libiberty/functions.def b/gnu/dist/libiberty/functions.def
deleted file mode 100644
index aeed4c69c3b..00000000000
--- a/gnu/dist/libiberty/functions.def
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * List of function definitions that may *optionally* be included
- * in libiberty.a. The function names must match the filenames,
- * e.g. bzero() is defined in bzero.c. (While each file can contain
- * extra functions, do not list them.)
- *
- * In the default libiberty configuration, these object files
- * (e.g bzero.o) are included if and only if cc fails to find
- * the corresponding function in libc.
- */
-
-DEF(atexit, int, (f), void (*f)())
-DEF(bcmp, int, (s1, s2, length), char *s1 AND char *s2 AND int length )
-DEF(bcopy, void, (s1, s2, length), char *s1 AND char *s2 AND int length )
-DEF(bzero, void, (s, length), char *s AND int length)
-DEF(clock, clock_t, (), NOTHING)
-DEF(getopt, int, (argc, argv, optstring),
- int argc AND char **argv AND CONST char *optstring)
-DEF(getpagesize, int , (), NOTHING)
-DEF(getcwd, char*, (buf, len), char *buf AND int len)
-DEF(index, char*, (s, c), char *s AND int c)
-DEF(insque, void, (), NOTHING)
-DEF(memchr, PTR, (s, c, length), CONST PTR s AND int c AND size_t length)
-DEF(memcmp, int, (s1, s2, length),
- CONST PTR s1 AND CONST PTR s2 AND size_t length)
-DEF(memcpy, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)
-DEF(memmove, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)
-DEF(memset, PTR, (s, val, length), PTR s AND int val AND size_t length )
-DEF(random, long int, (), NOTHING)
-DEF(rename, int, (f, t), char *f AND char *t)
-DEF(rindex, char*, (s, c), char *s AND int c)
-DEF(strcasecmp, int, (s1, s2), char *s1 AND char *s2)
-DEF(strncasecmp, int, (s1, s2, n), char *s1 AND char *s2 AND int n)
-DEF(strchr, char*, (s, c), CONST char *s AND int c)
-DEF(strdup, char*, (s1), char * s1)
-DEF(strrchr, char*, (s, c), CONST char *s AND int c)
-DEF(strstr, char*, (), NOTHING)
-DEF(strtod, double, (), NOTHING)
-DEF(strtol, long, (), NOTHING)
-DEF(strtoul, unsigned long, (), NOTHING)
-DEF(tmpnam, char *, (s), char * s)
-DEF(vfork, int, (), NOTHING)
-DEF(vfprintf, int, (), NOTHING)
-DEF(vprintf, int, (), NOTHING)
-DEF(vsprintf, int, (), NOTHING)
-DEF(sigsetmask, int, (), NOTHING)
-DEF(alloca, PTR, (size), size_t size)
-DEF(waitpid, int, (pid, statp, opts), int pid AND int* statp AND int opts )
-DEF(vasprintf, int, (), NOTHING)
-
-/* List of global variables that we want to look for in the host
- environment, and to generate an entry NEED_<variable> in config.h
- if they are not found. The first arg is the variable name, the
- second arg is how to declare the variable, and the third is how to
- use it. */
-
-DEFVAR(sys_nerr, int sys_nerr, sys_nerr = 0)
-DEFVAR(sys_errlist, char *sys_errlist[], sys_errlist[0] = 0)
-DEFVAR(sys_siglist, char *sys_siglist[], sys_siglist[0] = 0)
-
-/* List of global functions that we want to look for in the host
- environment, and to generate an entry NEED_<funcname> in config.h
- if they are not found. */
-
-DEFFUNC(strerror, char*, (), NOTHING)
-DEFFUNC(psignal, void, (signo, message), unsigned signo AND char *message)
-DEFFUNC(basename, char *, (name), CONST char *name)
-DEFFUNC(on_exit, void, (f, arg), void (*f)() AND char *arg)
-DEFFUNC(strsignal, char *, (), NOTHING)