]> gcc.gnu.org Git - gcc.git/commitdiff
config.gcc (i386-dg-dgux, [...]): Include as many configury headers via tm_file as...
authorDavid O'Brien <obrien@FreeBSD.org>
Wed, 3 Apr 2002 03:49:19 +0000 (03:49 +0000)
committerDavid O'Brien <obrien@gcc.gnu.org>
Wed, 3 Apr 2002 03:49:19 +0000 (03:49 +0000)
2002-04-02  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
Include as many configury headers via tm_file as possible.  This
includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
* config/openbsd-oldgas.h: New file.
* config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
config/i386/i386-coff.h, config/i386/i386-interix.h,
config/i386/iscdbx.h, config/i386/linux-aout.h,
config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
config/i386/vxi386.h: Do not directly include configury headers.
* config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
Directly include configury headers that are no longer automatically
included by the above headers.
* config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
* config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
(TARGET_VERSION): Define.
* config/i386/beos-elf.h, config/i386/freebsd.h,
config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
config/i386/sco5.h, config/i386/sysv4.h
(TARGET_VERSION): Do not need to protect.
* config/i386/freebsd64.h (TARGET_VERSION): Fix style.
* config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
config/i386/freebsd-aout.h, config/i386/i386-aout.h,
config/i386/i386-interix.h, config/i386/linux-aout.h,
config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
(YES_UNDERSCORES): Do not define - not needed.
* config/i386/bsd.h, config/i386/gas.h (LPREFIX,
ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
* config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
(LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
* config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
* config/i386/isccoff.h, config/i386/v3gas.h: Remove.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020402190415.D29320@redhat.com>

From-SVN: r51791

54 files changed:
gcc/ChangeLog
gcc/config.gcc
gcc/config/i386/386bsd.h
gcc/config/i386/aix386ng.h
gcc/config/i386/att.h
gcc/config/i386/beos-elf.h
gcc/config/i386/bsd.h
gcc/config/i386/cygwin.h
gcc/config/i386/djgpp.h
gcc/config/i386/freebsd-aout.h
gcc/config/i386/freebsd.h
gcc/config/i386/freebsd64.h
gcc/config/i386/gas.h
gcc/config/i386/gstabs.h
gcc/config/i386/i386-aout.h
gcc/config/i386/i386-coff.h
gcc/config/i386/i386-interix.h
gcc/config/i386/i386elf.h
gcc/config/i386/isc.h
gcc/config/i386/isccoff.h [deleted file]
gcc/config/i386/iscdbx.h
gcc/config/i386/linux-aout.h
gcc/config/i386/linux-oldld.h
gcc/config/i386/linux.h
gcc/config/i386/linux64.h
gcc/config/i386/lynx-ng.h
gcc/config/i386/lynx.h
gcc/config/i386/mach.h
gcc/config/i386/netbsd-elf.h
gcc/config/i386/netbsd.h
gcc/config/i386/netbsd64.h
gcc/config/i386/next.h
gcc/config/i386/openbsd.h
gcc/config/i386/osfelf.h
gcc/config/i386/osfrose.h
gcc/config/i386/ptx4-i.h
gcc/config/i386/rtems.h
gcc/config/i386/sco5.h
gcc/config/i386/seq-gas.h
gcc/config/i386/seq-sysv3.h
gcc/config/i386/seq2-sysv3.h
gcc/config/i386/sequent.h
gcc/config/i386/sun.h
gcc/config/i386/sun386.h
gcc/config/i386/svr3dbx.h
gcc/config/i386/svr3gas.h
gcc/config/i386/sysv3.h
gcc/config/i386/sysv4.h
gcc/config/i386/uwin.h
gcc/config/i386/v3gas.h [deleted file]
gcc/config/i386/vsta.h
gcc/config/i386/vxi386.h
gcc/config/i386/win32.h
gcc/config/openbsd-oldgas.h [new file with mode: 0644]

index a8346bdca7774c950989c8f48486edb6aeb3bea4..6860dd50fd42bb85f8229564bdb51e246362523a 100644 (file)
@@ -1,3 +1,68 @@
+2002-04-02  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
+       i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
+       i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
+       i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
+       i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
+       i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
+       i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
+       i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
+       i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
+       i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
+       i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
+       i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
+       i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
+       i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
+       Include as many configury headers via tm_file as possible.  This
+       includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
+       * config/openbsd-oldgas.h: New file.
+       * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
+       config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
+       config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
+       config/i386/i386-coff.h, config/i386/i386-interix.h,
+       config/i386/iscdbx.h, config/i386/linux-aout.h,
+       config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
+       config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
+       config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
+       config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
+       config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
+       config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
+       config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
+       config/i386/vxi386.h: Do not directly include configury headers.
+       * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
+       Directly include configury headers that are no longer automatically
+       included by the above headers.
+       * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
+       * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
+       config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
+       config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
+       config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
+       config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
+       config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
+       (TARGET_VERSION): Define.
+       * config/i386/beos-elf.h, config/i386/freebsd.h,
+       config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
+       config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
+       config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
+       config/i386/sco5.h, config/i386/sysv4.h
+       (TARGET_VERSION): Do not need to protect.
+       * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
+       * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
+       config/i386/freebsd-aout.h, config/i386/i386-aout.h,
+       config/i386/i386-interix.h, config/i386/linux-aout.h,
+       config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
+       config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
+       (YES_UNDERSCORES): Do not define - not needed.
+       * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
+       ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
+       USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
+       * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
+       (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
+       USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
+       * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
+       * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
+
 2002-04-02  Eric Botcazou  <ebotcazou@multimania.com>
            Richard Henderson  <rth@redhat.com>
 
index 80aed452d93300f211e666beb2fdfa9168d4c4e0..6ce8daa839d9a1f1a5ffc94d7f1beb9ad6342e20 100644 (file)
@@ -309,7 +309,7 @@ case $machine in
        tmake_file="t-slibgcc-elf-ver t-linux t-gnu"
        case $machine in
        i[34567]86-*-*)
-               tm_file="${cpu_type}/${cpu_type}.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h gnu.h ${tm_file}"
+               tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h gnu.h ${tm_file}"
                ;;
        esac
        ;;
@@ -1038,7 +1038,7 @@ i370-*-linux*)
        ;;
 i[34567]86-*-chorusos*)
        xm_defines=POSIX
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h i386/i386elf.h chorus.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h chorus.h"
        tmake_file="i386/t-i386elf t-svr4"
        case x${enable_threads} in
          xyes | xpthreads | xposix)
@@ -1048,17 +1048,17 @@ i[34567]86-*-chorusos*)
        ;;
 i[34567]86-*-elf*)
        xm_defines=POSIX
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h i386/i386elf.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"
        tmake_file="i386/t-i386elf t-svr4"
        ;;
 i[34567]86-ibm-aix*)           # IBM PS/2 running AIX
         if test x$gas = xyes
        then
-               tm_file=i386/aix386.h
+               tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/aix386.h"
                extra_parts="crtbegin.o crtend.o"
                tmake_file=i386/t-crtstuff
        else
-               tm_file=i386/aix386ng.h
+               tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/aix386ng.h"
                use_collect2=yes
        fi
        xm_defines=POSIX
@@ -1069,14 +1069,14 @@ i[34567]86-ncr-sysv4*)          # NCR 3000 - ix86 running system V.4
        then
                tm_file=i386/sysv4gdb.h
        else
-               tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h"
+               tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h"
        fi
        extra_parts="crtbegin.o crtend.o"
        tmake_file=i386/t-crtpic
        ;;
 i[34567]86-next-*)
        tm_p_file="${tm_p_file} nextstep-protos.h"
-       tm_file=i386/next.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h nextstep.h i386/next.h"
        tmake_file=i386/t-next
        extra_objs=nextstep.o
        extra_parts="crtbegin.o crtend.o"
@@ -1085,28 +1085,28 @@ i[34567]86-next-*)
        fi
        ;;
 i[34567]86-*-netware)          # Intel 80386's running netware
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h netware.h i386/netware.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h netware.h i386/netware.h"
        tmake_file=i386/t-netware
        ;;
 i[34567]86-sequent-bsd*)               # 80386 from Sequent
        use_collect2=yes
        if test x$gas = xyes
        then
