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


1.2
date	97.05.13.18.45.05;	author erich;	state Exp;
branches;
next	1.1;

1.1
date	96.04.13.19.06.49;	author dje;	state Exp;
branches;
next	;


desc
@Target makefile fragment for embedded arm targets.
@


1.2
log
@(MULTILIB_OPTIONS): Change options mbe/mle to mbig-endian
and mlittle-endian.
(MULTILIB_MATCHES): Nothing matches that matters.
@
text
@CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = arm/lib1funcs.asm
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls

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

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

fp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#define FLOAT' > fp-bit.c
	echo '#ifndef __ARMEB__' >> 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

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

# Avoid building a duplicate set of libraries for the default endian-ness.
MULTILIB_OPTIONS = mlittle-endian/mbig-endian mhard-float
MULTILIB_DIRNAMES = le be fpu
MULTILIB_MATCHES = 

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
@


1.1
log
@Initial revision
@
text
@d25 1
a25 1
MULTILIB_OPTIONS = mle/mbe mhard-float
d27 1
a27 1
MULTILIB_MATCHES = mbe=mbig-endian mle=mlittle-endian
@
