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


1.11
date	96.01.18.22.38.57;	author wilson;	state Exp;
branches;
next	1.10;

1.10
date	95.11.05.16.15.35;	author kenner;	state Exp;
branches;
next	1.9;

1.9
date	95.04.28.01.07.22;	author wilson;	state Exp;
branches;
next	1.8;

1.8
date	94.12.07.02.04.12;	author sac;	state Exp;
branches;
next	1.7;

1.7
date	94.11.24.04.38.49;	author sac;	state Exp;
branches;
next	1.6;

1.6
date	94.11.16.01.20.03;	author dje;	state Exp;
branches;
next	1.5;

1.5
date	94.09.09.23.43.17;	author sac;	state Exp;
branches;
next	1.4;

1.4
date	93.09.09.20.05.26;	author ian;	state Exp;
branches;
next	1.3;

1.3
date	93.06.29.00.10.35;	author sac;	state Exp;
branches;
next	1.2;

1.2
date	93.05.04.15.22.36;	author sac;	state Exp;
branches;
next	1.1;

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


desc
@ Support for the Hitachi SH.
@


1.11
log
@(MULTILIB_OPTIONS): Add SH3E support.
(MULTILIB_DIRNAMES): Define to empty.
@
text
@CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = sh/lib1funcs.asm
LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movstr \
  _mulsi3 _sdivsi3 _udivsi3

# These are really part of libgcc1, but this will cause them to be
# built correctly, so...

LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c

dp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
	echo '#endif' 		>> dp-bit.c
	cat $(srcdir)/config/fp-bit.c >> dp-bit.c

fp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#define FLOAT' > fp-bit.c
	echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
	echo '#endif' 		>> fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> fp-bit.c

MULTILIB_OPTIONS= ml m2/m3e
MULTILIB_DIRNAMES= 
MULTILIB_MATCHES = m2=m3

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
@


1.10
log
@(MULTILIB_OPTIONS): Add m2.
(MULTILIB_DIRNAMES): Add m2.
(MULTILIB_MATCHES): Define.
@
text
@d24 2
a25 2
MULTILIB_OPTIONS = ml m2
MULTILIB_DIRNAMES = ml m2
@


1.9
log
@(LIB1ASMFUNCS): Add new functions.
(LIBGCC2_CFLAGS): Delete.
(LIB2FUNCS_EXTRA): Remove deleted files.
(ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files.
@
text
@d24 3
a26 2
MULTILIB_OPTIONS=ml
MULTILIB_DIRNAMES=ml
@


1.8
log
@*** empty log message ***
@
text
@d3 2
a4 1
LIB1ASMFUNCS = _ashiftrt _movstr _mulsi3 _sdivsi3 _udivsi3 
a5 2
LIBGCC2_CFLAGS=-g -O5 $(GCC_CFLAGS)

d9 1
a9 7
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c ashlsi3.c ashrsi3.c lshrsi3.c

ashlsi3.c: $(srcdir)/config/sh/ashlsi3.c
	cp $(srcdir)/config/sh/ashlsi3.c ashlsi3.c

ashrsi3.c: $(srcdir)/config/sh/ashrsi3.c
	cp $(srcdir)/config/sh/ashrsi3.c ashrsi3.c
a10 3
lshrsi3.c: $(srcdir)/config/sh/lshrsi3.c
	cp $(srcdir)/config/sh/lshrsi3.c lshrsi3.c

a16 1

a22 1

@


1.7
log
@*** empty log message ***
@
text
@d22 4
a25 1
	cat $(srcdir)/config/fp-bit.c > dp-bit.c
d27 1
d30 3
@


1.6
log
@Clean up some comments.  Delete unnecessary cygnus stuff.
@
text
@d29 5
@


1.5
log
@*** empty log message ***
@
text
@a6 4
# CYGNUS LOCAL sh
LANGUAGES=c c++ proto

# CYGNUS LOCAL sh
d8 1
a8 1
# built correctly, so... [taken from t-ose68k]
@


1.4
log
@Set CROSS_LIBGCC1 to be libgcc1.null
@
text
@d1 30
a30 4
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP  -Dinhibit_libc 
LIBGCC2_CFLAGS=-g -O5 $(GCC_CFLAGS) 
@


1.3
log
@ Major rework.
@
text
@d2 1
@


1.2
log
@Build all languages.
@
text
@d2 2
a3 12
T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP  -Dinhibit_libc
LIBGCC2_CFLAGS=-g -fno-omit-frame-pointer -O2 $(GCC_CFLAGS) 

# These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-ose68k]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> dp-bit.c

fp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#define FLOAT' > fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> fp-bit.c
@


1.1
log
@Initial revision
@
text
@a3 2
LANGUAGES=c
COMPILERS=cc1
@