-               tm_file=i386/seq-gas.h
+               tm_file="${tm_file} i386/unix.h i386/bsd.h i386/sequent.h i386/seq-gas.h"
        else
-               tm_file=i386/sequent.h
+               tm_file="${tm_file} i386/unix.h i386/bsd.h i386/sequent.h"
        fi
        ;;
 i[34567]86-sequent-ptx1*)
        xm_defines=POSIX
-       tm_file=i386/seq-sysv3.h
+       tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/sysv3.h i386/seq-sysv3.h"
        tmake_file=i386/t-crtstuff
        extra_parts="crtbegin.o crtend.o"
        install_headers_dir=install-headers-cpio
        ;;
 i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*)
        xm_defines=POSIX
-       tm_file=i386/seq2-sysv3.h
+       tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/sysv3.h i386/seq-sysv3.h i386/seq2-sysv3.h"
        tmake_file=i386/t-crtstuff
        extra_parts="crtbegin.o crtend.o"
        install_headers_dir=install-headers-cpio
@@ -1117,80 +1117,81 @@ i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
                tm_file="${tm_file} usegas.h"
        fi
        xm_defines="POSIX SMALL_ARG_MAX"
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h ptx4.h i386/ptx4-i.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ptx4.h i386/ptx4-i.h"
        tmake_file=t-svr4
        extra_parts="crtbegin.o crtend.o"
        install_headers_dir=install-headers-cpio
        ;;
 i386-sun-sunos*)               # Sun i386 roadrunner
        xm_defines=POSIX
-       tm_file=i386/sun.h
+       tm_file="${tm_file} i386/unix.h i386/sun386.h i386/sun.h"
        use_collect2=yes
        ;;
 i[34567]86-wrs-vxworks*)
-       tm_file=i386/vxi386.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/i386-aout.h i386/vxi386.h"
        thread_file='vxworks'
        ;;
 i[34567]86-*-aout*)
-       tm_file=i386/i386-aout.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/i386-aout.h"
        ;;
 i[34567]86-*-beoself* | i[34567]86-*-beos*)
        xm_defines=POSIX
        tmake_file='i386/t-beos i386/t-crtpic'
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/beos-elf.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/beos-elf.h"
        extra_parts='crtbegin.o crtend.o'
        ;;
 i[34567]86-*-bsdi* | i[34567]86-*-bsd386*)
-       tm_file="i386/386bsd.h i386/bsd386.h"
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/386bsd.h i386/bsd386.h"
 #      tmake_file=t-libc-ok
        ;;
 i[34567]86-*-bsd*)
-       tm_file=i386/386bsd.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/386bsd.h"
 #      tmake_file=t-libc-ok
 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
 #      use_collect2=yes
        ;;
 i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd*aout*)
-       tm_file=i386/freebsd-aout.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/freebsd-aout.h"
        tmake_file=t-freebsd
        ;;
 i[34567]86-*-freebsd*)
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
        ;;
 x86_64-*-freebsd*)
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
        ;;
 i[34567]86-*-netbsdelf*)
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
        float_format=i386
        ;;
 i[34567]86-*-netbsd*)
-       tm_file=i386/netbsd.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h netbsd.h netbsd-aout.h i386/netbsd.h"
        tmake_file=t-netbsd
        use_collect2=yes
        ;;
 x86_64-*-netbsd*)
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h"
        float_format=i386
        ;;
 i[34567]86-*-openbsd*)
+       tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h ${tm_file}"
        # needed to unconfuse gdb
        tmake_file="t-libc-ok t-openbsd i386/t-openbsd"
        # we need collect2 until our bug is fixed...
        use_collect2=yes
        ;;
 i[34567]86-*-coff*)
-       tm_file=i386/i386-coff.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/i386-coff.h"
        ;;
 i[34567]86-*-isc*)             # 80386 running ISC system
        xm_defines=POSIX
         if test x$gas = xyes -a x$stabs = xyes
        then
-               tm_file=i386/iscdbx.h
+               tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h i386/svr3dbx.h i386/iscdbx.h"
                tmake_file=i386/t-svr3dbx
                extra_parts="svr3.ifile svr3z.ifile"
        else
-               tm_file=i386/isccoff.h
+               tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/sysv3.h i386/isc.h"
                tmake_file=i386/t-crtstuff
                extra_parts="crtbegin.o crtend.o"
        fi
@@ -1200,21 +1201,21 @@ i[34567]86-*-linux*oldld*)      # Intel 80386's running GNU/Linux
                                # with a.out format using
                                # pre BFD linkers
        tmake_file="t-linux-aout i386/t-crtstuff"
-       tm_file=i386/linux-oldld.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h linux-aout.h i386/linux-oldld.h"
        gnu_ld=yes
        float_format=i386
        ;;
 i[34567]86-*-linux*aout*)      # Intel 80386's running GNU/Linux
                                # with a.out format
        tmake_file="t-linux-aout i386/t-crtstuff"
-       tm_file=i386/linux-aout.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h linux-aout.h i386/linux-aout.h"
        gnu_ld=yes
        float_format=i386
        ;;
 i[34567]86-*-linux*libc1)      # Intel 80386's running GNU/Linux
                                # with ELF format using the
                                # GNU/Linux C library 5
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
        tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 i386/t-crtstuff"
        extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
        gnu_ld=yes
@@ -1226,7 +1227,7 @@ i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
 i[34567]86-*-linux*)   # Intel 80386's running GNU/Linux
                        # with ELF format using glibc 2
                        # aka GNU/Linux C library 6
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
        tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
        extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
        gnu_ld=yes
@@ -1236,7 +1237,7 @@ i[34567]86-*-linux*)      # Intel 80386's running GNU/Linux
        fi
        ;;
 x86_64-*-linux*)
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h \
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \
                 i386/x86-64.h i386/linux64.h"
        tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff i386/t-linux64"
        extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
@@ -1255,7 +1256,7 @@ i[34567]86-go32-msdos | i[34567]86-*-go32*)
        ;;
 i[34567]86-pc-msdosdjgpp*)
        xm_file=i386/xm-djgpp.h
-       tm_file=i386/djgpp.h
+       tm_file="dbxcoff.h ${tm_file} i386/djgpp.h"
        tmake_file=i386/t-djgpp
        gnu_ld=yes
        gas=yes
@@ -1267,7 +1268,7 @@ i[34567]86-pc-msdosdjgpp*)
        esac
        ;;
 i[34567]86-moss-msdos* | i[34567]86-*-moss*)
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h i386/moss.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h i386/moss.h"
        tmake_file=t-libc-ok
        gnu_ld=yes
        gas=yes
@@ -1275,23 +1276,23 @@ i[34567]86-moss-msdos* | i[34567]86-*-moss*)
 i[34567]86-*-lynxos*)
        if test x$gas = xyes
        then
-               tm_file=i386/lynx.h
+               tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h lynx.h i386/lynx.h"
        else
-               tm_file=i386/lynx-ng.h
+               tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h lynx-ng.h i386/lynx-ng.h"
        fi
        ;;
 i[34567]86-*-mach*)
-       tm_file=i386/mach.h
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/mach.h"
 #      tmake_file=t-libc-ok
        use_collect2=yes
        ;;
 i[34567]86-*-osfrose*)         # 386 using OSF/rose
         if test x$elf = xyes
        then
-               tm_file=i386/osfelf.h
+               tm_file="${tm_file} halfpic.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/osfrose.h i386/osfelf.h"
                use_collect2=
        else
-               tm_file=i386/osfrose.h
+               tm_file="${tm_file} halfpic.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/osfrose.h"
                use_collect2=yes
        fi
        tmake_file=i386/t-osf
@@ -1299,7 +1300,7 @@ i[34567]86-*-osfrose*)            # 386 using OSF/rose
        ;;
 i[34567]86-go32-rtems*)
        xm_defines=POSIX
-       tm_file="i386/djgpp.h i386/djgpp-rtems.h rtems.h"
+       tm_file="dbxcoff.h ${tm_file} i386/djgpp.h i386/djgpp-rtems.h rtems.h"
        tmake_file=t-rtems
        if test x$enable_threads = xyes; then
          thread_file='rtems'
@@ -1307,7 +1308,7 @@ i[34567]86-go32-rtems*)
        ;;
 i[34567]86-*-rtemscoff*)
        xm_defines=POSIX
