Commit 2d092ffa by Kaveh R. Ghazi Committed by Kaveh Ghazi

configure.in (AC_DECL_SYS_SIGLIST, [...]): Don't use.

        * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
        arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.

        * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
        Delete files.

        * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
        Delete descriptions.

        * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
        m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
        m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
        pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
        xm-svr4.h: Remove all instances of sys_siglist handling.

From-SVN: r31109
parent ce1531ab
1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
* xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
Delete files.
* gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
Delete descriptions.
* i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
xm-svr4.h: Remove all instances of sys_siglist handling.
1999-12-27 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.md (cmp_zero_qi,
......
......@@ -227,9 +227,6 @@
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if `sys_siglist' is declared by <signal.h>. */
#undef SYS_SIGLIST_DECLARED
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
......
/* Configuration for GCC for ARM running NetBSD as host. */
#ifndef SYS_SIGLIST_DECLARED
#define SYS_SIGLIST_DECLARED
#endif
......@@ -3,8 +3,6 @@
#include <stdio.h>
#include "i386/sysv4.h" /* Base i386 target machine definitions */
#define _sys_siglist sys_siglist
extern char *sys_siglist[];
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (i386 OSF/1)");
......
......@@ -20,7 +20,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#define EXECUTABLE_SUFFIX ".exe"
#define NO_SYS_SIGLIST 1
/* Even though Cygwin tries to hide the DOS based filesystem, it
still shows though at times. */
......
......@@ -31,7 +31,6 @@ Boston, MA 02111-1307, USA. */
#define USE_PROTOTYPES 1
#endif
#define NO_SYS_SIGLIST 1
#define environ _environ
/* Even though we support "/", allow "\" since everybody tests both. */
......
......@@ -508,6 +508,5 @@ do { fprintf (asm_out_file, "\ttag\t"); \
/* Definitions for collect2. */
#define OBJECT_FORMAT_COFF
#define NO_SYS_SIGLIST
#define MY_ISCOFF(magic) \
((magic) == MC68KWRMAGIC || (magic) == MC68KROMAGIC || (magic) == MC68KPGMAGIC)
......@@ -64,8 +64,6 @@ crt2.o%s "
/*===================================================================*/
/* Compilation environment -- mostly */
#define NO_SYS_SIGLIST
/* We provide atexit(), A/UX does not have it */
#define NEED_ATEXIT
......
......@@ -40,7 +40,6 @@ Boston, MA 02111-1307, USA. */
#endif
#define OBJECT_FORMAT_COFF
#define NO_SYS_SIGLIST
#ifdef CPP_PREDEFINES
#undef CPP_PREDEFINES
......
......@@ -102,7 +102,6 @@ Boston, MA 02111-1307, USA. */
/***********************************************************************/
#define NM_FLAGS ""
#define NO_SYS_SIGLIST
#define NO_DUP2
#define SIZE_TYPE "int"
......@@ -8,6 +8,3 @@
#ifndef __GNUC__
#define USE_C_ALLOCA
#endif
/* Don't try to use sys_siglist. */
#define NO_SYS_SIGLIST
......@@ -43,7 +43,6 @@ Boston, MA 02111-1307, USA. */
#ifndef USG
#define USG
#endif
#define NO_SYS_SIGLIST
#endif
/* If not compiled with GNU C, use the C alloca */
......
......@@ -10,8 +10,6 @@ CC = $(OLDCC)
OPT =
OLDCC = cc -Olimit 3000 $(OPT)
X_CFLAGS = -DNO_SYS_SIGLIST
# Show we need to use the C version of ALLOCA
# The SVR3 configurations have it, but the SVR4 configurations don't.
# For now, just try using it for all SVR* configurations.
......
/* This file is for the Sony Mips News running "NewsOS Version 5",
which is really System V. */
#include "mips/xm-sysv.h"
/* Sony has a funny name for this symbol. */
#define sys_siglist _sys_siglist
#undef SYS_SIGLIST_DECLARED
#define SYS_SIGLIST_DECLARED
#include "mips/xm-sysv.h"
/* SVR4 provides no sys_siglist,
but does offer the same data under another name. */
#define sys_siglist _sys_siglist
#undef SYS_SIGLIST_DECLARED
#define SYS_SIGLIST_DECLARED
......@@ -47,9 +47,6 @@ extern int errno;
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Don't try to use sys_siglist. */
#define NO_SYS_SIGLIST
/* 4.3BSD, OSF1 and Lites on the PA are all derived from NET2 or
later code from Berkeley. */
#define __BSD_NET2__
......
......@@ -50,9 +50,6 @@ Boston, MA 02111-1307, USA. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Don't try to use sys_siglist. */
#define NO_SYS_SIGLIST
/* HP's compiler has problems with enum bitfields. */
#define ONLY_INT_FIELDS
......
......@@ -47,9 +47,6 @@ extern int errno;
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Don't try to use sys_siglist. */
#define NO_SYS_SIGLIST
/* HP's compiler has problems with enum bitfields. */
#define ONLY_INT_FIELDS
......
......@@ -41,9 +41,6 @@ Boston, MA 02111-1307, USA. */
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Don't try to use sys_siglist. */
#define NO_SYS_SIGLIST
#ifndef MAXPATHLEN
#define MAXPATHLEN 512
#endif
......@@ -41,7 +41,6 @@ Boston, MA 02111-1307, USA. */
#define HAVE_VPRINTF 1
#endif
#define NO_SYS_SIGLIST 1
#define kill(a,b) raise(b)
#define OBJECT_SUFFIX ".obj"
......
......@@ -40,8 +40,6 @@ Boston, MA 02111-1307, USA. */
#define USE_C_ALLOCA 1
#endif
#define NO_SYS_SIGLIST 1
/* Our strategy for finding global constructors is a bit different, although
not a lot. */
#define DO_GLOBAL_CTORS_BODY \
......
/* Some systems provide no sys_siglist, but do offer the same data under
another name. */
#define sys_siglist _sys_siglist
#undef SYS_SIGLIST_DECLARED
#define SYS_SIGLIST_DECLARED
......@@ -21,9 +21,3 @@ Boston, MA 02111-1307, USA. */
#define USG
#define POSIX
/* SVR4 provides no sys_siglist,
but does offer the same data under another name. */
#define sys_siglist _sys_siglist
#undef SYS_SIGLIST_DECLARED
#define SYS_SIGLIST_DECLARED
......@@ -423,8 +423,6 @@ GCC_NEED_DECLARATIONS(getrlimit setrlimit getrusage, [
#endif
])
AC_DECL_SYS_SIGLIST
# mkdir takes a single argument on some systems.
GCC_FUNC_MKDIR_TAKES_ONE_ARG
......@@ -767,7 +765,6 @@ changequote([,])dnl
;;
arm*-*-netbsd*)
tm_file=arm/netbsd.h
xm_file="arm/xm-netbsd.h ${xm_file}"
tmake_file="t-netbsd arm/t-netbsd"
use_collect2=yes
;;
......@@ -1190,7 +1187,7 @@ changequote([,])dnl
changequote(,)dnl
i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
changequote([,])dnl
xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX SMALL_ARG_MAX"
xmake_file=i386/x-ncr3000
if test x$stabs = xyes -a x$gas = xyes
......@@ -1249,7 +1246,7 @@ changequote([,])dnl
changequote(,)dnl
i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
changequote([,])dnl
xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX SMALL_ARG_MAX"
xmake_file=x-svr4
tm_file=i386/ptx4-i.h
......@@ -1500,7 +1497,7 @@ changequote([,])dnl
changequote(,)dnl
i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
changequote([,])dnl
xm_file="xm-siglist.h xm-alloca.h ${xm_file} i386/xm-sco5.h"
xm_file="xm-alloca.h ${xm_file} i386/xm-sco5.h"
xm_defines="USG SVR3"
xmake_file=i386/x-sco5
install_headers_dir=install-headers-cpio
......@@ -1518,7 +1515,7 @@ changequote(,)dnl
i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
changequote([,])dnl
xm_file="${xm_file} i386/xm-sco.h"
xm_defines="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX NO_SYS_SIGLIST"
xm_defines="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX"
xmake_file=i386/x-sco4
install_headers_dir=install-headers-cpio
if test x$stabs = xyes
......@@ -1557,7 +1554,7 @@ changequote([,])dnl
changequote(,)dnl
i[34567]86-*-solaris2*)
changequote([,])dnl
xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX SMALL_ARG_MAX"
tm_file=i386/sol2.h
if test x$gas = xyes; then
......@@ -1584,7 +1581,7 @@ changequote([,])dnl
changequote(,)dnl
i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
changequote([,])dnl
xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX"
tm_file=i386/sysv5.h
if test x$stabs = xyes
......@@ -1601,7 +1598,7 @@ changequote([,])dnl
changequote(,)dnl
i[34567]86-*-sysv4*) # Intel 80386's running system V.4
changequote([,])dnl
xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX SMALL_ARG_MAX"
tm_file=i386/sysv4.h
if test x$stabs = xyes
......@@ -1615,7 +1612,7 @@ changequote([,])dnl
changequote(,)dnl
i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
changequote([,])dnl
xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX"
tm_file=i386/udk.h
tmake_file="i386/t-crtpic i386/t-udk"
......@@ -1719,7 +1716,7 @@ changequote(,)dnl
changequote([,])dnl
tm_file=i386/uwin.h
xm_file="${xm_file} i386/xm-uwin.h"
xm_defines="USG NO_STAB_H NO_SYS_SIGLIST"
xm_defines="USG NO_STAB_H"
tmake_file="i386/t-cygwin i386/t-uwin"
extra_objs=winnt.o
xmake_file=i386/x-cygwin
......@@ -1733,7 +1730,7 @@ changequote(,)dnl
changequote([,])dnl
tm_file="i386/i386-interix.h interix.h"
xm_file="i386/xm-i386-interix.h xm-interix.h"
xm_defines="USG NO_SYS_SIGLIST"
xm_defines="USG"
tmake_file="i386/t-interix"
extra_objs=interix.o
xmake_file=x-interix
......@@ -1765,7 +1762,7 @@ changequote([,])dnl
changequote(,)dnl
i[34567]86-dg-dgux*)
changequote([,])dnl
xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG POSIX"
out_file=i386/dgux.c
tm_file=i386/dgux.h
......@@ -1859,7 +1856,7 @@ changequote([,])dnl
;;
m68000-hp-hpux*) # HP 9000 series 300
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG NO_SYS_SIGLIST"
xm_defines="USG"
if test x$gas = xyes
then
xmake_file=m68k/x-hp320g
......@@ -1964,7 +1961,6 @@ changequote([,])dnl
m68k-motorola-sysv*)
tm_file=m68k/mot3300.h
xm_file="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
xm_defines=NO_SYS_SIGLIST
if test x$gas = xyes
then
xmake_file=m68k/x-mot3300-gas
......@@ -2061,7 +2057,7 @@ changequote([,])dnl
;;
m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG NO_SYS_SIGLIST"
xm_defines="USG"
if test x$gas = xyes
then
xmake_file=m68k/x-hp320g
......@@ -2077,7 +2073,7 @@ changequote([,])dnl
;;
m68k-hp-hpux*) # HP 9000 series 300
xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG NO_SYS_SIGLIST"
xm_defines="USG"
if test x$gas = xyes
then
xmake_file=m68k/x-hp320g
......@@ -2540,7 +2536,6 @@ changequote([,])dnl
;;
mips*-*-linux*) # Linux MIPS, either endian.
xmake_file=x-linux
xm_file="xm-siglist.h ${xm_file}"
case $machine in
mipsel-*) tm_file="mips/elfl.h mips/linux.h" ;;
*) tm_file="mips/elf.h mips/linux.h" ;;
......@@ -2583,7 +2578,6 @@ changequote([,])dnl
if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h"
fi
xm_file="xm-siglist.h ${xm_file}"
xm_defines=USG
if test x$gas = xyes
then
......@@ -2601,7 +2595,6 @@ changequote([,])dnl
if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h"
fi
xm_file="xm-siglist.h ${xm_file}"
xm_defines=USG
xmake_file=mips/x-sysv
if test x$gas = xyes
......@@ -2680,7 +2673,6 @@ changequote([,])dnl
if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h"
fi
xm_file="xm-siglist.h ${xm_file}"
xmake_file=mips/x-sysv
if test x$gas = xyes
then
......@@ -2939,7 +2931,7 @@ changequote([,])dnl
;;
powerpc-*-sysv* | powerpc-*-elf*)
tm_file=rs6000/sysv4.h
xm_file="xm-siglist.h rs6000/xm-sysv4.h"
xm_file="rs6000/xm-sysv4.h"
xm_defines="USG POSIX"
extra_headers=ppc-asm.h
if test x$gas = xyes
......@@ -2999,7 +2991,7 @@ changequote([,])dnl
;;
powerpc-*-linux-gnu*)
tm_file=rs6000/linux.h
xm_file="xm-siglist.h rs6000/xm-sysv4.h"
xm_file="rs6000/xm-sysv4.h"
xm_defines="USG ${xm_defines}"
out_file=rs6000/rs6000.c
if test x$gas = xyes
......@@ -3017,7 +3009,7 @@ changequote([,])dnl
;;
powerpc-wrs-vxworks*)
cpu_type=rs6000
xm_file="xm-siglist.h rs6000/xm-sysv4.h"
xm_file="rs6000/xm-sysv4.h"
xm_defines="USG POSIX"
tm_file=rs6000/vxppc.h
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
......@@ -3026,7 +3018,7 @@ changequote([,])dnl
;;
powerpcle-*-sysv* | powerpcle-*-elf*)
tm_file=rs6000/sysv4le.h
xm_file="xm-siglist.h rs6000/xm-sysv4.h"
xm_file="rs6000/xm-sysv4.h"
xm_defines="USG POSIX"
if test x$gas = xyes
then
......@@ -3075,7 +3067,7 @@ changequote([,])dnl
;;
powerpcle-*-solaris2*)
tm_file=rs6000/sol2.h
xm_file="xm-siglist.h rs6000/xm-sysv4.h"
xm_file="rs6000/xm-sysv4.h"
xm_defines="USG POSIX"
if test x$gas = xyes
then
......@@ -3303,7 +3295,7 @@ changequote([,])dnl
fi
;;
sparc-hal-solaris2*)
xm_file="xm-siglist.h sparc/xm-sysv4.h sparc/xm-sol2.h"
xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
xm_defines="USG POSIX"
tm_file="sparc/sol2.h sparc/hal.h"
tmake_file="sparc/t-halos sparc/t-sol2"
......@@ -3326,7 +3318,7 @@ changequote([,])dnl
else
tm_file=sparc/sol2-sld.h
fi
xm_file="xm-siglist.h sparc/xm-sysv4.h sparc/xm-sol2.h"
xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
xm_defines="USG POSIX"
tmake_file=sparc/t-sol2
xmake_file=sparc/x-sysv4
......@@ -3388,14 +3380,14 @@ changequote([,])dnl
;;
sparc-*-sysv4*)
tm_file=sparc/sysv4.h
xm_file="xm-siglist.h sparc/xm-sysv4.h"
xm_file="sparc/xm-sysv4.h"
xm_defines="USG POSIX"
tmake_file=t-svr4
xmake_file=sparc/x-sysv4
extra_parts="crtbegin.o crtend.o"
;;
sparc-*-vxsim*)
xm_file="xm-siglist.h sparc/xm-sysv4.h sparc/xm-sol2.h"
xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
xm_defines="USG POSIX"
tm_file=sparc/vxsim.h
tmake_file=sparc/t-vxsparc
......
......@@ -3773,24 +3773,6 @@ characters.
@item POSIX
Define this if your system is POSIX.1 compliant.
@findex NO_SYS_SIGLIST
@item NO_SYS_SIGLIST
Define this if your system @emph{does not} provide the variable
@code{sys_siglist}.
@vindex sys_siglist
Some systems do provide this variable, but with a different name such
as @code{_sys_siglist}. On these systems, you can define
@code{sys_siglist} as a macro which expands into the name actually
provided.
Autoconf normally defines @code{SYS_SIGLIST_DECLARED} when it finds a
declaration of @code{sys_siglist} in the system header files.
However, when you define @code{sys_siglist} to a different name
autoconf will not automatically define @code{SYS_SIGLIST_DECLARED}.
Therefore, if you define @code{sys_siglist}, you should also define
@code{SYS_SIGLIST_DECLARED}.
@findex USE_PROTOTYPES
@item USE_PROTOTYPES
Define this to be 1 if you know that the host compiler supports
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment