head	1.7;
access;
symbols
	gcc-2_8_1-990325:1.7
	gcc-2_8_1-990319:1.7
	gcc-2_8_1-990302:1.7
	gcc_2_8_1-990302:1.7
	gcc_2_8_1-990222:1.7
	gcc-2_8_1-990109:1.7
	gcc-2_8_1-981210:1.7
	gcc-2_8_1-981208:1.7
	gcc-2_8_1-980929:1.7
	gcc_2_8_1-980929:1.7
	gcc-2_8_1-980928:1.7
	gcc-2_8_1-980813:1.7
	gcc-2_8_1-980811:1.7
	gcc-2_8_1-980718:1.7
	gcc-2_8_1-980705:1.7
	gcc-2_8_1-980627:1.7
	gcc-2_8_1-980609:1.7
	gcc-2_8_1-980608:1.7
	gcc-2_8_1-980529:1.7
	gcc-2_8_1-980525:1.7
	gcc-2_8_1-980513:1.7
	gcc-2_8_1-980502:1.7
	gcc-2_8_1-980402:1.7
	gcc-2_8_1-980426:1.7
	gcc-2_8_1-980419:1.7
	gcc-2_8_1-980413:1.7
	gcc-2_8_1-980412:1.7
	gcc-2_8_1-980407:1.7
	gcc-2_8_1-980401:1.7
	gcc_2_8_1-980315:1.7
	gcc-2_8_1-RELEASE:1.7;
locks; strict;
comment	@# @;


1.7
date	97.09.12.08.22.28;	author law;	state Exp;
branches;
next	1.6;

1.6
date	96.07.08.21.02.16;	author law;	state Exp;
branches;
next	1.5;

1.5
date	95.12.12.18.57.58;	author dje;	state Exp;
branches;
next	1.4;

1.4
date	94.07.11.22.49.34;	author dje;	state Exp;
branches;
next	1.3;

1.3
date	93.12.12.12.49.25;	author kenner;	state Exp;
branches;
next	1.2;

1.2
date	93.09.09.20.05.26;	author ian;	state Exp;
branches;
next	1.1;

1.1
date	93.03.04.18.03.55;	author sac;	state Exp;
branches;
next	;


desc
@H8/300 makefile modifiers.
@


1.7
log
@*** empty log message ***
@
text
@CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = h8300/lib1funcs.asm
LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3

# We do not have DF or DI types, so fake out the libgcc2 compilation.
TARGET_LIBGCC2_CFLAGS = -DDF=SF -DDI=SI

LIB2FUNCS_EXTRA = fp-bit.c

fp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#define FLOAT' > fp-bit.c
	echo '#define FLOAT_ONLY' >> fp-bit.c
	echo '#define SMALL_MACHINE' >> fp-bit.c
	echo '#ifdef __H8300__' >> fp-bit.c
	echo '#define CMPtype HItype' >> fp-bit.c
	echo '#else' >> fp-bit.c
	echo '#define CMPtype SItype' >> fp-bit.c
	echo '#endif' >> fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> fp-bit.c

MULTILIB_OPTIONS = mh/ms mint32
MULTILIB_DIRNAMES = h8300h h8300s int32

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

@


1.6
log
@        * First cut at support for the H8/S.
        * h8300/h8300.c (h8300_init_once): Handle the H8/S (treat it
        like the H8/300H).
        (dosize, adds_subs_operand, one_insn_adds_subs_operand): Likewise.
        (output_adds_subs, const_costs, print_operand): Likewise.
        (output_simode_bld, h8300_adjust_insn_length): Likewise.
        (push_order, pop_order): Reverse.
        (function_prologue): Try to use ldm.l and stm.l insns
        on the H8/S.  Minor cleanups.
        (function_epilogue): Likewise.
        (asm_file_start): Emit ".h8300s" when compiling for the H8/S.
        * h8300/h8300.h (CPP_SPEC): Handle the H8/S.
        (TARGET_H8300S): New target.
        (TARGET_SWITCHES): Add "-ms" and "-mno-s".
        (BITS_PER_WORD): Handle the H8/S (treat it like the H8/300H).
        (UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY): Likewise.
        (BIGGEST_ALIGNMENT, BIGGEST_FIELD_ALIGNMENT): Likewise.
        (INITIALIZE_TRAMPOLINE, MOVE_MAX, Pmode): Likewise.
        * h8300/h8300.md: Handle H8/S just like H8/300H
        throughout the entire file.
        * h8300/t-h8300 (MULTILIB_OPTIONS): Build "-ms" libraries
        too.
        (MULTILIB_DIRNAMES): Put H8/S libraries in "h8300s" directory.
        * h8300/lib1funcs.asm: Emit ".h8300s" pseudo-op when generating
        h8300s object files.  Otherwise treat the H8/S just like the H8/300H.
        * ginclude/stdarg.h: Handle the H8/S.
        * ginclude/varargs.h: Likewise.
@
text
@d6 1
a6 1
LIBGCC2_CFLAGS = -g -O2 -DDF=SF -DDI=SI $(GCC_CFLAGS) $(LIBGCC2_INCLUDES)
@


1.5
log
@(MULTILIB_{OPTIONS,DIRNAMES}): Add -mint32 support.
@
text
@d21 2
a22 2
MULTILIB_OPTIONS = mh mint32
MULTILIB_DIRNAMES = h8300h int32
@


1.4
log
@	* h8300/t-h8300 (CROSS_LIBGCC1): Use libgcc1-asm.a.
	(LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA, MULTILIB_OPTIONS,
	MULTILIB_DIRNAMES, LIBGCC, INSTALL_LIBGCC): Define.
	(fp-bit.c): Build it.
@
text
@d21 2
a22 2
MULTILIB_OPTIONS = mh
MULTILIB_DIRNAMES = h8300h
@


1.3
log
@Delete null LIB2FUNCS_EXTRA.
@
text
@d1 26
a26 5
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP 
# we do not have DF or DI types, so fake out the libgcc2 compilation
LIBGCC2_CFLAGS=-O -DDF=SF -DDI=SI $(GCC_CFLAGS) 
@


1.2
log
@Set CROSS_LIBGCC1 to be libgcc1.null
@
text
@a5 1
LIB2FUNCS_EXTRA =
@


1.1
log
@New file.
@
text
@d2 1
@