-       tm_file="i386/i386-coff.h i386/rtems.h rtems.h"
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/i386-coff.h i386/rtems.h rtems.h"
        tmake_file=t-rtems
        if test x$enable_threads = xyes; then
          thread_file='rtems'
@@ -1315,7 +1316,7 @@ i[34567]86-*-rtemscoff*)
        ;;
 i[34567]86-*-rtems*|i[34567]86-*-rtemself*)
        xm_defines=POSIX
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h"
        extra_parts="crtbegin.o crtend.o crti.o crtn.o"
        tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
        if test x$enable_threads = xyes; then
@@ -1325,7 +1326,7 @@ i[34567]86-*-rtems*|i[34567]86-*-rtemself*)
 i[34567]86-*-sco3.2v5*)        # 80386 running SCO Open Server 5
        xm_defines=POSIX
        install_headers_dir=install-headers-cpio
-       tm_file=i386/sco5.h
+       tm_file="${tm_file} i386/unix.h i386/att.h i386/sco5.h"
        if test x$gas = xyes
        then
                tm_file="usegas.h ${tm_file}"
@@ -1337,7 +1338,7 @@ i[34567]86-*-sco3.2v5*)   # 80386 running SCO Open Server 5
        ;;
 i[34567]86-*-solaris2*)
        xm_defines="POSIX SMALL_ARG_MAX"
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sol2.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sol2.h"
        if test x$gas = xyes; then
                tm_file="i386/sol2gas.h ${tm_file}"
        fi
@@ -1364,7 +1365,7 @@ i[34567]86-*-solaris2*)
        ;;
 i[34567]86-*-sysv5*)           # Intel x86 on System V Release 5
        xm_defines=POSIX
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h"
        if test x$stabs = xyes
        then
                tm_file="${tm_file} dbx.h"
@@ -1377,7 +1378,7 @@ i[34567]86-*-sysv5*)           # Intel x86 on System V Release 5
        ;;
 i[34567]86-*-sysv4*)           # Intel 80386's running system V.4
        xm_defines="POSIX SMALL_ARG_MAX"
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h"
        if test x$stabs = xyes
        then
                tm_file="${tm_file} dbx.h"
@@ -1387,7 +1388,7 @@ i[34567]86-*-sysv4*)              # Intel 80386's running system V.4
        ;;
 i[34567]86-*-udk*)      # Intel x86 on SCO UW/OSR5 Dev Kit
        xm_defines=POSIX
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h i386/udk.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h i386/udk.h"
        tmake_file="i386/t-crtpic i386/t-udk t-svr4"
        extra_parts="crtbegin.o crtend.o"
        install_headers_dir=install-headers-cpio
@@ -1396,9 +1397,9 @@ i[34567]86-*-osf1*)               # Intel 80386's running OSF/1 1.3+
        xm_defines='POSIX USE_C_ALLOCA SMALL_ARG_MAX'
        if test x$stabs = xyes
        then
-               tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/osf1elf.h i386/osf1elfgdb.h"
+               tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/osf1elf.h i386/osf1elfgdb.h"
        else
-               tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/osf1elf.h"
+               tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/osf1elf.h"
        fi
        tmake_file=i386/t-osf1elf
        extra_parts="crti.o crtn.o crtbegin.o crtend.o"
@@ -1409,31 +1410,31 @@ i[34567]86-*-sysv*)             # Intel 80386's running system V
        then
                if test x$stabs = xyes
                then
-                       tm_file=i386/svr3dbx.h
+                       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h i386/svr3dbx.h"
                        tmake_file=i386/t-svr3dbx
                        extra_parts="svr3.ifile svr3z.rfile"
                else
-                       tm_file=i386/svr3gas.h
+                       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h"
                        extra_parts="crtbegin.o crtend.o"
                        tmake_file=i386/t-crtstuff
                fi
        else
-               tm_file=i386/sysv3.h
+               tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/sysv3.h"
                extra_parts="crtbegin.o crtend.o"
                tmake_file=i386/t-crtstuff
        fi
        tmake_file="$tmake_file i386/t-crtpic"
        ;;
 i386-*-vsta)                   # Intel 80386's running VSTa kernel
-       xm_file=i386/xm-vsta.h
-       tm_file=i386/vsta.h
+       xm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/xm-vsta.h"
+       tm_file="${tm_file} i386/vsta.h"
        ;;
 i[34567]86-*-win32)
        xm_defines=POSIX
        xm_file=i386/xm-cygwin.h
        float_format=i386
        tmake_file=i386/t-cygwin
-       tm_file=i386/win32.h
+       tm_file="${tm_file} i386/win32.h"
        extra_objs=winnt.o
        if test x$enable_threads = xyes; then
                thread_file='win32'
@@ -1472,7 +1473,7 @@ i[34567]86-*-mingw32*)
        esac
        ;;
 i[34567]86-*-uwin*)
-       tm_file=i386/uwin.h
+       tm_file="i386/cygwin.h i386/uwin.h"
        tmake_file="i386/t-cygwin i386/t-uwin"
        extra_objs=winnt.o
        if test x$enable_threads = xyes; then
@@ -1481,7 +1482,7 @@ i[34567]86-*-uwin*)
        exeext=.exe
        ;;
 i[34567]86-*-interix3*)
-       tm_file="i386/i386-interix.h i386/i386-interix3.h interix.h interix3.h"
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h i386/i386-interix3.h interix.h interix3.h"
        xm_file="i386/xm-i386-interix.h"
        xm_defines=POSIX
        tmake_file="t-interix i386/t-interix"
@@ -1495,7 +1496,7 @@ i[34567]86-*-interix3*)
        fi
        ;;
 i[34567]86-*-interix*)
-       tm_file="i386/i386-interix.h interix.h"
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h interix.h"
        xm_file="i386/xm-i386-interix.h"
        xm_defines=POSIX
        tmake_file="t-interix i386/t-interix"
@@ -1509,7 +1510,7 @@ i[34567]86-*-interix*)
        ;;
 i[34567]86-dg-dgux*)
        xm_defines=POSIX
-       tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/dgux.h"
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/dgux.h"
        tmake_file=i386/t-dgux
        install_headers_dir=install-headers-cpio
       ;;
index a34e6e5db103de237bc633ef34182e791f1846b5..e3bd08173c06348a7a9d252f9b81a39100424125 100644 (file)
@@ -1,9 +1,6 @@
 /* Configuration for an i386 running 386BSD as the target machine.  */
 
-/* This is tested by i386gas.h.  */
-#define YES_UNDERSCORES
-
-#include "i386/gstabs.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, BSD syntax)"); 
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dunix -D____386BSD____ -D__386BSD__ -DBSD_NET2 -Asystem=unix -Asystem=bsd"
index 445d333f784a11de6026f9b597d26257ca7f8696..d1b936cee0d3d324e3e8ae7cf4bbf5e7e282a349 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for IBM PS2 running AIX/386.
-   Copyright (C) 1988, 1996, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1996, 1998, 2002 Free Software Foundation, Inc.
    Contributed by Minh Tran-Le <TRANLE@intellicorp.com>.
 
 This file is part of GNU CC.
@@ -19,17 +19,7 @@ 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.  */
 
-
-#include "i386/i386.h"
-
-/* Get the generic definitions for system V.3.  */
-
-#include "svr3.h"
-
-/* Use the ATT assembler syntax.
-   This overrides at least one macro (USER_LABEL_PREFIX) from svr3.h.  */
-
-#include "i386/att.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, AIX)"); 
 
 /* Use crt1.o as a startup file and crtn.o as a closing file.  */
 
index f16a5ea62335d59230945fcb3e557c5737a17377..70ae16413653307f87c3b3e97260d91ad9725337 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions for AT&T assembler syntax for the Intel 80386.
-   Copyright (C) 1988, 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1996, 2000, 2001, 2002
+   Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,10 +19,6 @@ 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.  */
 
-/* Include common aspects of all 386 Unix assemblers.  */
-#include "i386/unix.h"
-
-#define TARGET_VERSION fprintf (stderr, " (80386, ATT syntax)");
 \f
 /* Define the syntax of instructions and addresses.  */
 
index be51b4a636c14274980504df83ad7377bfc15bb3..208e2744d9f1aa3759c42accb5b8eea3015433bb 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Intel x86 running BeOS
-   Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -19,7 +19,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (i386 BeOS/ELF)");
 
 /* Change debugging to Dwarf2.  */
