diff options
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/386bsd.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/beos-elf.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/cygwin.asm | 2 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 7 | ||||
-rw-r--r-- | gcc/config/i386/linux-aout.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/linux-oldld.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/linux.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/mach.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/netbsd.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/openbsd.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/osfrose.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/perform.h | 98 | ||||
-rw-r--r-- | gcc/config/i386/rtemself.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/t-beos | 4 | ||||
-rw-r--r-- | gcc/config/i386/t-cygwin | 2 | ||||
-rw-r--r-- | gcc/config/i386/t-djgpp | 2 | ||||
-rw-r--r-- | gcc/config/i386/t-i386bare | 3 | ||||
-rw-r--r-- | gcc/config/i386/t-i386elf | 3 | ||||
-rw-r--r-- | gcc/config/i386/t-interix | 7 | ||||
-rw-r--r-- | gcc/config/i386/t-netware | 3 | ||||
-rw-r--r-- | gcc/config/i386/t-next | 4 | ||||
-rw-r--r-- | gcc/config/i386/t-rtems-i386 | 3 | ||||
-rw-r--r-- | gcc/config/i386/t-sol2 | 6 | ||||
-rw-r--r-- | gcc/config/i386/t-vsta | 2 | ||||
-rw-r--r-- | gcc/config/i386/uwin.asm | 2 |
25 files changed, 2 insertions, 176 deletions
diff --git a/gcc/config/i386/386bsd.h b/gcc/config/i386/386bsd.h index f38f730b29c..84d17940ab5 100644 --- a/gcc/config/i386/386bsd.h +++ b/gcc/config/i386/386bsd.h @@ -5,9 +5,6 @@ #include "i386/gstabs.h" -/* Get perform_* macros to build libgcc.a. */ -#include "i386/perform.h" - #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dunix -D____386BSD____ -D__386BSD__ -DBSD_NET2 -Asystem=unix -Asystem=bsd" diff --git a/gcc/config/i386/beos-elf.h b/gcc/config/i386/beos-elf.h index 2ed31de53ad..be948a3759c 100644 --- a/gcc/config/i386/beos-elf.h +++ b/gcc/config/i386/beos-elf.h @@ -134,9 +134,6 @@ Boston, MA 02111-1307, USA. */ #undef ENDFILE_SPEC #define ENDFILE_SPEC "crtend.o%s crtn.o%s" -/* Get perform_* macros to build libgcc.a. */ -#include "i386/perform.h" - /* A C statement (sans semicolon) to output to the stdio stream FILE the assembler definition of uninitialized global DECL named NAME whose size is SIZE bytes and alignment is ALIGN bytes. diff --git a/gcc/config/i386/cygwin.asm b/gcc/config/i386/cygwin.asm index 4ac4c91a3b1..656c1128eae 100644 --- a/gcc/config/i386/cygwin.asm +++ b/gcc/config/i386/cygwin.asm @@ -1,4 +1,4 @@ -/* stuff needed for libgcc1 on win32. */ +/* stuff needed for libgcc on win32. */ #ifdef L_chkstk diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 6a229b7a8ad..d751fc7b087 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -3064,13 +3064,6 @@ do { long l; \ } \ } while (0) -/* Routines in libgcc that return floats must return them in an fp reg, - just as other functions do which return such values. - These macros make that happen. */ - -#define FLOAT_VALUE_TYPE float -#define INTIFY(FLOATVAL) FLOATVAL - /* a letter which is not needed by the normal asm syntax, which we can use for operand syntax in the extended asm */ diff --git a/gcc/config/i386/linux-aout.h b/gcc/config/i386/linux-aout.h index b21980898f9..302ee69a32a 100644 --- a/gcc/config/i386/linux-aout.h +++ b/gcc/config/i386/linux-aout.h @@ -69,6 +69,3 @@ Boston, MA 02111-1307, USA. */ #undef LINK_SPEC #define LINK_SPEC "-m i386linux" - -/* Get perform_* macros to build libgcc.a. */ -#include "i386/perform.h" diff --git a/gcc/config/i386/linux-oldld.h b/gcc/config/i386/linux-oldld.h index 8a837370414..6102aa8cd9f 100644 --- a/gcc/config/i386/linux-oldld.h +++ b/gcc/config/i386/linux-oldld.h @@ -70,6 +70,3 @@ Boston, MA 02111-1307, USA. */ #undef LINK_SPEC #define LINK_SPEC "" - -/* Get perform_* macros to build libgcc.a. */ -#include <i386/perform.h> diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index 0ec749d972c..a93955092f2 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -143,9 +143,6 @@ Boston, MA 02111-1307, USA. */ %{static:-static}}}" #endif -/* Get perform_* macros to build libgcc.a. */ -#include "i386/perform.h" - /* A C statement (sans semicolon) to output to the stdio stream FILE the assembler definition of uninitialized global DECL named NAME whose size is SIZE bytes and alignment is ALIGN bytes. diff --git a/gcc/config/i386/mach.h b/gcc/config/i386/mach.h index 2ec9f295841..7e2b1cc267d 100644 --- a/gcc/config/i386/mach.h +++ b/gcc/config/i386/mach.h @@ -6,9 +6,6 @@ #include "i386/gstabs.h" -/* Get perform_* macros to build libgcc.a. */ -#include "i386/perform.h" - #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dunix -DMACH -Asystem=unix -Asystem=mach" diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h index 3b5bf9c3e9d..1a2c57c46a8 100644 --- a/gcc/config/i386/netbsd.h +++ b/gcc/config/i386/netbsd.h @@ -3,9 +3,6 @@ #include <i386/gstabs.h> -/* Get perform_* macros to build libgcc.a. */ -#include <i386/perform.h> - /* Get generic NetBSD definitions. */ #include <netbsd.h> diff --git a/gcc/config/i386/openbsd.h b/gcc/config/i386/openbsd.h index b24a94cdc19..e82166e7125 100644 --- a/gcc/config/i386/openbsd.h +++ b/gcc/config/i386/openbsd.h @@ -23,9 +23,6 @@ Boston, MA 02111-1307, USA. */ #include <i386/gstabs.h> -/* Get perform_* macros to build libgcc.a. */ -#include <i386/perform.h> - /* Get generic OpenBSD definitions. */ #define OBSD_OLD_GAS #include <openbsd.h> diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h index 138ef67688b..3385d7a5c17 100644 --- a/gcc/config/i386/osfrose.h +++ b/gcc/config/i386/osfrose.h @@ -23,9 +23,6 @@ Boston, MA 02111-1307, USA. */ #include "halfpic.h" #include "i386/gstabs.h" -/* Get perform_* macros to build libgcc.a. */ -#include "i386/perform.h" - #define OSF_OS #undef WORD_SWITCH_TAKES_ARG diff --git a/gcc/config/i386/perform.h b/gcc/config/i386/perform.h deleted file mode 100644 index 8d6d0b71dfe..00000000000 --- a/gcc/config/i386/perform.h +++ /dev/null @@ -1,98 +0,0 @@ -/* Definitions for AT&T assembler syntax for the Intel 80386. - Copyright (C) 1993 Free Software Foundation, Inc. - -This file is part of GNU CC. - -GNU CC is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU CC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* Defines to be able to build libgcc.a with GCC. */ - -/* It might seem that these are not important, since gcc 2 will never - call libgcc for these functions. But programs might be linked with - code compiled by gcc 1, and then these will be used. */ - -/* The arg names used to be a and b, but `a' appears inside strings - and that confuses non-ANSI cpp. */ - -#define perform_udivsi3(arg0,arg1) \ -{ \ - register int dx asm("dx"); \ - register int ax asm("ax"); \ - \ - dx = 0; \ - ax = arg0; \ - asm ("divl %3" : "=a" (ax), "=d" (dx) : "a" (ax), "g" (arg1), "d" (dx)); \ - return ax; \ -} - -#define perform_divsi3(arg0,arg1) \ -{ \ - register int dx asm("dx"); \ - register int ax asm("ax"); \ - register int cx asm("cx"); \ - \ - ax = arg0; \ - cx = arg1; \ - asm ("cltd\n\tidivl %3" : "=a" (ax), "=&d" (dx) : "a" (ax), "c" (cx)); \ - return ax; \ -} - -#define perform_umodsi3(arg0,arg1) \ -{ \ - register int dx asm("dx"); \ - register int ax asm("ax"); \ - \ - dx = 0; \ - ax = arg0; \ - asm ("divl %3" : "=a" (ax), "=d" (dx) : "a" (ax), "g" (arg1), "d" (dx)); \ - return dx; \ -} - -#define perform_modsi3(arg0,arg1) \ -{ \ - register int dx asm("dx"); \ - register int ax asm("ax"); \ - register int cx asm("cx"); \ - \ - ax = arg0; \ - cx = arg1; \ - asm ("cltd\n\tidivl %3" : "=a" (ax), "=&d" (dx) : "a" (ax), "c" (cx)); \ - return dx; \ -} - -#define perform_fixdfsi(arg0) \ -{ \ - auto unsigned short ostatus; \ - auto unsigned short nstatus; \ - auto int ret; \ - auto double tmp; \ - \ - &ostatus; /* guarantee these land in memory */ \ - &nstatus; \ - &ret; \ - &tmp; \ - \ - asm volatile ("fnstcw %0" : "=m" (ostatus)); \ - nstatus = ostatus | 0x0c00; \ - asm volatile ("fldcw %0" : /* no outputs */ : "m" (nstatus)); \ - tmp = arg0; \ - asm volatile ("fldl %0" : /* no outputs */ : "m" (tmp)); \ - asm volatile ("fistpl %0" : "=m" (ret)); \ - asm volatile ("fldcw %0" : /* no outputs */ : "m" (ostatus)); \ - \ - return ret; \ -} - diff --git a/gcc/config/i386/rtemself.h b/gcc/config/i386/rtemself.h index 7844007ebab..003f248fb05 100644 --- a/gcc/config/i386/rtemself.h +++ b/gcc/config/i386/rtemself.h @@ -86,9 +86,6 @@ Boston, MA 02111-1307, USA. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Drtems -D__rtems__ -Asystem=rtems" -/* Get perform_* macros to build libgcc.a. */ -#include "i386/perform.h" - /* A C statement (sans semicolon) to output to the stdio stream FILE the assembler definition of uninitialized global DECL named NAME whose size is SIZE bytes and alignment is ALIGN bytes. diff --git a/gcc/config/i386/t-beos b/gcc/config/i386/t-beos index f63e2d4e1b5..b5c8ec20871 100644 --- a/gcc/config/i386/t-beos +++ b/gcc/config/i386/t-beos @@ -1,7 +1,3 @@ -# Do not build libgcc1. -LIBGCC1 = -CROSS_LIBGCC1 = - # There are system headers elsewhere, but these are the ones that # we are most likely to want to apply any fixes to. SYSTEM_HEADER_DIR = /boot/develop/headers/posix diff --git a/gcc/config/i386/t-cygwin b/gcc/config/i386/t-cygwin index 1909f154308..360faca79fa 100644 --- a/gcc/config/i386/t-cygwin +++ b/gcc/config/i386/t-cygwin @@ -1,5 +1,3 @@ -LIBGCC1 = libgcc1-asm.a -CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = i386/cygwin.asm LIB1ASMFUNCS = _chkstk diff --git a/gcc/config/i386/t-djgpp b/gcc/config/i386/t-djgpp deleted file mode 100644 index 6160b7ec945..00000000000 --- a/gcc/config/i386/t-djgpp +++ /dev/null @@ -1,2 +0,0 @@ -LIBGCC1 = libgcc1.null -CROSS_LIBGCC1 = libgcc1.null diff --git a/gcc/config/i386/t-i386bare b/gcc/config/i386/t-i386bare deleted file mode 100644 index 2970fa71415..00000000000 --- a/gcc/config/i386/t-i386bare +++ /dev/null @@ -1,3 +0,0 @@ -# The i386 md has all of these taken care of, according to sef. -LIBGCC1 = -CROSS_LIBGCC1 = diff --git a/gcc/config/i386/t-i386elf b/gcc/config/i386/t-i386elf index 405976dcb91..9560d905521 100644 --- a/gcc/config/i386/t-i386elf +++ b/gcc/config/i386/t-i386elf @@ -1,6 +1,3 @@ -LIBGCC1 = libgcc1.null -CROSS_LIBGCC1 = libgcc1.null - # For svr4 we build crtbegin.o and crtend.o which serve to add begin and # end labels to the .ctors and .dtors section when we link using gcc. diff --git a/gcc/config/i386/t-interix b/gcc/config/i386/t-interix index 4c6d84f1b39..2c883b127fa 100644 --- a/gcc/config/i386/t-interix +++ b/gcc/config/i386/t-interix @@ -1,7 +1,3 @@ -# t-interix -LIBGCC1 = libgcc1-asm.a -CROSS_LIBGCC1 = libgcc1-asm.a - LIB1ASMSRC = i386/cygwin.asm LIB1ASMFUNCS = _chkstk @@ -11,6 +7,3 @@ interix.o: $(srcdir)/config/i386/interix.c # System headers will track gcc's needs. # Even LANG_EXTRA_HEADERS may be temporary. USER_H=$(LANG_EXTRA_HEADERS) - -# We don't want this one either. -INSTALL_ASSERT_H= diff --git a/gcc/config/i386/t-netware b/gcc/config/i386/t-netware index 68fe92fe9d4..66ba228551f 100644 --- a/gcc/config/i386/t-netware +++ b/gcc/config/i386/t-netware @@ -1,5 +1,2 @@ -LIBGCC1 = libgcc1.null -CROSS_LIBGCC1 = libgcc1.null - # Our header files are supposed to be correct, nein? STMP_FIXPROTO = diff --git a/gcc/config/i386/t-next b/gcc/config/i386/t-next index effa6953b9a..4b70ba78ae0 100644 --- a/gcc/config/i386/t-next +++ b/gcc/config/i386/t-next @@ -1,7 +1,3 @@ -# libgcc1.c is not needed, since the standard library has these functions. -LIBGCC1=libgcc1.null -CROSS_LIBGCC1=libgcc1.null - # Specify other dirs of system header files to be fixed. OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers diff --git a/gcc/config/i386/t-rtems-i386 b/gcc/config/i386/t-rtems-i386 index d112e2e7e2d..d301ed96d5f 100644 --- a/gcc/config/i386/t-rtems-i386 +++ b/gcc/config/i386/t-rtems-i386 @@ -5,9 +5,6 @@ # version of these files. # -LIBGCC1 = -CROSS_LIBGCC1 = - crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES) sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s $(GCC_FOR_TARGET) -c -o crti.o crti.s diff --git a/gcc/config/i386/t-sol2 b/gcc/config/i386/t-sol2 index 5dc59cc375e..5d7522c3dab 100644 --- a/gcc/config/i386/t-sol2 +++ b/gcc/config/i386/t-sol2 @@ -1,9 +1,3 @@ -# we need to supply our own assembly versions of libgcc1.c files, -# since the user may not have native 'cc' available - -LIBGCC1 = libgcc1.null -CROSS_LIBGCC1 = libgcc1.null - # gmon build rule: gmon.o: $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H) $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \ diff --git a/gcc/config/i386/t-vsta b/gcc/config/i386/t-vsta deleted file mode 100644 index 6160b7ec945..00000000000 --- a/gcc/config/i386/t-vsta +++ /dev/null @@ -1,2 +0,0 @@ -LIBGCC1 = libgcc1.null -CROSS_LIBGCC1 = libgcc1.null diff --git a/gcc/config/i386/uwin.asm b/gcc/config/i386/uwin.asm index 6268343f4c0..0ae6b267316 100644 --- a/gcc/config/i386/uwin.asm +++ b/gcc/config/i386/uwin.asm @@ -1,4 +1,4 @@ -/* stuff needed for libgcc1 on win32. */ +/* stuff needed for libgcc on win32. */ #ifdef L_chkstk |