Remove files obsoleted by egcs import of libiberty.

This commit is contained in:
tv 1998-08-28 16:59:09 +00:00
parent 5990abf3b1
commit 2ecc177404
16 changed files with 0 additions and 221 deletions

View File

@ -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

View File

@ -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__) */

View File

@ -1,2 +0,0 @@
RANLIB=ranlib
CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__

View File

@ -1,2 +0,0 @@
RANLIB=true
CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__

View File

@ -1,2 +0,0 @@
HDEFINES=-DNEED_sys_siglist -DNEED_basename -DNEED_strsignal
EXTRA_OFILES=vasprintf.o

View File

@ -1,4 +0,0 @@
HDEFINES=-DHAVE_GETRUSAGE
CC=i386-go32-gcc -O2 -fno-omit-frame-pointer
AR=i386-go32-ar
RANLIB=i386-go32-ranlib

View File

@ -1,2 +0,0 @@
# HPPA hosts using BSD
RANLIB=true

View File

@ -1,4 +0,0 @@
CC = cc -cckr
RANLIB = true
INSTALL = cp
EXTRA_OFILES = alloca.o

View File

@ -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

View File

@ -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

View File

@ -1 +0,0 @@
RANLIB=true

View File

@ -1,3 +0,0 @@
HDEFINES = -DHAVE_SYSCONF
RANLIB=true
INSTALL = cp

View File

@ -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

View File

@ -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

View File

@ -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);
}

View File

@ -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)