index c58db1b3e8e596698454d64adff06780a368a22a..69ad1688bfb7b5acace8c9c2d63813f42d72183f 100644 (file)
@@ -1,7 +1,7 @@
 /* Definitions for BSD assembler syntax for Intel 386
    (actually AT&T syntax for insns and operands,
    adapted to BSD conventions for symbol names and debugging.)
-   Copyright (C) 1988, 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1996, 2000, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -20,23 +20,15 @@ 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.  */
 
-/* Include common aspects of all 386 Unix assemblers.  */
-#include "i386/unix.h"
-
 /* Use the Sequent Symmetry assembler syntax.  */
-
-#define TARGET_VERSION fprintf (stderr, " (80386, BSD syntax)");
 \f
 /* Define the syntax of pseudo-ops, labels and comments.  */
 
 /* Prefix for internally generated assembler labels.  If we aren't using
    underscores, we are using prefix `.'s to identify labels that should
    be ignored, as in `i386/gas.h' --karl@cs.umb.edu  */
-#ifdef NO_UNDERSCORES
-#define LPREFIX ".L"
-#else
+
 #define LPREFIX "L"
-#endif /* not NO_UNDERSCORES */
 
 /* Assembler pseudos to introduce constants of various size.  */
 
@@ -93,32 +85,18 @@ Boston, MA 02111-1307, USA.  */
    PREFIX is the class of label and NUM is the number within the class.
    This is suitable for output with `assemble_name'.  */
 
-#ifdef NO_UNDERSCORES
-#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
-    sprintf ((BUF), "*.%s%ld", (PREFIX), (long)(NUMBER))
-#else
 #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
     sprintf ((BUF), "*%s%ld", (PREFIX), (long)(NUMBER))
-#endif
 
 /* This is how to output an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
-#ifdef NO_UNDERSCORES
-#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
-  fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
-#else
 #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
   fprintf (FILE, "%s%d:\n", PREFIX, NUM)
-#endif
 
 /* The prefix to add to user-visible assembler symbols.  */
 
-#ifdef NO_UNDERSCORES
-#define USER_LABEL_PREFIX ""
-#else
 #define USER_LABEL_PREFIX "_"
-#endif /* not NO_UNDERSCORES */
 
 /* Sequent has some changes in the format of DBX symbols.  */
 #define DBX_NO_XREFS 1
index 1e2ff7b15e977b84af359bf2125d07be1e393602..efdb70e48a14ede7c66b8292a80e3784d1b2885b 100644 (file)
@@ -20,15 +20,17 @@ 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.  */
 
-#define YES_UNDERSCORES
-
 #define DBX_DEBUGGING_INFO 
 #define SDB_DEBUGGING_INFO 
 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
 
+#define TARGET_VERSION fprintf (stderr, " (x86 Cygwin)"); 
 #define TARGET_EXECUTABLE_SUFFIX ".exe"
 
 #include <stdio.h>
+#include "i386/i386.h"
+#include "i386/unix.h"
+#include "i386/bsd.h"
 #include "i386/gas.h"
 #include "dbxcoff.h"
 
index 600a11e2168a3699b2c2663af31f9ec7ec513835..240877ca0e2771828b3fa06f5479a0418dad2b6b 100644 (file)
@@ -1,5 +1,6 @@
 /* Configuration for an i386 running MS-DOS with DJGPP.
-   Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+   Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,8 +19,6 @@ 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.  */
 
-#include "dbxcoff.h"
-
 /* Support generation of DWARF2 debugging info.  */
 #define DWARF2_DEBUGGING_INFO
 
@@ -31,8 +30,8 @@ Boston, MA 02111-1307, USA.  */
 /* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop).  */
 #define HANDLE_PRAGMA_PACK_PUSH_POP 1
 
-#define YES_UNDERSCORES
-
+#include "i386/unix.h"
+#include "i386/bsd.h"
 #include "i386/gas.h"
 
 /* If defined, a C expression whose value is a string containing the
@@ -186,6 +185,8 @@ Boston, MA 02111-1307, USA.  */
 #undef MASK_BNU210
 #define MASK_BNU210 (0x40000000)
 
+#define TARGET_VERSION fprintf (stderr, " (80386, MS-DOS DJGPP)"); 
+
 #undef SUBTARGET_SWITCHES
 #define SUBTARGET_SWITCHES \
   { "no-bnu210", -MASK_BNU210, "Ignored (obsolete)" }, \
index 0a3c6d7263e1e3b342fd76acdff7917984e3c20b..7b1d96a55ba108254d2eff8391d5e5f711461e0f 100644 (file)
@@ -1,8 +1,9 @@
 /* Definitions of target machine for GNU compiler for Intel 80386
    running FreeBSD.
-   Copyright (C) 1988, 1992, 1994, 1996, 1997, 1999, 2000, 2002 Free Software
-   Foundation, Inc.
+   Copyright (C) 1988, 1992, 1994, 1996, 1997, 1999, 2000, 2002
+   Free Software Foundation, Inc.
    Contributed by Poul-Henning Kamp <phk@login.dkuug.dk>
+   Continued development by David O'Brien <obrien@NUXI.org>
 
 This file is part of GNU CC.
 
@@ -21,14 +22,9 @@ 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.  */
 
-/* This is tested by i386gas.h.  */
-#define YES_UNDERSCORES
-
 /* Don't assume anything about the header files.  */
 #define NO_IMPLICIT_EXTERN_C
 
-#include "i386/gstabs.h"
-
 /* This goes away when the math-emulator is fixed */
 #undef TARGET_SUBTARGET_DEFAULT
 #define TARGET_SUBTARGET_DEFAULT \
index 1fd41ca85a8cc1e56fe24842fc15aaea2498c524..0d51f2a4e086cccf483967e3c29dc6f76d877c35 100644 (file)
@@ -22,7 +22,7 @@ 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.  */
 
-#undef TARGET_VERSION
+
 #define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)");
 
 /* Override the default comment-starter of "/".  */
index ebd6618ca782eac72c9beb269a0f11b7ad5dd6eb..699f4c4d344bb2d9a65edc91f5e548a1504eb395 100644 (file)
@@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 
-#undef TARGET_VERSION
+#undef  TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (FreeBSD/x86-64 ELF)");
 
 /* Provide a LINK_SPEC appropriate for the FreeBSD/x86-64 ELF target.
index 6c01b0737ac6d88d8adbf0e9438e3bb65282c9a9..4c8402368c8a698cb6c9927c05432791431a7e54 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Intel 386 using GAS.
-   Copyright (C) 1988, 1993, 1994, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1993, 1994, 1996, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -21,13 +21,6 @@ Boston, MA 02111-1307, USA.  */
 /* Note that i386/seq-gas.h is a GAS configuration that does not use this
    file.  */
 
-#include "i386/i386.h"
-
-#ifndef YES_UNDERSCORES
-/* Define this now, because i386/bsd.h tests it.  */
-#define NO_UNDERSCORES
-#endif
-
 /* Use the bsd assembler syntax.  */
 /* we need to do this because gas is really a bsd style assembler,
  * and so doesn't work well this these att-isms:
@@ -44,8 +37,6 @@ Boston, MA 02111-1307, USA.  */
  * people who want both form will have to compile twice.
  */
 
-#include "i386/bsd.h"
-
 /* these come from i386/bsd.h, but are specific to sequent */
 #undef DBX_NO_XREFS
 #undef DBX_CONTIN_LENGTH
@@ -139,28 +130,6 @@ Boston, MA 02111-1307, USA.  */
 /* Print opcodes the way that GAS expects them.  */
 #define GAS_MNEMONICS 1
 
-#ifdef NO_UNDERSCORES /* If user-symbols don't have underscores,
-                        then it must take more than `L' to identify
-                        a label that should be ignored.  */
-
-/* This is how to store into the string BUF
-   the symbol_ref name of an internal numbered label where
-   PREFIX is the class of label and NUM is the number within the class.
-   This is suitable for output with `assemble_name'.  */
-
-#undef ASM_GENERATE_INTERNAL_LABEL
-#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
-    sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
-
-/* This is how to output an internal numbered label where
-   PREFIX is the class of label and NUM is the number within the class.  */
-
-#undef ASM_OUTPUT_INTERNAL_LABEL
-#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
-  fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
-
-#endif /* NO_UNDERSCORES */
-
 /* Output at beginning of assembler file.  */
 /* The .file command should always begin the output.  */
 #undef ASM_FILE_START
