From: Ian Lance Taylor Date: Tue, 27 Feb 1996 19:31:29 +0000 (+0000) Subject: Tue Feb 27 14:17:31 1996 Andreas Schwab X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55626bf0869ae0199da7a57613912e46cf839c9f;p=binutils-gdb.git Tue Feb 27 14:17:31 1996 Andreas Schwab * m68klinux.c: New file. * hosts/m68klinux.h: New file. * config.bfd (m68*-*-linuxaout*, m68*-*-linux*): New targets. * configure.in (m68*-*-linux*): New native host. (m68klinux_vec): New vector. * configure: Rebuild. * targets.c (m68klinux_vec): Declare. * i386linux.c (bfd_i386linux_size_dynamic_sections): Renamed from bfd_linux_size_dynmic_sections to avoid clash with m68klinux.c. * bfd-in.h (bfd_i386linux_size_dynamic_sections): Rename declaration from bfd_linux_size_dynamic_sections. (bfd_m68klinux_size_dynamic_sections): Declare. * bfd-in2.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add m68klinux.o. (BFD32_BACKENDS_CFILES): Add m68klinux.c. --- diff --git a/bfd/.Sanitize b/bfd/.Sanitize index a03d7acfd27..262ae7adf96 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -195,6 +195,7 @@ liboasys.h linker.c lynx-core.c m68k4knetbsd.c +m68klinux.c m68klynx.c m68knetbsd.c m88kmach3.c diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f587f192fe9..20632f922b3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,22 @@ +Tue Feb 27 14:17:31 1996 Andreas Schwab + + * m68klinux.c: New file. + * hosts/m68klinux.h: New file. + * config.bfd (m68*-*-linuxaout*, m68*-*-linux*): New targets. + * configure.in (m68*-*-linux*): New native host. + (m68klinux_vec): New vector. + * configure: Rebuild. + * targets.c (m68klinux_vec): Declare. + * i386linux.c (bfd_i386linux_size_dynamic_sections): Renamed from + bfd_linux_size_dynmic_sections to avoid clash with m68klinux.c. + * bfd-in.h (bfd_i386linux_size_dynamic_sections): Rename + declaration from bfd_linux_size_dynamic_sections. + (bfd_m68klinux_size_dynamic_sections): Declare. + * bfd-in2.h: Rebuild. + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add m68klinux.o. + (BFD32_BACKENDS_CFILES): Add m68klinux.c. + Tue Feb 27 11:31:34 1996 Jeffrey A Law (law@cygnus.com) * libhppa.h (pa_arch): Add pa20. diff --git a/bfd/configure b/bfd/configure index be3d0b1a18f..7aeefe467e2 100755 --- a/bfd/configure +++ b/bfd/configure @@ -727,9 +727,6 @@ if test "${shared}" = "true"; then fi fi -# Permit host specific settings. -. ${srcdir}/configure.host - # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 @@ -806,6 +803,9 @@ else fi +# Permit host specific settings. +. ${srcdir}/configure.host + # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 @@ -1170,7 +1170,7 @@ done case "${host}" in -i[345]86-*-msdos* | i[345]86-*-go32* | i[345]86-*-win32) +i[345]86-*-msdos* | i[345]86-*-go32* | *-*-cygwin32) cat >> confdefs.h <<\EOF #define USE_BINARY_FOPEN 1 EOF @@ -1398,6 +1398,13 @@ EOF COREFILE=trad-core.o cat >> confdefs.h <<\EOF #define TRAD_HEADER "hosts/hp300bsd.h" +EOF + + ;; + m68*-*-linux*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/m68klinux.h" EOF ;; @@ -1502,7 +1509,7 @@ EOF echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return 0; } @@ -1677,6 +1684,7 @@ do ieee_vec) tb="$tb ieee.o" ;; m68kcoff_vec) tb="$tb coff-m68k.o cofflink.o" ;; m68kcoffun_vec) tb="$tb coff-u68k.o coff-m68k.o cofflink.o" ;; + m68klinux_vec) tb="$tb m68klinux.o aout32.o stab-syms.o" ;; m68klynx_aout_vec) tb="$tb m68klynx.o lynx-core.o aout32.o stab-syms.o" ;; m68klynx_coff_vec) tb="$tb cf-m68klynx.o coff-m68k.o cofflink.o lynx-core.o stab-syms.o" ;; m68knetbsd_vec) tb="$tb m68knetbsd.o aout32.o stab-syms.o" ;; @@ -1789,7 +1797,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < conftest.$ac_ext <&6 else cat > conftest.$ac_ext <tdata.trad_core_data->u.signal)