A number of minor Lynx-related changes, plus basic Sparc Lynx support.

This commit is contained in:
Stan Shebs 1993-10-29 02:01:43 +00:00
parent 4a44dc1ac2
commit c9368a3bc3
4 changed files with 38 additions and 6 deletions

View file

@ -1,3 +1,28 @@
Thu Oct 28 16:33:26 1993 Stan Shebs (shebs@rtl.cygnus.com)
LynxOS and Sparc LynxOS changes:
* config.bfd: Recognize sparc-*-lynxos*.
* configure.host: Recognize sparc-*-lynxos*.
* configure.in: Recognize Sparc Lynx vectors.
* targets.c (sparclynx_aout_vec): Declare.
(sparclynx_coff_vec): Declare.
(target_vector): Add them.
* cf-i386lynx.c: New file, renamed from i386lynx-cf.c.
* cf-m68klynx.c: New file, renamed from m68klynx-cf.c.
* cf-sparclynx.c: New file, support for coff in Sparc LynxOS.
* coff-sparc.c: New file, basic Sparc coff support.
* sparclynx.c: New file, support for a.out in Sparc LynxOS.
* Makefile.in: Change filenames appropriately, add Sparc rules.
* coffcode.h (coff_set_arch_mach_hook): Recognize Sparc magic
number.
(coff_set_flags): Use LynxOS magic number for i386, m68k, and
Sparc LynxOS, set Sparc magic number for Sparcs.
* config/m68k-lynx.mt (SELECT_VECS): Remove redundant vector.
* config/sparc-lynx.mt: New file.
* hosts/i386lynx.h: Cosmetic improvements.
* hosts/m68klynx.h: Add ifdefs, #define of cfree.
* hosts/sparclynx.h: New file.
Thu Oct 28 16:23:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
gcc -Wall lint:

View file

@ -21,5 +21,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define TARGET_SYM m68klynx_coff_vec
#define TARGET_NAME "coff-m68k-lynx"
#define LYNXOS
#define COFF_LONG_FILENAMES
#define ONLY_DECLARE_RELOCS
#include "coff-m68k.c"

View file

@ -1,4 +1,4 @@
/* BFD back-end for Intel 386 COFF LynxOS files.
/* BFD back-end for Sparc COFF LynxOS files.
Copyright 1993 Free Software Foundation, Inc.
Written by Cygnus Support.
@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define TARGET_SYM i386lynx_coff_vec
#define TARGET_NAME "coff-i386-lynx"
#define TARGET_SYM sparclynx_coff_vec
#define TARGET_NAME "coff-sparc-lynx"
#include "coff-i386.c"
#include "coff-sparc.c"

View file

@ -177,7 +177,7 @@ do
i386coff_vec) tb="$tb coff-i386.o" ;;
i386linux_vec) tb="$tb i386linux.o aout32.o stab-syms.o" ;;
i386lynx_aout_vec) tb="$tb i386lynx.o lynx-core.o aout32.o stab-syms.o" ;;
i386lynx_coff_vec) tb="$tb i386lynx-cf.o lynx-core.o stab-syms.o" ;;
i386lynx_coff_vec) tb="$tb cf-i386lynx.o lynx-core.o stab-syms.o" ;;
i386mach3_vec) tb="$tb i386mach3.o" ;;
icoff_big_vec) tb="$tb coff-i960.o" ;;
icoff_little_vec) tb="$tb coff-i960.o" ;;
@ -185,7 +185,7 @@ do
m68kcoff_vec) tb="$tb coff-m68k.o" ;;
m68kcoffun_vec) tb="$tb coff-u68k.o coff-m68k.o" ;;
m68klynx_aout_vec) tb="$tb m68klynx.o lynx-core.o aout32.o stab-syms.o" ;;
m68klynx_coff_vec) tb="$tb m68klynx-cf.o coff-m68k.o lynx-core.o stab-syms.o" ;;
m68klynx_coff_vec) tb="$tb cf-m68klynx.o coff-m68k.o lynx-core.o stab-syms.o" ;;
m88kbcs_vec) tb="$tb coff-m88k.o" ;;
newsos3_vec) tb="$tb newsos3.o aout32.o stab-syms.o" ;;
nlm32_big_generic_vec) tb="$tb nlm32-gen.o nlm32.o nlm.o" ;;
@ -197,6 +197,8 @@ do
target64=true ;;
rs6000coff_vec) tb="$tb coff-rs6000.o" ;;
shcoff_vec) tb="$tb coff-sh.o reloc16.o" ;;
sparclynx_aout_vec) tb="$tb sparclynx.o lynx-core.o aout32.o stab-syms.o" ;;
sparclynx_coff_vec) tb="$tb cf-sparclynx.o lynx-core.o stab-syms.o" ;;
sunos_big_vec) tb="$tb sunos.o aout32.o stab-syms.o" ;;
tekhex_vec) tb="$tb tekhex.o" ;;
we32kcoff_vec) tb="$tb coff-we32k.o" ;;