index 5f0ae348f158cefa95f2bb6c3dbced238b6b3bb8..716e37a21f37c62ef40374b7aec535e3728dbe06 100644 (file)
@@ -1,5 +1,3 @@
-#include "i386/gas.h"
-
 /* We do not want to output SDB debugging information.  */
 
 #undef SDB_DEBUGGING_INFO
index 7385bec6d7c86d6a36d5981c495cbd16a69a174f..824414fcc18d4013040266eead16328422100120 100644 (file)
@@ -1,7 +1,7 @@
 /* Definitions for "naked" Intel 386 using a.out (or coff encap'd
    a.out) object format and stabs debugging info.
 
-   Copyright (C) 1994 Free Software Foundation, Inc.
+   Copyright (C) 1994, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -21,10 +21,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 
-/* This is tested by gas.h.  */
-#define YES_UNDERSCORES
-
-#include "i386/gstabs.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, BSD a.out syntax)"); 
 
 /* Specify predefined symbols in preprocessor.  */
 
index c1ae670e117e4d075fe35fca3556edb9a6821119..5f3ed142866d4ff8abafefacc9ab8d0d0dc06f3c 100644 (file)
@@ -1,7 +1,7 @@
 /* Definitions for "naked" Intel 386 using coff object format files
    and coff debugging info.
 
-   Copyright (C) 1994, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1994, 2000, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -21,8 +21,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 
-#include "i386/gas.h"
-#include "dbxcoff.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, COFF BSD syntax)"); 
 
 /* Specify predefined symbols in preprocessor.  */
 
@@ -40,4 +39,36 @@ Boston, MA 02111-1307, USA.  */
 /* Switch into a generic section.  */
 #define TARGET_ASM_NAMED_SECTION  default_coff_asm_named_section
 
+/* Prefix for internally generated assembler labels.  If we aren't using
+   underscores, we are using prefix `.'s to identify labels that should
+   be ignored, as in `i386/gas.h' --karl@cs.umb.edu  */
+
+#undef  LPREFIX
+#define LPREFIX ".L"
+
+/* The prefix to add to user-visible assembler symbols.  */
+
+#undef  USER_LABEL_PREFIX
+#define USER_LABEL_PREFIX ""
+
+/* If user-symbols don't have underscores,
+   then it must take more than `L' to identify
+   a label that should be ignored.  */
+
+/* This is how to store into the string BUF
+   the symbol_ref name of an internal numbered label where
+   PREFIX is the class of label and NUM is the number within the class.
+   This is suitable for output with `assemble_name'.  */
+
+#undef  ASM_GENERATE_INTERNAL_LABEL
+#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
+  sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
+
+/* This is how to output an internal numbered label where
+   PREFIX is the class of label and NUM is the number within the class.  */
+
+#undef  ASM_OUTPUT_INTERNAL_LABEL
+#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
+  fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
+
 /* end of i386-coff.h */
index 495d9628351015231288edae4d6180e92aae78eb..a97646c5472fdabe40a2ed6cd93b6c57d47e26ee 100644 (file)
@@ -1,5 +1,5 @@
 /* Target definitions for GNU compiler for Intel 80386 running Interix
-   Parts Copyright (C) 1991, 1999, 2000 Free Software Foundation, Inc.
+   Parts Copyright (C) 1991, 1999, 2000, 2002 Free Software Foundation, Inc.
 
    Parts:
      by Douglas B. Rupp (drupp@cs.washington.edu).
@@ -24,10 +24,6 @@ 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.  */
 
-#define YES_UNDERSCORES
-
-/* YES_UNDERSCORES must precede gas.h */
-#include <i386/gas.h>
 /* The rest must follow.  */
 
 #define DBX_DEBUGGING_INFO
@@ -85,7 +81,6 @@ Boston, MA 02111-1307, USA.  */
 %{posix:-D_POSIX_SOURCE} \
 -isystem %$INTERIX_ROOT/usr/include"
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (i386 Interix)");
 
 /* The global __fltused is necessary to cause the printf/scanf routines
index ddf19b67e7c16ac654a5fe38f869859979501204..924f8d0ce3e6462457370d859409381e871fac7e 100644 (file)
@@ -1,5 +1,6 @@
 /* Target definitions for GNU compiler for Intel 80386 using ELF
-   Copyright (C) 1988, 1991, 1995, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1991, 1995, 2000, 2001, 2002
+   Free Software Foundation, Inc.
 
    Derived from sysv4.h written by Ron Guilmette (rfg@netcom.com).
 
@@ -24,7 +25,6 @@ Boston, MA 02111-1307, USA.  */
 #undef  PREFERRED_DEBUGGING_TYPE
 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (i386 bare ELF target)");
 
 /* By default, target has a 80387, uses IEEE compatible arithmetic,
index eea98118fb63b5d596eea5181707f625dc3dbc49..171918c60dd1a643dcb42203e608aae904a3e8ca 100644 (file)
@@ -1,6 +1,11 @@
 /* Assembler-independent definitions for an Intel 386 running
-   Interactive Unix System V. Specifically, this is for recent versions
-   that support POSIX.  */
+   Interactive Unix System V.  Specifically, this is for recent versions
+   that support POSIX;
+   for version 2.0.2, use configuration option i386-sysv instead.
+   (But set TARGET_DEFAULT to (MASK_80307 | MASK_FLOAT_RETURNS)
+   if you do that, if you don't have a real 80387.)  */
+
+/* Mostly it's like AT&T Unix System V.  */
 
 /* Use crt1.o, not crt0.o, as a startup file, and crtn.o as a closing file.  */
 #undef STARTFILE_SPEC
diff --git a/gcc/config/i386/isccoff.h b/gcc/config/i386/isccoff.h
deleted file mode 100644 (file)
index 9efd9ad..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/* Definitions for Intel 386 running Interactive Unix System V.
-   Specifically, this is for recent versions that support POSIX;
-   for version 2.0.2, use configuration option i386-sysv instead.
-   (But set TARGET_DEFAULT to (MASK_80307 | MASK_FLOAT_RETURNS)
-   if you do that, if you don't have a real 80387.)  */
-
-/* Mostly it's like AT&T Unix System V.  */
-
-#include "i386/sysv3.h"
-
-/* But with a few changes.  */
-#include "i386/isc.h"
index 6d1f341f15eab3f72b47efb5aee27e8652064189..09de0fddb86a23c4034d05f5aa328a8eab86b71e 100644 (file)
@@ -1,7 +1,7 @@
 /* Definitions for Intel 386 running Interactive Unix System V,
    using dbx-in-coff encapsulation.
    Specifically, this is for recent versions that support POSIX.
-   Copyright (C) 1992, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1995, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -22,8 +22,6 @@ Boston, MA 02111-1307, USA.  */
 
 /* Mostly it's like AT&T Unix System V with dbx-in-coff.  */
 
-#include "i386/svr3dbx.h"
-
 /* But with a few changes.  */
 #undef ENDFILE_SPEC
 #include "i386/isc.h"
index 302ee69a32a0a6855b263b32a020ae7f305d3605..9bcbfe7045c95f7c20e34e93fdd6e98379c748f7 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions for Intel 386 running Linux-based GNU systems using a.out.
-   Copyright (C) 1992, 1994, 1995, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1994, 1995, 1997, 1998, 2002
+   Free Software Foundation, Inc.
    Contributed by H.J. Lu (hjl@nynexst.com)
 
 This file is part of GNU CC.
@@ -19,12 +20,6 @@ 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.  */
 
-/* This is tested by i386/gas.h.  */
-#define YES_UNDERSCORES
-
-#include <i386/gstabs.h>
-#include <linux-aout.h>        /* some common stuff */
-
 #undef ASM_COMMENT_START
 #define ASM_COMMENT_START "#"
 
index 6102aa8cd9fa06148edfb01984f79a67555f03fc..6a6139683e85342e60c693b7b907819da8c76f9d 100644 (file)
@@ -20,12 +20,6 @@ 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.  */
 
-/* This is tested by i386/gas.h.  */
-#define YES_UNDERSCORES
-
-#include <i386/gstabs.h>
-#include <linux-aout.h>        /* some common stuff */
-
 #undef ASM_COMMENT_START
 #define ASM_COMMENT_START "#"
 
index de634d3a4e771679fff772860f50493bfbe3f4e1..282a11b05a7b68f3d1e5f113c2be180d8ee83c7c 100644 (file)
@@ -33,7 +33,6 @@ Boston, MA 02111-1307, USA.  */
          fputs ("\t.intel_syntax\n", FILE);                            \
   } while (0)
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (i386 Linux/ELF)");
 
 /* The svr4 ABI for the i386 says that records and unions are returned
index 925cc20d1e8186eb5e4cf4df9bad4a43cf2f6ee8..a969ab9906e00db706153c73c08366b6f1575b0e 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for AMD x86-64 running Linux-based GNU systems with ELF format.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    Contributed by Jan Hubicka <jh@suse.cz>, based on linux.h.
 
 This file is part of GNU CC.
@@ -21,7 +21,6 @@ Boston, MA 02111-1307, USA.  */
 
 #define LINUX_DEFAULT_ELF
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (x86-64 Linux/ELF)");
 
 #undef CPP_PREDEFINES
