Commit 58600d24 by Todd Vierling Committed by Jeff Law

configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).

        * configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
        Accept arm32 as arm, m68k4k as m68k, mipsle as mips-dec, and any
        manufacturer id for ns32k.
        * configure: Regenerated.
        * config/netbsd.h: When using ASM_WEAKEN_LABEL, make it global too.
        * config/t-netbsd: Don't compile libgcc1-test as the fns are in libc.
        * config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0.
        * config/m68k/netbsd.h: Same.
        * config/ns32k/netbsd.h: Same.
        * config/sparc/netbsd.h: Same.

From-SVN: r21480
parent 15fec413
Wed Jul 29 23:49:23 1998 Todd Vierling <tv@netbsd.org>
* configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
Accept arm32 as arm, m68k4k as m68k, mipsle as mips-dec, and any
manufacturer id for ns32k.
* configure: Regenerated.
* config/netbsd.h: When using ASM_WEAKEN_LABEL, make it global too.
* config/t-netbsd: Don't compile libgcc1-test as the fns are in libc.
* config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0.
* config/m68k/netbsd.h: Same.
* config/ns32k/netbsd.h: Same.
* config/sparc/netbsd.h: Same.
Wed Jul 29 22:39:21 1998 Jeffrey A Law (law@cygnus.com) Wed Jul 29 22:39:21 1998 Jeffrey A Law (law@cygnus.com)
* unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO * unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO
......
...@@ -81,5 +81,5 @@ ...@@ -81,5 +81,5 @@
/* Until they use ELF or something that handles dwarf2 unwinds /* Until they use ELF or something that handles dwarf2 unwinds
and initialization stuff better. */ and initialization stuff better. */
#define DWARF2_UNWIND_INFO 0 #undef DWARF2_UNWIND_INFO
...@@ -59,5 +59,5 @@ ...@@ -59,5 +59,5 @@
/* Until they use ELF or something that handles dwarf2 unwinds /* Until they use ELF or something that handles dwarf2 unwinds
and initialization stuff better. */ and initialization stuff better. */
#define DWARF2_UNWIND_INFO 0 #undef DWARF2_UNWIND_INFO
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
#define GCC_INCLUDE_DIR "/usr/include" #define GCC_INCLUDE_DIR "/usr/include"
#undef INCLUDE_DEFAULTS #undef INCLUDE_DEFAULTS
#define INCLUDE_DEFAULTS \ #define INCLUDE_DEFAULTS \
{ \ { \
{ GPLUSPLUS_INCLUDE_DIR, 1, 1 }, \ { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1 }, \
{ GCC_INCLUDE_DIR, 0, 0 }, \ { GCC_INCLUDE_DIR, "GCC", 0, 0 }, \
{ 0, 0, 0 } \ { 0, 0, 0, 0 } \
} }
/* Under NetBSD, the normal location of the compiler back ends is the /* Under NetBSD, the normal location of the compiler back ends is the
...@@ -100,7 +100,8 @@ ...@@ -100,7 +100,8 @@
#undef ASM_WEAKEN_LABEL #undef ASM_WEAKEN_LABEL
#define ASM_WEAKEN_LABEL(FILE,NAME) \ #define ASM_WEAKEN_LABEL(FILE,NAME) \
do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ do { fputs ("\t.globl\t", FILE); assemble_name (FILE, NAME); \
fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
fputc ('\n', FILE); } while (0) fputc ('\n', FILE); } while (0)
/* The following macro defines the format used to output the second /* The following macro defines the format used to output the second
......
...@@ -108,5 +108,5 @@ Boston, MA 02111-1307, USA. ...@@ -108,5 +108,5 @@ Boston, MA 02111-1307, USA.
/* Until they use ELF or something that handles dwarf2 unwinds /* Until they use ELF or something that handles dwarf2 unwinds
and initialization stuff better. */ and initialization stuff better. */
#define DWARF2_UNWIND_INFO 0 #undefine DWARF2_UNWIND_INFO
...@@ -42,5 +42,5 @@ ...@@ -42,5 +42,5 @@
/* Until they use ELF or something that handles dwarf2 unwinds /* Until they use ELF or something that handles dwarf2 unwinds
and initialization stuff better. */ and initialization stuff better. */
#define DWARF2_UNWIND_INFO 0 #undef DWARF2_UNWIND_INFO
LIBGCC1=libgcc1.null LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null CROSS_LIBGCC1=libgcc1.null
LIBGCC1_TEST=
# Don't run fixproto # Don't run fixproto
STMP_FIXPROTO = STMP_FIXPROTO =
......
...@@ -2320,6 +2320,7 @@ for machine in $build $host $target; do ...@@ -2320,6 +2320,7 @@ for machine in $build $host $target; do
;; ;;
alpha*-*-netbsd*) alpha*-*-netbsd*)
tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h" tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h"
xm_file="xm-netbsd.h ${xm_file}"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="alpha/t-crtbe" tmake_file="alpha/t-crtbe"
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
...@@ -2420,9 +2421,9 @@ for machine in $build $host $target; do ...@@ -2420,9 +2421,9 @@ for machine in $build $host $target; do
tmake_file=arm/t-semiaof tmake_file=arm/t-semiaof
fixincludes=Makefile.in # There is nothing to fix fixincludes=Makefile.in # There is nothing to fix
;; ;;
arm-*-netbsd*) arm*-*-netbsd*)
tm_file=arm/netbsd.h tm_file=arm/netbsd.h
xm_file="xm-siglist.h ${xm_file}" xm_file="xm-netbsd.h ${xm_file}"
tmake_file="t-netbsd arm/t-netbsd" tmake_file="t-netbsd arm/t-netbsd"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
...@@ -2779,6 +2780,7 @@ for machine in $build $host $target; do ...@@ -2779,6 +2780,7 @@ for machine in $build $host $target; do
;; ;;
i[34567]86-*-netbsd*) i[34567]86-*-netbsd*)
tm_file=i386/netbsd.h tm_file=i386/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -3555,8 +3557,9 @@ for machine in $build $host $target; do ...@@ -3555,8 +3557,9 @@ for machine in $build $host $target; do
extra_headers=math-68881.h extra_headers=math-68881.h
float_format=m68k float_format=m68k
;; ;;
m68k-*-netbsd*) m68k*-*-netbsd*)
tm_file=m68k/netbsd.h tm_file=m68k/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -3875,8 +3878,9 @@ for machine in $build $host $target; do ...@@ -3875,8 +3878,9 @@ for machine in $build $host $target; do
use_collect2=yes use_collect2=yes
fi fi
;; ;;
mips-dec-netbsd*) # Decstation running NetBSD mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
tm_file=mips/netbsd.h tm_file=mips/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -4205,8 +4209,9 @@ for machine in $build $host $target; do ...@@ -4205,8 +4209,9 @@ for machine in $build $host $target; do
xm_defines=USG xm_defines=USG
use_collect2=yes use_collect2=yes
;; ;;
ns32k-pc532-netbsd*) ns32k-*-netbsd*)
tm_file=ns32k/netbsd.h tm_file=ns32k/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -4501,6 +4506,7 @@ for machine in $build $host $target; do ...@@ -4501,6 +4506,7 @@ for machine in $build $host $target; do
;; ;;
sparc-*-netbsd*) sparc-*-netbsd*)
tm_file=sparc/netbsd.h tm_file=sparc/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -4693,6 +4699,7 @@ for machine in $build $host $target; do ...@@ -4693,6 +4699,7 @@ for machine in $build $host $target; do
;; ;;
vax-*-netbsd*) vax-*-netbsd*)
tm_file="${tm_file} netbsd.h vax/netbsd.h" tm_file="${tm_file} netbsd.h vax/netbsd.h"
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -5270,7 +5277,7 @@ fi ...@@ -5270,7 +5277,7 @@ fi
# Figure out what assembler alignment features are present. # Figure out what assembler alignment features are present.
echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6 echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
echo "configure:5274: checking assembler alignment features" >&5 echo "configure:5281: checking assembler alignment features" >&5
gcc_cv_as= gcc_cv_as=
gcc_cv_as_alignment_features= gcc_cv_as_alignment_features=
gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,gcc$,gas,'` gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,gcc$,gas,'`
......
...@@ -413,6 +413,7 @@ for machine in $build $host $target; do ...@@ -413,6 +413,7 @@ for machine in $build $host $target; do
;; ;;
alpha*-*-netbsd*) alpha*-*-netbsd*)
tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h" tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h"
xm_file="xm-netbsd.h ${xm_file}"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="alpha/t-crtbe" tmake_file="alpha/t-crtbe"
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
...@@ -513,9 +514,9 @@ for machine in $build $host $target; do ...@@ -513,9 +514,9 @@ for machine in $build $host $target; do
tmake_file=arm/t-semiaof tmake_file=arm/t-semiaof
fixincludes=Makefile.in # There is nothing to fix fixincludes=Makefile.in # There is nothing to fix
;; ;;
arm-*-netbsd*) arm*-*-netbsd*)
tm_file=arm/netbsd.h tm_file=arm/netbsd.h
xm_file="xm-siglist.h ${xm_file}" xm_file="xm-netbsd.h ${xm_file}"
tmake_file="t-netbsd arm/t-netbsd" tmake_file="t-netbsd arm/t-netbsd"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
...@@ -872,6 +873,7 @@ for machine in $build $host $target; do ...@@ -872,6 +873,7 @@ for machine in $build $host $target; do
;; ;;
i[[34567]]86-*-netbsd*) i[[34567]]86-*-netbsd*)
tm_file=i386/netbsd.h tm_file=i386/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -1648,8 +1650,9 @@ for machine in $build $host $target; do ...@@ -1648,8 +1650,9 @@ for machine in $build $host $target; do
extra_headers=math-68881.h extra_headers=math-68881.h
float_format=m68k float_format=m68k
;; ;;
m68k-*-netbsd*) m68k*-*-netbsd*)
tm_file=m68k/netbsd.h tm_file=m68k/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -1968,8 +1971,9 @@ for machine in $build $host $target; do ...@@ -1968,8 +1971,9 @@ for machine in $build $host $target; do
use_collect2=yes use_collect2=yes
fi fi
;; ;;
mips-dec-netbsd*) # Decstation running NetBSD mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
tm_file=mips/netbsd.h tm_file=mips/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -2298,8 +2302,9 @@ for machine in $build $host $target; do ...@@ -2298,8 +2302,9 @@ for machine in $build $host $target; do
xm_defines=USG xm_defines=USG
use_collect2=yes use_collect2=yes
;; ;;
ns32k-pc532-netbsd*) ns32k-*-netbsd*)
tm_file=ns32k/netbsd.h tm_file=ns32k/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -2594,6 +2599,7 @@ for machine in $build $host $target; do ...@@ -2594,6 +2599,7 @@ for machine in $build $host $target; do
;; ;;
sparc-*-netbsd*) sparc-*-netbsd*)
tm_file=sparc/netbsd.h tm_file=sparc/netbsd.h
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
...@@ -2786,6 +2792,7 @@ for machine in $build $host $target; do ...@@ -2786,6 +2792,7 @@ for machine in $build $host $target; do
;; ;;
vax-*-netbsd*) vax-*-netbsd*)
tm_file="${tm_file} netbsd.h vax/netbsd.h" tm_file="${tm_file} netbsd.h vax/netbsd.h"
xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
......
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