Commit Graph

6 Commits

Author SHA1 Message Date
Jeff Law
a1616dd9e8 * 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.

From-SVN: r12410
1996-07-08 15:02:16 -06:00
Doug Evans
8282721e69 (MULTILIB_{OPTIONS,DIRNAMES}): Add -mint32 support.
From-SVN: r10703
1995-12-12 18:57:58 +00:00
Doug Evans
d215dc1d4b t-h8300 (CROSS_LIBGCC1): Use libgcc1-asm.a.
* 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.

From-SVN: r7727
1994-07-11 22:49:34 +00:00
Richard Kenner
72271569cd Delete null LIB2FUNCS_EXTRA.
From-SVN: r6217
1993-12-12 07:49:25 -05:00
Ian Lance Taylor
b857971992 Set CROSS_LIBGCC1 to be libgcc1.null
From-SVN: r5298
1993-09-09 20:05:26 +00:00
Steve Chamberlain
07aae5c24e New file.
From-SVN: r3631
1993-03-04 18:05:40 +00:00