index 49150a307b35450191dbb50c4d41cdcb01ec0956..1ef22fb23dcdb2806625efe9a6078d5ab2698884 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Intel 386 running LynxOS, using Lynx's old as and ld.
-   Copyright (C) 1993, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1995, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,8 +18,7 @@ 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.  */
 
-#include <i386/gstabs.h>
-#include <lynx-ng.h>
+#define TARGET_VERSION fprintf (stderr, " (80386, LYNX BSD syntax)"); 
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dunix -DI386 -DLynx -DIBITS32 \
@@ -36,3 +35,35 @@ Boston, MA 02111-1307, USA.  */
 #define CALL_USED_REGISTERS \
 /*ax,dx,cx,bx,si,di,bp,sp,st,st1,st2,st3,st4,st5,st6,st7,arg*/ \
 {  1, 1, 1, 1, 0, 0, 0, 1, 1,  1,  1,  1,  1,  1,  1,  1,  1 }
+
+/* Prefix for internally generated assembler labels.  If we aren't using
+   underscores, we are using prefix `.'s to identify labels that should
+   be ignored, as in `i386/gas.h' --karl@cs.umb.edu  */
+
+#undef  LPREFIX
+#define LPREFIX ".L"
+
+/* The prefix to add to user-visible assembler symbols.  */
+
+#undef  USER_LABEL_PREFIX
+#define USER_LABEL_PREFIX ""
+
+/* If user-symbols don't have underscores,
+   then it must take more than `L' to identify
+   a label that should be ignored.  */
+
+/* This is how to store into the string BUF
+   the symbol_ref name of an internal numbered label where
+   PREFIX is the class of label and NUM is the number within the class.
+   This is suitable for output with `assemble_name'.  */
+
+#undef  ASM_GENERATE_INTERNAL_LABEL
+#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
+  sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
+
+/* This is how to output an internal numbered label where
+   PREFIX is the class of label and NUM is the number within the class.  */
+
+#undef  ASM_OUTPUT_INTERNAL_LABEL
+#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
+  fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
index 91ed31e0bf718021a47844bd7980123858f4205b..00fc0ac741750989093ba71e5443a75d0523c350 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Intel 386 running LynxOS.
-   Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1995, 1996, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,8 +18,7 @@ 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.  */
 
-#include <i386/gstabs.h>
-#include <lynx.h>
+#define TARGET_VERSION fprintf (stderr, " (80386, LYNX BSD syntax)"); 
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-DI386 -DLynx -DIBITS32 -Asystem=unix -Asystem=lynx"
@@ -37,3 +36,35 @@ Boston, MA 02111-1307, USA.  */
 #define CALL_USED_REGISTERS \
 /*ax,dx,cx,bx,si,di,bp,sp,st,st1,st2,st3,st4,st5,st6,st7,arg*/ \
 {  1, 1, 1, 1, 0, 0, 0, 1, 1,  1,  1,  1,  1,  1,  1,  1,  1 }
+
+/* Prefix for internally generated assembler labels.  If we aren't using
+   underscores, we are using prefix `.'s to identify labels that should
+   be ignored, as in `i386/gas.h' --karl@cs.umb.edu  */
+
+#undef  LPREFIX
+#define LPREFIX ".L"
+
+/* The prefix to add to user-visible assembler symbols.  */
+
+#undef  USER_LABEL_PREFIX
+#define USER_LABEL_PREFIX ""
+
+/* If user-symbols don't have underscores,
+   then it must take more than `L' to identify
+   a label that should be ignored.  */
+
+/* This is how to store into the string BUF
+   the symbol_ref name of an internal numbered label where
+   PREFIX is the class of label and NUM is the number within the class.
+   This is suitable for output with `assemble_name'.  */
+
+#undef  ASM_GENERATE_INTERNAL_LABEL
+#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
+  sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
+
+/* This is how to output an internal numbered label where
+   PREFIX is the class of label and NUM is the number within the class.  */
+
+#undef  ASM_OUTPUT_INTERNAL_LABEL
+#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
+  fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
index 7e2b1cc267d5cf255a64df4a9540d705f14561dc..29039f39948fbfdaffb80c995fd1c6cd4e1173b8 100644 (file)
@@ -1,10 +1,6 @@
 /* Configuration for an i386 running Mach as the target machine.  */
 
-/* We do want to add an underscore to the front of each user symbol.
-   i386/gas.h checks this.  */
-#define YES_UNDERSCORES
-
-#include "i386/gstabs.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, Mach)"); 
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dunix -DMACH -Asystem=unix -Asystem=mach"
index 30267dfa0c3dc6d17c365011bcfb0581ef515381..e6b6de4f8b43015658fc70f72b53f0fe5f789085 100644 (file)
@@ -114,5 +114,4 @@ Boston, MA 02111-1307, USA.  */
    we don't care about compatibility with older gcc versions.  */
 #define DEFAULT_PCC_STRUCT_RETURN 1
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (NetBSD/i386 ELF)");
index 1d95de2f6c334f3bb8a6e43020594e9e0f2c2fe8..765e6793d085391197887056e495e63c7c5faf8d 100644 (file)
@@ -1,11 +1,4 @@
-/* This is tested by i386gas.h.  */
-#define YES_UNDERSCORES
-
-#include <i386/gstabs.h>
-
-/* Get generic NetBSD definitions.  */
-#include <netbsd.h>
-#include <netbsd-aout.h>
+#define TARGET_VERSION fprintf (stderr, " (NetBSD/i386 a.out)");
 
 /* This goes away when the math-emulator is fixed */
 #undef TARGET_SUBTARGET_DEFAULT
index 74862af9d6ea1a8e19a90a69cf8427e0e61fbbc9..813422a59cf23d5950eb60db15468038f3ecdaf8 100644 (file)
@@ -62,5 +62,4 @@ Boston, MA 02111-1307, USA.  */
 }
 
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (NetBSD/x86_64 ELF)");
index 3081fdebf8c981c31eb86bfee3e8f4d95af722c1..80f9b0ce2173a93d99d9ca7e3d4c8b923a810536 100644 (file)
@@ -1,5 +1,5 @@
 /* Target definitions for GNU compiler for Intel x86 CPU running NeXTSTEP
-   Copyright (C) 1993, 1995, 1996, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1995, 1996, 1999, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,9 +18,6 @@ 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.  */
 
-#include "i386/gas.h"
-#include "nextstep.h"
-
 /* By default, target has a 80387, with IEEE FP.  */
 
 #undef TARGET_SUBTARGET_DEFAULT
index a07ee1524b8efeeaaec0d3b4134ad942be3072e5..93ff01e25ca8ef69f73c26f525e2b9798669fad3 100644 (file)
@@ -1,5 +1,5 @@
 /* Configuration for an OpenBSD i386 target.
-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,14 +18,8 @@ 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.  */
 
-/* This is tested by i386gas.h.  */
-#define YES_UNDERSCORES
 
