Commit 34f4f3a5 by Zack Weinberg Committed by Zack Weinberg

tsystem.h: Test only POSIX for availability of string.h and time.h.

	* tsystem.h: Test only POSIX for availability of string.h
	and time.h.
	* config.gcc (all systems): If USG appeared in xm_defines,
	change it to POSIX.  If both USG and POSIX appeared, just
	delete USG. Remove unnecessary quotes around xm_defines
	settings.
	(m68k-crds-unos*): Don't #define unos - tested nowhere.
	(m68k-apple-aux*): Don't #define AUX - tested nowhere.
	(alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
	powerpc-*-linux*): No need to set xm_defines - handled by
	global settings for *-*-linux*.

From-SVN: r41714
parent 7719ffbf
2001-04-30 Zack Weinberg <zackw@stanford.edu> 2001-04-30 Zack Weinberg <zackw@stanford.edu>
* tsystem.h: Test only POSIX for availability of string.h
and time.h.
* config.gcc (all systems): If USG appeared in xm_defines,
change it to POSIX. If both USG and POSIX appeared, just
delete USG. Remove unnecessary quotes around xm_defines
settings.
(m68k-crds-unos*): Don't #define unos - tested nowhere.
(m68k-apple-aux*): Don't #define AUX - tested nowhere.
(alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
powerpc-*-linux*): No need to set xm_defines - handled by
global settings for *-*-linux*.
2001-04-30 Zack Weinberg <zackw@stanford.edu>
* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c: * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
Always include gstab.h, not system stab.h. Don't provide Always include gstab.h, not system stab.h. Don't provide
default definitions of N_CATCH or N_OPT. Always use the default definitions of N_CATCH or N_OPT. Always use the
......
...@@ -261,7 +261,7 @@ esac ...@@ -261,7 +261,7 @@ esac
# Common parts for GNU/Linux, GNU/Hurd and OpenBSD systems. # Common parts for GNU/Linux, GNU/Hurd and OpenBSD systems.
case $machine in case $machine in
*-*-linux*) *-*-linux*)
xm_defines="POSIX" xm_defines=POSIX
;; ;;
*-*-gnu*) *-*-gnu*)
# On the Hurd, the setup is just about the same on # On the Hurd, the setup is just about the same on
...@@ -325,7 +325,7 @@ case $machine in ...@@ -325,7 +325,7 @@ case $machine in
;; ;;
a29k-*-bsd* | a29k-*-sym1*) a29k-*-bsd* | a29k-*-sym1*)
tm_file="${tm_file} a29k/unix.h" tm_file="${tm_file} a29k/unix.h"
xm_defines=USG xm_defines=POSIX
xmake_file=a29k/x-unix xmake_file=a29k/x-unix
use_collect2=yes use_collect2=yes
;; ;;
...@@ -358,7 +358,7 @@ alpha-*-interix) ...@@ -358,7 +358,7 @@ alpha-*-interix)
# GAS + IEEE_CONFORMANT # GAS + IEEE_CONFORMANT
target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT" target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT"
xm_defines=USG xm_defines=POSIX
xm_file="alpha/xm-alpha-interix.h xm-interix.h" xm_file="alpha/xm-alpha-interix.h xm-interix.h"
xmake_file=x-interix xmake_file=x-interix
tmake_file="alpha/t-alpha alpha/t-interix alpha/t-ieee" tmake_file="alpha/t-alpha alpha/t-interix alpha/t-ieee"
...@@ -372,7 +372,6 @@ alpha-*-interix) ...@@ -372,7 +372,6 @@ alpha-*-interix)
#local_prefix='$$INTERIX_ROOT'/usr/contrib #local_prefix='$$INTERIX_ROOT'/usr/contrib
;; ;;
alpha*-*-linux*ecoff*) alpha*-*-linux*ecoff*)
xm_defines=POSIX
tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h" tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="alpha/t-alpha alpha/t-ieee" tmake_file="alpha/t-alpha alpha/t-ieee"
...@@ -611,7 +610,7 @@ c4x-*) ...@@ -611,7 +610,7 @@ c4x-*)
;; ;;
clipper-intergraph-clix*) clipper-intergraph-clix*)
tm_file="${tm_file} svr3.h clipper/clix.h" tm_file="${tm_file} svr3.h clipper/clix.h"
xm_defines=USG xm_defines=POSIX
extra_headers=va-clipper.h extra_headers=va-clipper.h
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
...@@ -701,14 +700,14 @@ hppa1.0-*-bsd*) ...@@ -701,14 +700,14 @@ hppa1.0-*-bsd*)
;; ;;
hppa1.0-*-hpux7*) hppa1.0-*-hpux7*)
tm_file="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h" tm_file="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
use_collect2=yes use_collect2=yes
;; ;;
hppa1.0-*-hpux8.0[0-2]*) hppa1.0-*-hpux8.0[0-2]*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
if test x$gas != xyes if test x$gas != xyes
then then
...@@ -720,7 +719,7 @@ hppa1.0-*-hpux8.0[0-2]*) ...@@ -720,7 +719,7 @@ hppa1.0-*-hpux8.0[0-2]*)
hppa1.1-*-hpux8.0[0-2]*) hppa1.1-*-hpux8.0[0-2]*)
target_cpu_default="MASK_PA_11" target_cpu_default="MASK_PA_11"
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
if test x$gas != xyes if test x$gas != xyes
then then
...@@ -732,14 +731,14 @@ hppa1.1-*-hpux8.0[0-2]*) ...@@ -732,14 +731,14 @@ hppa1.1-*-hpux8.0[0-2]*)
hppa1.1-*-hpux8*) hppa1.1-*-hpux8*)
target_cpu_default="MASK_PA_11" target_cpu_default="MASK_PA_11"
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
use_collect2=yes use_collect2=yes
;; ;;
hppa1.0-*-hpux8*) hppa1.0-*-hpux8*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
use_collect2=yes use_collect2=yes
...@@ -748,7 +747,7 @@ hppa1.1-*-hpux10* | hppa2*-*-hpux10*) ...@@ -748,7 +747,7 @@ hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
target_cpu_default="MASK_PA_11" target_cpu_default="MASK_PA_11"
tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h" tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
float_format=i128 float_format=i128
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
tmake_file=pa/t-pa tmake_file=pa/t-pa
if test x$enable_threads = x; then if test x$enable_threads = x; then
...@@ -765,7 +764,7 @@ hppa1.1-*-hpux10* | hppa2*-*-hpux10*) ...@@ -765,7 +764,7 @@ hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
hppa1.0-*-hpux10*) hppa1.0-*-hpux10*)
tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h" tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
float_format=i128 float_format=i128
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
tmake_file=pa/t-pa tmake_file=pa/t-pa
if test x$enable_threads = x; then if test x$enable_threads = x; then
...@@ -780,7 +779,7 @@ hppa1.0-*-hpux10*) ...@@ -780,7 +779,7 @@ hppa1.0-*-hpux10*)
use_collect2=yes use_collect2=yes
;; ;;
hppa*64*-*-hpux11*) hppa*64*-*-hpux11*)
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
tmake_file=pa/t-pa tmake_file=pa/t-pa
tm_file="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h" tm_file="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
...@@ -802,7 +801,7 @@ hppa1.1-*-hpux11* | hppa2*-*-hpux11*) ...@@ -802,7 +801,7 @@ hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
target_cpu_default="MASK_PA_11" target_cpu_default="MASK_PA_11"
tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h" tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
float_format=i128 float_format=i128
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
tmake_file=pa/t-pa tmake_file=pa/t-pa
# if test x$enable_threads = x; then # if test x$enable_threads = x; then
...@@ -818,7 +817,7 @@ hppa1.1-*-hpux11* | hppa2*-*-hpux11*) ...@@ -818,7 +817,7 @@ hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
hppa1.0-*-hpux11*) hppa1.0-*-hpux11*)
tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h" tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
float_format=i128 float_format=i128
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
# if test x$enable_threads = x; then # if test x$enable_threads = x; then
# enable_threads=$have_pthread_h # enable_threads=$have_pthread_h
...@@ -833,14 +832,14 @@ hppa1.0-*-hpux11*) ...@@ -833,14 +832,14 @@ hppa1.0-*-hpux11*)
hppa1.1-*-hpux* | hppa2*-*-hpux*) hppa1.1-*-hpux* | hppa2*-*-hpux*)
target_cpu_default="MASK_PA_11" target_cpu_default="MASK_PA_11"
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
use_collect2=yes use_collect2=yes
;; ;;
hppa1.0-*-hpux*) hppa1.0-*-hpux*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
use_collect2=yes use_collect2=yes
...@@ -848,14 +847,14 @@ hppa1.0-*-hpux*) ...@@ -848,14 +847,14 @@ hppa1.0-*-hpux*)
hppa1.1-*-hiux* | hppa2*-*-hiux*) hppa1.1-*-hiux* | hppa2*-*-hiux*)
target_cpu_default="MASK_PA_11" target_cpu_default="MASK_PA_11"
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
use_collect2=yes use_collect2=yes
;; ;;
hppa1.0-*-hiux*) hppa1.0-*-hiux*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
xm_defines=USG xm_defines=POSIX
xmake_file=pa/x-pa-hpux xmake_file=pa/x-pa-hpux
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
use_collect2=yes use_collect2=yes
...@@ -874,13 +873,13 @@ hppa*-*-mpeix*) ...@@ -874,13 +873,13 @@ hppa*-*-mpeix*)
use_collect2=yes use_collect2=yes
;; ;;
i370-*-opened*) # IBM 360/370/390 Architecture i370-*-opened*) # IBM 360/370/390 Architecture
xm_defines='USG FATAL_EXIT_CODE=12' xm_defines='POSIX FATAL_EXIT_CODE=12'
tm_file=i370/oe.h tm_file=i370/oe.h
xmake_file=i370/x-oe xmake_file=i370/x-oe
tmake_file=i370/t-oe tmake_file=i370/t-oe
;; ;;
i370-*-mvs*) i370-*-mvs*)
xm_defines='USG FATAL_EXIT_CODE=12' xm_defines='POSIX FATAL_EXIT_CODE=12'
tm_file=i370/mvs.h tm_file=i370/mvs.h
tmake_file=i370/t-mvs tmake_file=i370/t-mvs
;; ;;
...@@ -899,7 +898,7 @@ i370-*-linux*) ...@@ -899,7 +898,7 @@ i370-*-linux*)
fi fi
;; ;;
i[34567]86-*-chorusos*) i[34567]86-*-chorusos*)
xm_defines='USG POSIX' xm_defines=POSIX
tm_file="i386/i386.h i386/att.h elfos.h i386/i386elf.h i386/chorus.h" tm_file="i386/i386.h i386/att.h elfos.h i386/i386elf.h i386/chorus.h"
tmake_file=i386/t-i386elf tmake_file=i386/t-i386elf
xmake_file=x-svr4 xmake_file=x-svr4
...@@ -910,7 +909,7 @@ i[34567]86-*-chorusos*) ...@@ -910,7 +909,7 @@ i[34567]86-*-chorusos*)
esac esac
;; ;;
i[34567]86-*-elf*) i[34567]86-*-elf*)
xm_defines='USG POSIX' xm_defines=POSIX
tm_file="i386/i386.h i386/att.h elfos.h i386/i386elf.h" tm_file="i386/i386.h i386/att.h elfos.h i386/i386elf.h"
tmake_file=i386/t-i386elf tmake_file=i386/t-i386elf
xmake_file=x-svr4 xmake_file=x-svr4
...@@ -925,11 +924,11 @@ i[34567]86-ibm-aix*) # IBM PS/2 running AIX ...@@ -925,11 +924,11 @@ i[34567]86-ibm-aix*) # IBM PS/2 running AIX
tm_file=i386/aix386ng.h tm_file=i386/aix386ng.h
use_collect2=yes use_collect2=yes
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=i386/x-aix xmake_file=i386/x-aix
;; ;;
i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4 i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
xm_defines="USG POSIX SMALL_ARG_MAX" xm_defines="POSIX SMALL_ARG_MAX"
if test x$stabs = xyes -a x$gas = xyes if test x$stabs = xyes -a x$gas = xyes
then then
tm_file=i386/sysv4gdb.h tm_file=i386/sysv4gdb.h
...@@ -962,14 +961,14 @@ i[34567]86-sequent-bsd*) # 80386 from Sequent ...@@ -962,14 +961,14 @@ i[34567]86-sequent-bsd*) # 80386 from Sequent
fi fi
;; ;;
i[34567]86-sequent-ptx1*) i[34567]86-sequent-ptx1*)
xm_defines=USG xm_defines=POSIX
tm_file=i386/seq-sysv3.h tm_file=i386/seq-sysv3.h
tmake_file=i386/t-crtstuff tmake_file=i386/t-crtstuff
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
;; ;;
i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*) i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*)
xm_defines=USG xm_defines=POSIX
tm_file=i386/seq2-sysv3.h tm_file=i386/seq2-sysv3.h
tmake_file=i386/t-crtstuff tmake_file=i386/t-crtstuff
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
...@@ -980,7 +979,7 @@ i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*) ...@@ -980,7 +979,7 @@ i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
then then
tm_file="${tm_file} usegas.h" tm_file="${tm_file} usegas.h"
fi fi
xm_defines="USG POSIX SMALL_ARG_MAX" xm_defines="POSIX SMALL_ARG_MAX"
xmake_file=x-svr4 xmake_file=x-svr4
tm_file=i386/ptx4-i.h tm_file=i386/ptx4-i.h
tmake_file=t-svr4 tmake_file=t-svr4
...@@ -988,7 +987,7 @@ i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*) ...@@ -988,7 +987,7 @@ i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
;; ;;
i386-sun-sunos*) # Sun i386 roadrunner i386-sun-sunos*) # Sun i386 roadrunner
xm_defines=USG xm_defines=POSIX
tm_file=i386/sun.h tm_file=i386/sun.h
use_collect2=yes use_collect2=yes
;; ;;
...@@ -1002,7 +1001,7 @@ i[34567]86-*-aout*) ...@@ -1002,7 +1001,7 @@ i[34567]86-*-aout*)
tmake_file=i386/t-i386bare tmake_file=i386/t-i386bare
;; ;;
i[34567]86-*-beoself* | i[34567]86-*-beos*) i[34567]86-*-beoself* | i[34567]86-*-beos*)
xm_defines=USG xm_defines=POSIX
tmake_file='i386/t-beos i386/t-crtpic' tmake_file='i386/t-beos i386/t-crtpic'
tm_file=i386/beos-elf.h tm_file=i386/beos-elf.h
xmake_file=i386/x-beos xmake_file=i386/x-beos
...@@ -1050,7 +1049,7 @@ i[34567]86-*-coff*) ...@@ -1050,7 +1049,7 @@ i[34567]86-*-coff*)
tmake_file=i386/t-i386bare tmake_file=i386/t-i386bare
;; ;;
i[34567]86-*-isc*) # 80386 running ISC system i[34567]86-*-isc*) # 80386 running ISC system
xm_defines=USG xm_defines=POSIX
if test x$gas = xyes -a x$stabs = xyes if test x$gas = xyes -a x$stabs = xyes
then then
tm_file=i386/iscdbx.h tm_file=i386/iscdbx.h
...@@ -1185,7 +1184,7 @@ i[34567]86-*-rtems*|i[34567]86-*-rtemself*) ...@@ -1185,7 +1184,7 @@ i[34567]86-*-rtems*|i[34567]86-*-rtemself*)
fi fi
;; ;;
i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
xm_defines=USG xm_defines=POSIX
xmake_file=i386/x-sco5 xmake_file=i386/x-sco5
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
tm_file=i386/sco5.h tm_file=i386/sco5.h
...@@ -1200,7 +1199,7 @@ i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 ...@@ -1200,7 +1199,7 @@ i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o" extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
;; ;;
i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
xm_defines="USG BROKEN_LDEXP SMALL_ARG_MAX" xm_defines="POSIX BROKEN_LDEXP SMALL_ARG_MAX"
xmake_file=i386/x-sco4 xmake_file=i386/x-sco4
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
if test x$stabs = xyes if test x$stabs = xyes
...@@ -1235,7 +1234,7 @@ i[34567]86-*-sco*) # 80386 running SCO system ...@@ -1235,7 +1234,7 @@ i[34567]86-*-sco*) # 80386 running SCO system
truncate_target=yes truncate_target=yes
;; ;;
i[34567]86-*-solaris2*) i[34567]86-*-solaris2*)
xm_defines="USG POSIX SMALL_ARG_MAX" xm_defines="POSIX SMALL_ARG_MAX"
tm_file=i386/sol2.h tm_file=i386/sol2.h
if test x$gas = xyes; then if test x$gas = xyes; then
# Only needed if gas does not support -s # Only needed if gas does not support -s
...@@ -1259,7 +1258,7 @@ i[34567]86-*-solaris2*) ...@@ -1259,7 +1258,7 @@ i[34567]86-*-solaris2*)
fi fi
;; ;;
i[34567]86-*-sysv5*) # Intel x86 on System V Release 5 i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
xm_defines="USG POSIX" xm_defines=POSIX
tm_file=i386/sysv5.h tm_file=i386/sysv5.h
if test x$stabs = xyes if test x$stabs = xyes
then then
...@@ -1273,7 +1272,7 @@ i[34567]86-*-sysv5*) # Intel x86 on System V Release 5 ...@@ -1273,7 +1272,7 @@ i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
fi fi
;; ;;
i[34567]86-*-sysv4*) # Intel 80386's running system V.4 i[34567]86-*-sysv4*) # Intel 80386's running system V.4
xm_defines="USG POSIX SMALL_ARG_MAX" xm_defines="POSIX SMALL_ARG_MAX"
tm_file=i386/sysv4.h tm_file=i386/sysv4.h
if test x$stabs = xyes if test x$stabs = xyes
then then
...@@ -1284,7 +1283,7 @@ i[34567]86-*-sysv4*) # Intel 80386's running system V.4 ...@@ -1284,7 +1283,7 @@ i[34567]86-*-sysv4*) # Intel 80386's running system V.4
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
xm_defines="USG POSIX" xm_defines=POSIX
tm_file=i386/udk.h tm_file=i386/udk.h
tmake_file="i386/t-i386bare i386/t-crtpic i386/t-udk" tmake_file="i386/t-i386bare i386/t-crtpic i386/t-udk"
xmake_file=x-svr4 xmake_file=x-svr4
...@@ -1294,7 +1293,7 @@ i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit ...@@ -1294,7 +1293,7 @@ i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+ i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
cpu_type=i386 cpu_type=i386
xm_file=i386/xm-osf1elf.h xm_file=i386/xm-osf1elf.h
xm_defines='USG POSIX USE_C_ALLOCA SMALL_ARG_MAX' xm_defines='POSIX USE_C_ALLOCA SMALL_ARG_MAX'
if test x$stabs = xyes if test x$stabs = xyes
then then
tm_file=i386/osf1elfgdb.h tm_file=i386/osf1elfgdb.h
...@@ -1306,7 +1305,7 @@ i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+ ...@@ -1306,7 +1305,7 @@ i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
extra_parts="crti.o crtn.o crtbegin.o crtend.o" extra_parts="crti.o crtn.o crtbegin.o crtend.o"
;; ;;
i[34567]86-*-sysv*) # Intel 80386's running system V i[34567]86-*-sysv*) # Intel 80386's running system V
xm_defines=USG xm_defines=POSIX
if test x$gas = xyes if test x$gas = xyes
then then
if test x$stabs = xyes if test x$stabs = xyes
...@@ -1360,7 +1359,7 @@ i[34567]86-*-pe | i[34567]86-*-cygwin*) ...@@ -1360,7 +1359,7 @@ i[34567]86-*-pe | i[34567]86-*-cygwin*)
i[34567]86-*-mingw32*) i[34567]86-*-mingw32*)
tm_file=i386/mingw32.h tm_file=i386/mingw32.h
float_format=i386 float_format=i386
xm_defines=USG xm_defines=POSIX
xm_file=i386/xm-mingw32.h xm_file=i386/xm-mingw32.h
tmake_file="i386/t-cygwin i386/t-mingw32" tmake_file="i386/t-cygwin i386/t-mingw32"
extra_objs=winnt.o extra_objs=winnt.o
...@@ -1390,7 +1389,7 @@ i[34567]86-*-uwin*) ...@@ -1390,7 +1389,7 @@ i[34567]86-*-uwin*)
i[34567]86-*-interix*) i[34567]86-*-interix*)
tm_file="i386/i386-interix.h interix.h" tm_file="i386/i386-interix.h interix.h"
xm_file="i386/xm-i386-interix.h xm-interix.h" xm_file="i386/xm-i386-interix.h xm-interix.h"
xm_defines="USG" xm_defines=POSIX
tmake_file="i386/t-interix" tmake_file="i386/t-interix"
extra_objs=interix.o extra_objs=interix.o
xmake_file=x-interix xmake_file=x-interix
...@@ -1402,7 +1401,7 @@ i[34567]86-*-interix*) ...@@ -1402,7 +1401,7 @@ i[34567]86-*-interix*)
fi fi
;; ;;
i[34567]86-dg-dgux*) i[34567]86-dg-dgux*)
xm_defines="USG POSIX" xm_defines=POSIX
out_file=i386/dgux.c out_file=i386/dgux.c
tm_file=i386/dgux.h tm_file=i386/dgux.h
tmake_file=i386/t-dgux tmake_file=i386/t-dgux
...@@ -1428,16 +1427,16 @@ i860-*-mach*) ...@@ -1428,16 +1427,16 @@ i860-*-mach*)
;; ;;
i860-*-osf*) # Intel Paragon XP/S, OSF/1AD i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
tm_file="${tm_file} svr3.h i860/paragon.h" tm_file="${tm_file} svr3.h i860/paragon.h"
xm_defines=USG xm_defines=POSIX
;; ;;
i860-*-sysv3*) i860-*-sysv3*)
tm_file="${tm_file} svr3.h i860/sysv3.h" tm_file="${tm_file} svr3.h i860/sysv3.h"
xm_defines=USG xm_defines=POSIX
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
i860-*-sysv4*) i860-*-sysv4*)
tm_file="${tm_file} svr4.h i860/sysv4.h" tm_file="${tm_file} svr4.h i860/sysv4.h"
xm_defines=USG xm_defines=POSIX
tmake_file=t-svr4 tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
...@@ -1539,7 +1538,7 @@ m68hc12-*-*|m6812-*-*) ...@@ -1539,7 +1538,7 @@ m68hc12-*-*|m6812-*-*)
;; ;;
m68000-convergent-sysv*) m68000-convergent-sysv*)
tm_file=m68k/ctix.h tm_file=m68k/ctix.h
xm_defines=USG xm_defines=POSIX
use_collect2=yes use_collect2=yes
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
...@@ -1549,7 +1548,7 @@ m68000-hp-bsd*) # HP 9000/200 running BSD ...@@ -1549,7 +1548,7 @@ m68000-hp-bsd*) # HP 9000/200 running BSD
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68000-hp-hpux*) # HP 9000 series 300 m68000-hp-hpux*) # HP 9000 series 300
xm_defines="USG" xm_defines=POSIX
if test x$gas = xyes if test x$gas = xyes
then then
xmake_file=m68k/x-hp320g xmake_file=m68k/x-hp320g
...@@ -1573,7 +1572,7 @@ m68000-sun-sunos4*) ...@@ -1573,7 +1572,7 @@ m68000-sun-sunos4*)
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68000-att-sysv*) m68000-att-sysv*)
xm_defines=USG xm_defines=POSIX
if test x$gas = xyes if test x$gas = xyes
then then
tm_file=m68k/3b1g.h tm_file=m68k/3b1g.h
...@@ -1584,7 +1583,7 @@ m68000-att-sysv*) ...@@ -1584,7 +1583,7 @@ m68000-att-sysv*)
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68k-apple-aux*) # Apple Macintosh running A/UX m68k-apple-aux*) # Apple Macintosh running A/UX
xm_defines="USG AUX" xm_defines=POSIX
tmake_file=m68k/t-aux tmake_file=m68k/t-aux
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
extra_headers=math-68881.h extra_headers=math-68881.h
...@@ -1615,7 +1614,7 @@ m68k-altos-sysv*) # Altos 3068 ...@@ -1615,7 +1614,7 @@ m68k-altos-sysv*) # Altos 3068
if test x$gas = xyes if test x$gas = xyes
then then
tm_file=m68k/altos3068.h tm_file=m68k/altos3068.h
xm_defines=USG xm_defines=POSIX
else else
echo "The Altos is supported only with the GNU assembler" 1>&2 echo "The Altos is supported only with the GNU assembler" 1>&2
exit 1 exit 1
...@@ -1634,14 +1633,14 @@ m68k-bull-sysv*) # Bull DPX/2 ...@@ -1634,14 +1633,14 @@ m68k-bull-sysv*) # Bull DPX/2
else else
tm_file=m68k/dpx2.h tm_file=m68k/dpx2.h
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=m68k/x-dpx2 xmake_file=m68k/x-dpx2
use_collect2=yes use_collect2=yes
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68k-atari-sysv4*) # Atari variant of V.4. m68k-atari-sysv4*) # Atari variant of V.4.
tm_file=m68k/atari.h tm_file=m68k/atari.h
xm_defines=USG xm_defines=POSIX
tmake_file=t-svr4 tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h extra_headers=math-68881.h
...@@ -1649,7 +1648,7 @@ m68k-atari-sysv4*) # Atari variant of V.4. ...@@ -1649,7 +1648,7 @@ m68k-atari-sysv4*) # Atari variant of V.4.
;; ;;
m68k-motorola-sysv*) m68k-motorola-sysv*)
tm_file=m68k/mot3300.h tm_file=m68k/mot3300.h
xm_defines=USG xm_defines=POSIX
if test x$gas = xyes if test x$gas = xyes
then then
if test x$gnu_ld = xyes if test x$gnu_ld = xyes
...@@ -1675,30 +1674,30 @@ m68k-motorola-sysv*) ...@@ -1675,30 +1674,30 @@ m68k-motorola-sysv*)
;; ;;
m68k-ncr-sysv*) # NCR Tower 32 SVR3 m68k-ncr-sysv*) # NCR Tower 32 SVR3
tm_file=m68k/tower-as.h tm_file=m68k/tower-as.h
xm_defines=USG xm_defines=POSIX
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68k-plexus-sysv*) m68k-plexus-sysv*)
tm_file=m68k/plexus.h tm_file=m68k/plexus.h
xm_defines=USG xm_defines=POSIX
use_collect2=yes use_collect2=yes
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68k-tti-*) m68k-tti-*)
tm_file=m68k/pbb.h tm_file=m68k/pbb.h
xm_defines=USG xm_defines=POSIX
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68k-crds-unos*) m68k-crds-unos*)
xm_defines="USG unos" xm_defines=POSIX
tm_file=m68k/crds.h tm_file=m68k/crds.h
use_collect2=yes use_collect2=yes
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68k-cbm-sysv4*) # Commodore variant of V.4. m68k-cbm-sysv4*) # Commodore variant of V.4.
tm_file=m68k/amix.h tm_file=m68k/amix.h
xm_defines=USG xm_defines=POSIX
tmake_file=t-svr4 tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h extra_headers=math-68881.h
...@@ -1734,7 +1733,7 @@ m68k-isi-bsd*) ...@@ -1734,7 +1733,7 @@ m68k-isi-bsd*)
extra_headers=math-68881.h extra_headers=math-68881.h
;; ;;
m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7. m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
xm_defines="USG" xm_defines=POSIX
if test x$gas = xyes if test x$gas = xyes
then then
xmake_file=m68k/x-hp320g xmake_file=m68k/x-hp320g
...@@ -1749,7 +1748,7 @@ m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7. ...@@ -1749,7 +1748,7 @@ m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
float_format=m68k float_format=m68k
;; ;;
m68k-hp-hpux*) # HP 9000 series 300 m68k-hp-hpux*) # HP 9000 series 300
xm_defines="USG" xm_defines=POSIX
if test x$gas = xyes if test x$gas = xyes
then then
xmake_file=m68k/x-hp320g xmake_file=m68k/x-hp320g
...@@ -1855,7 +1854,7 @@ m68k-*-coff*) ...@@ -1855,7 +1854,7 @@ m68k-*-coff*)
;; ;;
m68020-*-elf* | m68k-*-elf*) m68020-*-elf* | m68k-*-elf*)
tm_file="m68k/m68020-elf.h" tm_file="m68k/m68020-elf.h"
xm_defines=USG xm_defines=POSIX
tmake_file=m68k/t-m68kelf tmake_file=m68k/t-m68kelf
header_files=math-68881.h header_files=math-68881.h
;; ;;
...@@ -1882,14 +1881,14 @@ m68k*-*-openbsd*) ...@@ -1882,14 +1881,14 @@ m68k*-*-openbsd*)
use_collect2=yes use_collect2=yes
;; ;;
m68k-*-sysv3*) # Motorola m68k's running system V.3 m68k-*-sysv3*) # Motorola m68k's running system V.3
xm_defines=USG xm_defines=POSIX
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h extra_headers=math-68881.h
float_format=m68k float_format=m68k
;; ;;
m68k-*-sysv4*) # Motorola m68k's running system V.4 m68k-*-sysv4*) # Motorola m68k's running system V.4
tm_file=m68k/m68kv4.h tm_file=m68k/m68kv4.h
xm_defines=USG xm_defines=POSIX
tmake_file=t-svr4 tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h extra_headers=math-68881.h
...@@ -1954,7 +1953,7 @@ m68k-*-rtemself*|m68k-*-rtems*) ...@@ -1954,7 +1953,7 @@ m68k-*-rtemself*|m68k-*-rtems*)
fi fi
;; ;;
m88k-dg-dgux*) m88k-dg-dgux*)
xm_defines=USG xm_defines=POSIX
case $machine in case $machine in
m88k-dg-dguxbcs*) m88k-dg-dguxbcs*)
tm_file=m88k/dguxbcs.h tm_file=m88k/dguxbcs.h
...@@ -1973,7 +1972,7 @@ m88k-dg-dgux*) ...@@ -1973,7 +1972,7 @@ m88k-dg-dgux*)
fi fi
;; ;;
m88k-dolphin-sysv3*) m88k-dolphin-sysv3*)
xm_defines=USG xm_defines=POSIX
tm_file=m88k/dolph.h tm_file=m88k/dolph.h
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
xmake_file=m88k/x-dolph xmake_file=m88k/x-dolph
...@@ -1983,7 +1982,7 @@ m88k-dolphin-sysv3*) ...@@ -1983,7 +1982,7 @@ m88k-dolphin-sysv3*)
fi fi
;; ;;
m88k-tektronix-sysv3) m88k-tektronix-sysv3)
xm_defines=USG xm_defines=POSIX
tm_file=m88k/tekXD88.h tm_file=m88k/tekXD88.h
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
xmake_file=m88k/x-tekXD88 xmake_file=m88k/x-tekXD88
...@@ -1993,11 +1992,11 @@ m88k-tektronix-sysv3) ...@@ -1993,11 +1992,11 @@ m88k-tektronix-sysv3)
fi fi
;; ;;
m88k-*-aout*) m88k-*-aout*)
xm_defines=USG xm_defines=POSIX
tm_file=m88k/m88k-aout.h tm_file=m88k/m88k-aout.h
;; ;;
m88k-*-coff*) m88k-*-coff*)
xm_defines=USG xm_defines=POSIX
tm_file=m88k/m88k-coff.h tm_file=m88k/m88k-coff.h
tmake_file=m88k/t-bug tmake_file=m88k/t-bug
;; ;;
...@@ -2016,7 +2015,7 @@ m88k-*-openbsd*) ...@@ -2016,7 +2015,7 @@ m88k-*-openbsd*)
tm_file="m88k/aout-dbx.h aoutos.h m88k/m88k.h openbsd.h ${tm_file}" tm_file="m88k/aout-dbx.h aoutos.h m88k/m88k.h openbsd.h ${tm_file}"
;; ;;
m88k-*-sysv3*) m88k-*-sysv3*)
xm_defines=USG xm_defines=POSIX
tm_file=m88k/sysv3.h tm_file=m88k/sysv3.h
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
if test x$gas = xyes if test x$gas = xyes
...@@ -2025,7 +2024,7 @@ m88k-*-sysv3*) ...@@ -2025,7 +2024,7 @@ m88k-*-sysv3*)
fi fi
;; ;;
m88k-*-sysv4*) m88k-*-sysv4*)
xm_defines=USG xm_defines=POSIX
tm_file=m88k/sysv4.h tm_file=m88k/sysv4.h
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
tmake_file=m88k/t-sysv4 tmake_file=m88k/t-sysv4
...@@ -2046,7 +2045,7 @@ mips-sgi-irix6*) # SGI System V.4., IRIX 6 ...@@ -2046,7 +2045,7 @@ mips-sgi-irix6*) # SGI System V.4., IRIX 6
tm_file=mips/iris6.h tm_file=mips/iris6.h
fi fi
tmake_file=mips/t-iris6 tmake_file=mips/t-iris6
xm_defines=USG xm_defines=POSIX
xmake_file=mips/x-iris6 xmake_file=mips/x-iris6
# if test x$enable_threads = xyes; then # if test x$enable_threads = xyes; then
# thread_file='irix' # thread_file='irix'
...@@ -2062,7 +2061,7 @@ mips-wrs-vxworks) ...@@ -2062,7 +2061,7 @@ mips-wrs-vxworks)
;; ;;
mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
tm_file="mips/iris6.h mips/cross64.h" tm_file="mips/iris6.h mips/cross64.h"
xm_defines=USG xm_defines=POSIX
xm_file=mips/xm-iris5.h xm_file=mips/xm-iris5.h
xmake_file=mips/x-iris xmake_file=mips/x-iris
tmake_file=mips/t-cross64 tmake_file=mips/t-cross64
...@@ -2084,7 +2083,7 @@ mips-sni-sysv4) ...@@ -2084,7 +2083,7 @@ mips-sni-sysv4)
else else
tm_file=mips/sni-svr4.h tm_file=mips/sni-svr4.h
fi fi
xm_defines=USG xm_defines=POSIX
tmake_file=mips/t-mips-gas tmake_file=mips/t-mips-gas
if test x$gnu_ld != xyes if test x$gnu_ld != xyes
then then
...@@ -2102,7 +2101,7 @@ mips-sgi-irix5*) # SGI System V.4., IRIX 5 ...@@ -2102,7 +2101,7 @@ mips-sgi-irix5*) # SGI System V.4., IRIX 5
else else
tm_file=mips/iris5.h tm_file=mips/iris5.h
fi fi
xm_defines=USG xm_defines=POSIX
xm_file=mips/xm-iris5.h xm_file=mips/xm-iris5.h
xmake_file=mips/x-iris xmake_file=mips/x-iris
# mips-tfile doesn't work yet # mips-tfile doesn't work yet
...@@ -2118,7 +2117,7 @@ mips-sgi-irix4loser*) # Mostly like a MIPS. ...@@ -2118,7 +2117,7 @@ mips-sgi-irix4loser*) # Mostly like a MIPS.
if test x$stabs = xyes; then if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=mips/x-iris xmake_file=mips/x-iris
if test x$gas = xyes if test x$gas = xyes
then then
...@@ -2139,7 +2138,7 @@ mips-sgi-irix4*) # Mostly like a MIPS. ...@@ -2139,7 +2138,7 @@ mips-sgi-irix4*) # Mostly like a MIPS.
if test x$stabs = xyes; then if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=mips/x-iris xmake_file=mips/x-iris
if test x$gas = xyes if test x$gas = xyes
then then
...@@ -2160,7 +2159,7 @@ mips-sgi-*) # Mostly like a MIPS. ...@@ -2160,7 +2159,7 @@ mips-sgi-*) # Mostly like a MIPS.
if test x$stabs = xyes; then if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=mips/x-iris3 xmake_file=mips/x-iris3
if test x$gas = xyes if test x$gas = xyes
then then
...@@ -2261,7 +2260,7 @@ mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0. ...@@ -2261,7 +2260,7 @@ mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0.
if test x$stabs = xyes; then if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi fi
xm_defines=USG xm_defines=POSIX
if test x$gas = xyes if test x$gas = xyes
then then
tmake_file=mips/t-mips-gas tmake_file=mips/t-mips-gas
...@@ -2278,7 +2277,7 @@ mips-tandem-sysv4*) # Tandem S2 running NonStop UX ...@@ -2278,7 +2277,7 @@ mips-tandem-sysv4*) # Tandem S2 running NonStop UX
if test x$stabs = xyes; then if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=mips/x-sysv xmake_file=mips/x-sysv
if test x$gas = xyes if test x$gas = xyes
then then
...@@ -2367,7 +2366,7 @@ mips-*-sysv4* | mips-*-riscos[1234]sysv4* | mips-*-riscossysv4*) ...@@ -2367,7 +2366,7 @@ mips-*-sysv4* | mips-*-riscos[1234]sysv4* | mips-*-riscossysv4*)
if test x$stabs = xyes; then if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=mips/x-sysv xmake_file=mips/x-sysv
if test x$gas = xyes if test x$gas = xyes
then then
...@@ -2386,7 +2385,7 @@ mips-*-riscos[56789]sysv*) ...@@ -2386,7 +2385,7 @@ mips-*-riscos[56789]sysv*)
if test x$stabs = xyes; then if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=mips/x-sysv xmake_file=mips/x-sysv
if test x$gas = xyes if test x$gas = xyes
then then
...@@ -2405,7 +2404,7 @@ mips-*-sysv* | mips-*-riscos*sysv*) ...@@ -2405,7 +2404,7 @@ mips-*-sysv* | mips-*-riscos*sysv*)
if test x$stabs = xyes; then if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi fi
xm_defines=USG xm_defines=POSIX
xmake_file=mips/x-sysv xmake_file=mips/x-sysv
if test x$gas = xyes if test x$gas = xyes
then then
...@@ -2557,7 +2556,7 @@ ns32k-pc532-mach*) ...@@ -2557,7 +2556,7 @@ ns32k-pc532-mach*)
;; ;;
ns32k-pc532-minix*) ns32k-pc532-minix*)
tm_file=ns32k/pc532-min.h tm_file=ns32k/pc532-min.h
xm_defines='USG HZ=60' xm_defines='POSIX HZ=60'
use_collect2=yes use_collect2=yes
;; ;;
ns32k-*-netbsd*) ns32k-*-netbsd*)
...@@ -2600,7 +2599,7 @@ powerpc-*-openbsd*) ...@@ -2600,7 +2599,7 @@ powerpc-*-openbsd*)
powerpc-*-beos*) powerpc-*-beos*)
cpu_type=rs6000 cpu_type=rs6000
tm_file="${tm_file} rs6000/aix.h rs6000/beos.h" tm_file="${tm_file} rs6000/aix.h rs6000/beos.h"
xm_defines=USG xm_defines=POSIX
xm_file=rs6000/xm-beos.h xm_file=rs6000/xm-beos.h
tmake_file=rs6000/t-beos tmake_file=rs6000/t-beos
;; ;;
...@@ -2620,12 +2619,12 @@ powerpc-*-darwin*) ...@@ -2620,12 +2619,12 @@ powerpc-*-darwin*)
;; ;;
powerpc-*-sysv*) powerpc-*-sysv*)
tm_file="${tm_file} svr4.h rs6000/sysv4.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h"
xm_defines="USG POSIX" xm_defines=POSIX
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
;; ;;
powerpc-*-chorusos*) powerpc-*-chorusos*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/chorus.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/chorus.h"
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
...@@ -2636,31 +2635,31 @@ powerpc-*-chorusos*) ...@@ -2636,31 +2635,31 @@ powerpc-*-chorusos*)
esac esac
;; ;;
powerpc-*-eabiaix*) powerpc-*-eabiaix*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpc-*-eabisim*) powerpc-*-eabisim*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpc-*-elf*) powerpc-*-elf*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpc-*-eabi*) powerpc-*-eabi*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpc-*-rtems*) powerpc-*-rtems*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rtems.h rs6000/rtems.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rtems.h rs6000/rtems.h"
tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
...@@ -2670,7 +2669,6 @@ powerpc-*-rtems*) ...@@ -2670,7 +2669,6 @@ powerpc-*-rtems*)
;; ;;
powerpc-*-linux*libc1) powerpc-*-linux*libc1)
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
xm_defines='USG POSIX'
out_file=rs6000/rs6000.c out_file=rs6000/rs6000.c
tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm" tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
xmake_file=x-linux xmake_file=x-linux
...@@ -2681,7 +2679,6 @@ powerpc-*-linux*libc1) ...@@ -2681,7 +2679,6 @@ powerpc-*-linux*libc1)
;; ;;
powerpc-*-linux*) powerpc-*-linux*)
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
xm_defines="USG ${xm_defines}"
out_file=rs6000/rs6000.c out_file=rs6000/rs6000.c
tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm" tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
xmake_file=x-linux xmake_file=x-linux
...@@ -2692,7 +2689,7 @@ powerpc-*-linux*) ...@@ -2692,7 +2689,7 @@ powerpc-*-linux*)
;; ;;
powerpc-wrs-vxworks*) powerpc-wrs-vxworks*)
cpu_type=rs6000 cpu_type=rs6000
xm_defines="USG POSIX" xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/vxppc.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/vxppc.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
...@@ -2700,7 +2697,7 @@ powerpc-wrs-vxworks*) ...@@ -2700,7 +2697,7 @@ powerpc-wrs-vxworks*)
;; ;;
powerpcle-wrs-vxworks*) powerpcle-wrs-vxworks*)
cpu_type=rs6000 cpu_type=rs6000
xm_defines="USG POSIX" xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
...@@ -2708,50 +2705,50 @@ powerpcle-wrs-vxworks*) ...@@ -2708,50 +2705,50 @@ powerpcle-wrs-vxworks*)
;; ;;
powerpcle-*-sysv*) powerpcle-*-sysv*)
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
xm_defines="USG POSIX" xm_defines=POSIX
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpcle-*-elf*) powerpcle-*-elf*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpcle-*-eabisim*) powerpcle-*-eabisim*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpcle-*-eabi*) powerpcle-*-eabi*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpcle-*-solaris2*) powerpcle-*-solaris2*)
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h" tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h"
xm_defines="USG POSIX" xm_defines=POSIX
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
rs6000-ibm-aix3.[01]*) rs6000-ibm-aix3.[01]*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h" tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h"
xmake_file=rs6000/x-aix31 xmake_file=rs6000/x-aix31
float_format=none float_format=none
use_collect2=yes use_collect2=yes
;; ;;
rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*) rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h" tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h"
tmake_file=rs6000/t-newas tmake_file=rs6000/t-newas
float_format=none float_format=none
use_collect2=yes use_collect2=yes
;; ;;
rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*) rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h" tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h"
tmake_file=rs6000/t-newas tmake_file=rs6000/t-newas
xmake_file=rs6000/x-aix41 xmake_file=rs6000/x-aix41
...@@ -2759,7 +2756,7 @@ rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*) ...@@ -2759,7 +2756,7 @@ rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
use_collect2=yes use_collect2=yes
;; ;;
rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h" tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h"
tmake_file=rs6000/t-aix43 tmake_file=rs6000/t-aix43
xmake_file=rs6000/x-aix41 xmake_file=rs6000/x-aix41
...@@ -2768,7 +2765,7 @@ rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) ...@@ -2768,7 +2765,7 @@ rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
thread_file='aix' thread_file='aix'
;; ;;
rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} rs6000/aix.h rs6000/aix51.h" tm_file="${tm_file} rs6000/aix.h rs6000/aix51.h"
tmake_file=rs6000/t-aix43 tmake_file=rs6000/t-aix43
xmake_file=rs6000/x-aix41 xmake_file=rs6000/x-aix41
...@@ -2777,20 +2774,20 @@ rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) ...@@ -2777,20 +2774,20 @@ rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
thread_file='aix' thread_file='aix'
;; ;;
rs6000-ibm-aix*) rs6000-ibm-aix*)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} rs6000/aix.h" tm_file="${tm_file} rs6000/aix.h"
float_format=none float_format=none
use_collect2=yes use_collect2=yes
;; ;;
rs6000-bull-bosx) rs6000-bull-bosx)
xm_defines=USG xm_defines=POSIX
tm_file="${tm_file} rs6000/aix.h" tm_file="${tm_file} rs6000/aix.h"
float_format=none float_format=none
use_collect2=yes use_collect2=yes
;; ;;
rs6000-*-mach*) rs6000-*-mach*)
tm_file=rs6000/mach.h tm_file=rs6000/mach.h
xm_defines=USG xm_defines=POSIX
use_collect2=yes use_collect2=yes
;; ;;
rs6000-*-lynxos*) rs6000-*-lynxos*)
...@@ -2834,7 +2831,7 @@ sh-*-*) ...@@ -2834,7 +2831,7 @@ sh-*-*)
;; ;;
sparc-tti-*) sparc-tti-*)
tm_file=sparc/pbd.h tm_file=sparc/pbd.h
xm_defines=USG xm_defines=POSIX
;; ;;
sparc64-wrs-vxworks*) sparc64-wrs-vxworks*)
tm_file="sparc/sol2.h sparc/elf.h sparc/vxsparc64.h" tm_file="sparc/sol2.h sparc/elf.h sparc/vxsparc64.h"
...@@ -2938,7 +2935,7 @@ sparcv9-*-solaris2*) ...@@ -2938,7 +2935,7 @@ sparcv9-*-solaris2*)
else else
tm_file=sparc/sol2-sld-64.h tm_file=sparc/sol2-sld-64.h
fi fi
xm_defines="USG POSIX" xm_defines=POSIX
tmake_file="sparc/t-sol2 sparc/t-sol2-64" tmake_file="sparc/t-sol2 sparc/t-sol2-64"
if test x$gnu_ld = xyes; then if test x$gnu_ld = xyes; then
tmake_file="$tmake_file sparc/t-slibgcc" tmake_file="$tmake_file sparc/t-slibgcc"
...@@ -2962,7 +2959,7 @@ sparcv9-*-solaris2*) ...@@ -2962,7 +2959,7 @@ sparcv9-*-solaris2*)
fi fi
;; ;;
sparc-hal-solaris2*) sparc-hal-solaris2*)
xm_defines="USG POSIX" xm_defines=POSIX
tm_file="sparc/sol2.h sparc/hal.h" tm_file="sparc/sol2.h sparc/hal.h"
tmake_file="sparc/t-halos sparc/t-sol2" tmake_file="sparc/t-halos sparc/t-sol2"
if test x$gnu_ld = xyes; then if test x$gnu_ld = xyes; then
...@@ -2988,7 +2985,7 @@ sparc-*-solaris2*) ...@@ -2988,7 +2985,7 @@ sparc-*-solaris2*)
else else
tm_file=sparc/sol2-sld.h tm_file=sparc/sol2-sld.h
fi fi
xm_defines="USG POSIX" xm_defines=POSIX
tmake_file=sparc/t-sol2 tmake_file=sparc/t-sol2
if test x$gnu_ld = xyes; then if test x$gnu_ld = xyes; then
tmake_file="$tmake_file sparc/t-slibgcc" tmake_file="$tmake_file sparc/t-slibgcc"
...@@ -3050,12 +3047,12 @@ sparc-*-sunos3*) ...@@ -3050,12 +3047,12 @@ sparc-*-sunos3*)
;; ;;
sparc-*-sysv4*) sparc-*-sysv4*)
tm_file=sparc/sysv4.h tm_file=sparc/sysv4.h
xm_defines="USG POSIX" xm_defines=POSIX
tmake_file=t-svr4 tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
sparc-*-vxsim*) sparc-*-vxsim*)
xm_defines="USG POSIX" xm_defines=POSIX
tm_file=sparc/vxsim.h tm_file=sparc/vxsim.h
tmake_file=sparc/t-vxsparc tmake_file=sparc/t-vxsparc
;; ;;
...@@ -3161,7 +3158,7 @@ vax-*-bsd*) # vaxen running BSD ...@@ -3161,7 +3158,7 @@ vax-*-bsd*) # vaxen running BSD
;; ;;
vax-*-sysv*) # vaxen running system V vax-*-sysv*) # vaxen running system V
tm_file="${tm_file} vax/vaxv.h" tm_file="${tm_file} vax/vaxv.h"
xm_defines=USG xm_defines=POSIX
float_format=vax float_format=vax
;; ;;
vax-*-netbsd*) vax-*-netbsd*)
...@@ -3189,7 +3186,7 @@ vax-*-*) # vax default entry ...@@ -3189,7 +3186,7 @@ vax-*-*) # vax default entry
float_format=vax float_format=vax
;; ;;
we32k-att-sysv*) we32k-att-sysv*)
xm_defines=USG xm_defines=POSIX
use_collect2=yes use_collect2=yes
;; ;;
xscale-*-elf) xscale-*-elf)
......
...@@ -72,7 +72,7 @@ extern int atexit (void (*)(void)); ...@@ -72,7 +72,7 @@ extern int atexit (void (*)(void));
extern int errno; extern int errno;
#endif #endif
#if defined(POSIX) || defined(USG) #ifdef POSIX
#include <string.h> #include <string.h>
#endif #endif
...@@ -83,7 +83,7 @@ extern int errno; ...@@ -83,7 +83,7 @@ extern int errno;
/* GCC supplies this header. */ /* GCC supplies this header. */
#include <limits.h> #include <limits.h>
#if defined(POSIX) || defined(USG) #ifdef POSIX
#include <time.h> #include <time.h>
#endif #endif
......
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