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	98.01.15.01.09.11;	author eggert;	state Exp;
branches;
next	1.6;

1.6
date	97.05.13.18.45.05;	author erich;	state Exp;
branches;
next	1.5;

1.5
date	97.05.08.22.17.34;	author erich;	state Exp;
branches;
next	1.4;

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

1.3
date	95.12.06.11.54.43;	author erich;	state Exp;
branches;
next	1.2;

1.2
date	95.06.26.23.22.48;	author kenner;	state Exp;
branches;
next	1.1;

1.1
date	95.05.13.09.35.22;	author erich;	state Exp;
branches;
next	;


desc
@Makefile fragment for semi-hosted ARM.
@


1.7
log
@(LIBGCC2_CFLAGS): Remove trailing white space; it's significant in `make'.
@
text
@# Just for these, we omit the frame pointer since it makes such a big
# difference.  It is then pointless adding debugging.
LIBGCC2_CFLAGS=-O2 -fomit-frame-pointer $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -g0

# Don't build enquire
ENQUIRE=

# Can't test libgcc1 since it tries to bring in things like malloc, and
# there probably isn't a libc to link against until we have a compiler.
LIBGCC1_TEST =

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 '#ifdef __SOFTFP__' > 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
	echo '#endif' >> fp-bit.c

dp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#ifdef __SOFTFP__' > dp-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
	echo '#endif' >> dp-bit.c

MULTILIB_OPTIONS = msoft-float mapcs-26 mbig-endian mwords-little-endian
MULTILIB_DIRNAMES = soft apcs26 big wlittle
MULTILIB_EXCEPTIONS = *mapcs-26/*mbig-endian* mwords-little-endian *mapcs-26/mwords-little-endian msoft-float/mwords-little-endian

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
@


1.6
log
@Build fp-bit.c when compiling with -msoft-float.
@
text
@d3 1
a3 1
LIBGCC2_CFLAGS=-O2 -fomit-frame-pointer $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -g0 
@


1.5
log
@(LIBGCC1_TEST): Don't build it.
(MULTILIB_{OPTIONS,DIRNAMES,EXCEPTIONS}): Build a suitable set of
cross libraries.
(LIBGCC): Set to stmp-multilib.
(INSTALL_LIBGCC): Set to install-multilib.
@
text
@d16 23
@


1.4
log
@(CROSS_FLOAT_H): Delete.
@
text
@d8 4
d15 7
@


1.3
log
@Don't define inhibit_libc when building libgcc2.a.
	(CROSS_FLOAT_H): Define.
@
text
@a6 1
CROSS_FLOAT_H = $(srcdir)/config/arm/cross-float.h
@


1.2
log
@(LIB1ASMFUNCS): Rename _dvmd_tls from _divmodsi_tools.
@
text
@d3 1
a3 2
LIBGCC2_CFLAGS=-O2 -fomit-frame-pointer $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -g0 \
	-Dinhibit_libc
d7 1
@


1.1
log
@Initial revision
@
text
@d11 1
a11 1
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _divmodsi_tools
@