-#include <i386/gstabs.h>
-
-/* Get generic OpenBSD definitions.  */
-#define OBSD_OLD_GAS
-#include <openbsd.h>
+#define TARGET_VERSION fprintf (stderr, " (OpenBSD/i386)");
 
 /* This goes away when the math-emulator is fixed */
 #undef TARGET_SUBTARGET_DEFAULT
index 886dd1a4c2969c8df24ec9d1e172b9985b2da6ba..095749079d5bda8550399404f8abe4f600417d71 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler.
    Intel 386 (OSF/1 with ELF) version.
-   Copyright (C) 1993 Free Software Foundation, Inc.
+   Copyright (C) 1993, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -19,8 +19,6 @@ 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.  */
 
-#include "config/i386/osfrose.h"
-
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-DOSF -DOSF1 -Dunix -Asystem=xpg4"
 
@@ -68,7 +66,6 @@ Boston, MA 02111-1307, USA.  */
                        %{!noshrlib: %{!pic-none: -dy}}}}}}}}"
 
 #undef TARGET_VERSION_INTERNAL
-#undef TARGET_VERSION
 
 #undef I386_VERSION
 #define I386_VERSION " 80386, ELF objects"
index 7338191293eba5ca57bd975dc1d79a3247938e19..0264575c1712e084330f0b349367e960eb65504f 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler.
    Intel 386 (OSF/1 with OSF/rose) version.
-   Copyright (C) 1991, 1992, 1993, 1996, 1998, 1999, 2000
+   Copyright (C) 1991, 1992, 1993, 1996, 1998, 1999, 2000, 2002
    Free Software Foundation, Inc.
 
 This file is part of GNU CC.
@@ -20,9 +20,6 @@ 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.  */
 
-#include "halfpic.h"
-#include "i386/gstabs.h"
-
 #define OSF_OS
 
 #undef  WORD_SWITCH_TAKES_ARG
@@ -149,7 +146,6 @@ Boston, MA 02111-1307, USA.  */
 #define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
 
 #undef TARGET_VERSION_INTERNAL
-#undef TARGET_VERSION
 
 #define I386_VERSION " 80386, OSF/rose objects"
 
index 0c51703f6e818d040fad206894feafff1e694610..d29bdade144b764933212e6e3cd84f0b5a6b74a6 100644 (file)
@@ -1,5 +1,5 @@
 /* Target definitions for GNU compiler for Intel 80386 running Dynix/ptx v4
-   Copyright (C) 1996 Free Software Foundation, Inc.
+   Copyright (C) 1996, 2002 Free Software Foundation, Inc.
 
    Modified from sysv4.h
    Originally written by Ron Guilmette (rfg@netcom.com).
@@ -23,7 +23,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (i386 Sequent Dynix/ptx Version 4)");
 
 /* The svr4 ABI for the i386 says that records and unions are returned
index c2381c79f6e1857183647e1c7df8eb4ca955f303..9e8fab73a116b6e2e7d1513071a0c7285bfe3dd8 100644 (file)
@@ -24,6 +24,9 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-D__rtems__ -Asystem=rtems"
 
+#undef  TARGET_VERSION
+#define TARGET_VERSION fprintf (stderr, " (80386, RTEMS)"); 
+
 /* Generate calls to memcpy, memcmp and memset.  */
 #ifndef TARGET_MEM_FUNCTIONS
 #define TARGET_MEM_FUNCTIONS
index e449e866e9c9ac670dc3f0a4e10d9975a760adc0..1682eda49dfefcd3986a48ea8429277f6031e354 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Intel 386 running SCO Unix System V 3.2 Version 5.
-   Copyright (C) 1992, 1995, 1996, 1997, 1998, 1999, 2000
+   Copyright (C) 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2002
    Free Software Foundation, Inc.
    Contributed by Kean Johnston (hug@netcom.com)
 
@@ -20,10 +20,6 @@ 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.  */
 
-#include "i386/i386.h" /* Base i386 target definitions */
-#include "i386/att.h"  /* Use AT&T i386 assembler syntax */
-
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (i386, SCO OpenServer 5 Syntax)");
 
 #undef LPREFIX
index d11c4c1f388f9155c5df7ee4ea6341f33e11a241..dde1f058d50e2af89a586e0beb35ceddef6012c2 100644 (file)
@@ -1,10 +1,8 @@
 /* Definitions for Sequent Intel 386 using GAS.
-   Copyright (C) 1992 Free Software Foundation, Inc.
+   Copyright (C) 1992, 2002 Free Software Foundation, Inc.
 
 /* Mostly it's like a Sequent 386 without GAS.  */
 
-#include "i386/sequent.h"
-
 /* A C statement or statements which output an assembler instruction
    opcode to the stdio stream STREAM.  The macro-operand PTR is a
    variable of type `char *' which points to the opcode name in its
index c8e75927dfc7b127dcae357cf50e59d11edf93b2..f30cf77c1974892e0412993d3177b84af43e414d 100644 (file)
@@ -1,6 +1,6 @@
 /* Sequent DYNIX/ptx 1.x (SVr3) */
 
-#include "i386/sysv3.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, ATT syntax)"); 
 
 /* Sequent Symmetry SVr3 doesn't have crtn.o; crt1.o doesn't work
    but crt0.o does.  */
index dd43af707a042adb8ce3451ed396d7b7653a99f2..a759e8b318501a005b144e12134fc918dc6c7fc2 100644 (file)
@@ -1,7 +1,5 @@
 /* Sequent DYNIX/ptx 2.x (SVr3) */
 
-#include "i386/seq-sysv3.h"
-
 /* Use atexit for static destructors, instead of defining
    our own exit function.  */
 #undef NEED_ATEXIT
index cffc50ae1e222e8f57318340124b1a8647a002a3..bc16b19102cc4f8f3f8517189f96f2016a03c624 100644 (file)
@@ -1,5 +1,8 @@
-/* Definitions for Sequent Intel 386.
-   Copyright (C) 1988, 1994, 1999, 2000 Free Software Foundation, Inc.
+/* Definitions for Sequent Intel 386 using BSD assembler syntax
+   (actually AT&T syntax for insns and operands,
+   adapted to BSD conventions for symbol names and debugging.)
+   Copyright (C) 1988, 1994, 1996, 1999, 2000, 2002
+   Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,11 +21,7 @@ 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.  */
 
-#include "i386/i386.h"
-
-/* Use the BSD assembler syntax.  */
-
-#include "i386/bsd.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, BSD syntax)"); 
 
 /* By default, don't use IEEE compatible arithmetic comparisons
    because the assembler can't handle the fucom insn.
index de40abb35a393bfcd0d48384cc613fd56a38410a..c4390e270232b11ff2e8cfe528798b097331aa72 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Intel 386 running SunOS 4.0.
-   Copyright (C) 1988, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1995, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,12 +18,7 @@ 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.  */
 
-
-#include "i386/i386.h"
-
-/* Use the Sun assembler syntax.  */
-
-#include "i386/sun386.h"
+/* Use's the Sun assembler syntax.  */
 
 /* Use crt0.o as a startup file.  */
 
index d280d583cbeece2898c5c502e32d882c6581e2b4..0c107c70a632ff10e3f13150bad3977357508069 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Sun assembler syntax for the Intel 80386.
-   Copyright (C) 1988, 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1996, 2000, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -19,9 +19,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 
-/* Include common aspects of all 386 Unix assemblers.  */
-#include "i386/unix.h"
-
 #define TARGET_VERSION fprintf (stderr, " (80386, Sun syntax)");
 
 /* Define the syntax of instructions and addresses.  */
index b0e4237aa4ab57c1bb2381285dbb0bdbdf3f902d..3357d68591d88e2ea735d687b51f5be71f4cdd1c 100644 (file)
@@ -1,5 +1,5 @@
-/* Definitions for Intel 386 running system V, using dbx-in-coff encapsulation.
-   Copyright (C) 1992, 1995 Free Software Foundation, Inc.
+/* Definitions for Intel 385 running system V, using dbx-in-coff encapsulation.
+   Copyright (C) 1992, 1995, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,8 +18,6 @@ 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.  */
 
-#include "i386/svr3gas.h"
-
 /* We do not want to output SDB debugging information.  */
 
 #undef SDB_DEBUGGING_INFO
index 08ada117284cc413b49abcc3e26945a32b81355e..00dd408f7c682d1f01b4d18e67f50c067c7c7672 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Intel 386 running system V, using gas.
-   Copyright (C) 1992, 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1996, 2000, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,7 +18,7 @@ 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.  */
 
-#include "i386/gas.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, ATT syntax)"); 
 
 /* Add stuff that normally comes from i386/sysv3.h */
 
index 8eb4bec8db227330974db12cce444349b8904ee8..09121cda18a510539e9fcfcdbb08de99f30ad48b 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Intel 386 running system V.
-   Copyright (C) 1988, 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1996, 2000, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,17 +18,7 @@ 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.  */
 
-
-#include "i386/i386.h"
-
-/* Use default settings for system V.3.  */
-
-#include "svr3.h"
-
-/* Use the ATT assembler syntax.
-   This overrides at least one macro (USER_LABEL_PREFIX) from svr3.h.  */
-
-#include "i386/att.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, ATT syntax)"); 
 
 /* Use crt1.o as a startup file and crtn.o as a closing file.  */
 
index 7dc0ac1b0a184aab9067ea8208e91c23ef9c40b2..5b92fff4a2f03f5223ea16960c20d13430bbca6e 100644 (file)
@@ -1,5 +1,5 @@
 /* Target definitions for GNU compiler for Intel 80386 running System V.4
-   Copyright (C) 1991, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1991, 2001, 2002 Free Software Foundation, Inc.
 
    Written by Ron Guilmette (rfg@netcom.com).
 
@@ -21,7 +21,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 
-#undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (i386 System V Release 4)");
 
 /* The svr4 ABI for the i386 says that records and unions are returned
index ca39ffd94932157d7ec50e1dc60a95112978dc30..cc2f93b8cc696cb466409d6cbfba4775c3e0fd01 100644 (file)
@@ -2,7 +2,7 @@
    hosting on U/WIN (Windows32), using GNU tools and the Windows32 API 
    Library, as distinct from winnt.h, which is used to build GCC for use 
    with a windows style library and tool set and uses the Microsoft tools.
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002 Free Software Foundation, Inc.
    Contributed by Mumit Khan  <khan@xraylith.wisc.edu>.
 
 This file is part of GNU CC.
@@ -25,8 +25,6 @@ Boston, MA 02111-1307, USA.  */
 /* Most of this is the same as for Cygwin32, except for changing some
    specs.  */
 
-#include "i386/cygwin.h"
-
 #define STANDARD_INCLUDE_COMPONENT "UWIN"
 #define SYSTEM_INCLUDE_DIR "/usr/gnu/include"
 #undef MD_STARTFILE_PREFIX
diff --git a/gcc/config/i386/v3gas.h b/gcc/config/i386/v3gas.h
deleted file mode 100644 (file)
index a350ab4..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-/* Definitions for Intel 386 running system V, using gas.
-   Copyright (C) 1992, 1995 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.  */
-
-#include <i386/gas.h>
-
-/* Add stuff that normally comes from i386v.h */
-
-/* longjmp may fail to restore the registers if called from the same
-   function that called setjmp.  To compensate, the compiler avoids
-   putting variables in registers in functions that use both setjmp
-   and longjmp.  */
-
-#define NON_SAVING_SETJMP \
-  (current_function_calls_setjmp && current_function_calls_longjmp)
-
-/* longjmp may fail to restore the stack pointer if the saved frame
-   pointer is the same as the caller's frame pointer.  Requiring a frame
-   pointer in any function that calls setjmp or longjmp avoids this
-   problem, unless setjmp and longjmp are called from the same function.
-   Since a frame pointer will be required in such a function, it is OK
-   that the stack pointer is not restored.  */
-
-#undef SUBTARGET_FRAME_POINTER_REQUIRED
-#define SUBTARGET_FRAME_POINTER_REQUIRED \
-  (current_function_calls_setjmp || current_function_calls_longjmp)
-
-/* Modify ASM_OUTPUT_LOCAL slightly to test -msvr3-shlib, adapted to gas  */
-#undef ASM_OUTPUT_LOCAL
-#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED)    \
-  do {                                                 \
-    int align = exact_log2 (ROUNDED);                  \
-    if (align > 2) align = 2;                          \
-    if (TARGET_SVR3_SHLIB)                             \
-      {                                                        \
-       data_section ();                                \
-       ASM_OUTPUT_ALIGN ((FILE), align == -1 ? 2 : align); \
-       ASM_OUTPUT_LABEL ((FILE), (NAME));              \
-       fprintf ((FILE), "\t.set .,.+%u\n", (ROUNDED)); \
-      }                                                        \
-    else                                               \
-      {                                                        \
-       fputs (".lcomm ", (FILE));                      \
-       assemble_name ((FILE), (NAME));                 \
-       fprintf ((FILE), ",%u\n", (ROUNDED));           \
-      }                                                        \
-  } while (0)
-
-/* Add stuff that normally comes from i386v.h via svr3.h */
-
-/* Define the actual types of some ANSI-mandated types.  These
-   definitions should work for most SVR3 systems.  */
-
-#undef SIZE_TYPE
-#define SIZE_TYPE "unsigned int"
-
-#undef PTRDIFF_TYPE
-#define PTRDIFF_TYPE "int"
-
-#undef WCHAR_TYPE
-#define WCHAR_TYPE "long int"
-
-#undef WCHAR_TYPE_SIZE
-#define WCHAR_TYPE_SIZE BITS_PER_WORD
index 1bb897d727956f33d9912cdb8fd06e4f86856d47..24e257324dda67b69950080be19042fc50dcda97 100644 (file)
@@ -1,5 +1,5 @@
 /* Configuration for an i386 running VSTa micro-kernel.
-   Copyright (C) 1994 Free Software Foundation, Inc.
+   Copyright (C) 1994, 2002 Free Software Foundation, Inc.
    Contributed by Rob Savoye (rob@cygnus.com).
 
 This file is part of GNU CC.
@@ -19,9 +19,7 @@ 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.  */
 
-#define YES_UNDERSCORES
-
-#include "i386/gas.h"
+#define TARGET_VERSION fprintf (stderr, " (80386, BSD syntax)"); 
 
 #ifdef CPP_PREDEFINES
 #undef CPP_PREDEFINES
index c050ca76412d96cab24959e7fdb81d6399d4b895..a4b5944e957c5ab824a05e7d55be3217d967e258 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler.  VxWorks i386 version.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,6 +18,9 @@ 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.  */
 
+#undef  TARGET_VERSION
+#define TARGET_VERSION fprintf (stderr, " (80386, VxWorks BSD syntax)"); 
+
 #undef CPP_CPU_SPEC
 #define CPP_CPU_SPEC "\
 -Asystem=unix -Acpu=i386 -Amachine=i386 \
@@ -35,8 +38,6 @@ Boston, MA 02111-1307, USA.  */
  %{mcpu=pentiumpro:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUMPRO %(cpp_686)} \
  %{!mcpu*:%{!m486:%{!mpentium*:-DCPU=I80386 %(cpp_cpu_default)}}}}"
 
-#include "i386/i386-aout.h"
-
 #define HANDLE_SYSV_PRAGMA
 
 #undef CPP_PREDEFINES
index da1821d877c3d6499706ec0e420219a791274b68..f6f32149d33d52b37e0f784e1789dd15c07d5b4f 100644 (file)
@@ -22,8 +22,6 @@ 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.  */
 
-#define YES_UNDERSCORES
-
 /* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop).  */
 #define HANDLE_PRAGMA_PACK_PUSH_POP 1
 
@@ -31,6 +29,8 @@ Boston, MA 02111-1307, USA.  */
 #define SDB_DEBUGGING_INFO 
 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
 
+#include "i386/unix.h"
+#include "i386/bsd.h"
 #include "i386/gas.h"
 #include "dbxcoff.h"
 
diff --git a/gcc/config/openbsd-oldgas.h b/gcc/config/openbsd-oldgas.h
new file mode 100644 (file)
index 0000000..823db70
--- /dev/null
@@ -0,0 +1,23 @@
+/* Generic settings for a.out OpenBSD systems.
+   Copyright (C) 2002 Free Software Foundation, Inc.
+   Contributed by David E. O'Brien <obrien@FreeBSD.org>.
+
+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.  */
+
+
+#define OBSD_OLD_GAS
This page took 0.144565 seconds and 5 git commands to generate.