head	1.10;
access;
symbols;
locks; strict;
comment	@# @;


1.10
date	2005.03.17.14.08.47;	author coppice;	state Exp;
branches;
next	1.9;

1.9
date	2004.07.08.19.21.10;	author coppice;	state Exp;
branches;
next	1.8;

1.8
date	2004.02.27.14.57.32;	author coppice;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.23.11.26.29;	author coppice;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.20.07.58.44;	author diwil;	state Exp;
branches;
next	1.5;

1.5
date	2003.11.27.11.28.12;	author diwil;	state Exp;
branches;
next	1.4;

1.4
date	2003.11.27.11.22.16;	author diwil;	state Exp;
branches;
next	1.3;

1.3
date	2003.11.20.12.41.20;	author coppice;	state Exp;
branches;
next	1.2;

1.2
date	2003.08.28.14.54.12;	author coppice;	state Exp;
branches;
next	1.1;

1.1
date	2003.08.26.11.38.47;	author diwil;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Addition of the following new devices
2101, 2111, 2121, 2131
423, 425, 427 (missed in last year's updates)
4250, 4260, 4270
@
text
@# Specific names for MSP430 tools
AR_FOR_TARGET = msp430-ar
RANLIB_FOR_TARGET = msp430-ranlib
NM_FOR_TARGET = msp430-nm

#CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = msp430/libgcc.S
LIB1ASMFUNCS = _cmpdi2 \
	_cmpsf2 \
	__stop_progExec__ \
	_mulqi3 \
	_mulhi3 \
	_mulsi3 \
	_mulsi3hw \
	_umulqihi3 \
	_umulhisi3 \
	_mulqihi3 \
	_mulhisi3 \
	_udivmodqi4 \
	_divmodqi4 \
	_udivmodhi4 \
	_divmodhi4 \
	_udivmodsi4 \
	_divmodsi4 \
	_reset_vector__ \
	__prologue_saver \
	__epilogue_restorer \
	__epilogue_restorer_intr \
	_udivmoddi3_parts \
	_udivdi3 \
	_umoddi3 \
	_divdi3 \
	_moddi3 \
	_muldi3	\
	_ctors \
	_dtors
	

# libgcc...
LIBGCC1_TEST =

# We do not have the DF type.
# Most of the C functions in libgcc2 use almost all registers,
TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc -g

fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/msp430/t-msp430
	echo '#define FLOAT' > fp-bit.c
	echo '#define FLOAT_ONLY' >> fp-bit.c
	echo '#define CMPtype HItype' >> fp-bit.c
	echo '#define DF SF' >> fp-bit.c
	echo '#define DI SI' >> fp-bit.c
	echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
	echo '#define SMALL_MACHINE' >> fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> fp-bit.c

FPBIT = fp-bit.c

MULTILIB_OPTIONS = mmcu=msp1/mmcu=msp2
MULTILIB_DIRNAMES = msp1 msp2

MULTILIB_MATCHES = \
	mmcu?msp1=mmcu?msp430x110  mmcu?msp1=mmcu?msp430x112 \
	mmcu?msp1=mmcu?msp430x1101 mmcu?msp1=mmcu?msp430x1111 mmcu?msp1=mmcu?msp430x1121 \
        mmcu?msp1=mmcu?msp430x1122 mmcu?msp1=mmcu?msp430x1132 \
	mmcu?msp1=mmcu?msp430x122  mmcu?msp1=mmcu?msp430x123 \
        mmcu?msp1=mmcu?msp430x1222 mmcu?msp1=mmcu?msp430x1232 \
	mmcu?msp1=mmcu?msp430x133  mmcu?msp1=mmcu?msp430x135 
	mmcu?msp1=mmcu?msp430x1331 mmcu?msp1=mmcu?msp430x1351 \
	mmcu?msp2=mmcu?msp430x147  mmcu?msp2=mmcu?msp430x148  mmcu?msp2=mmcu?msp430x149 \
	mmcu?msp2=mmcu?msp430x1471 mmcu?msp2=mmcu?msp430x1481 mmcu?msp2=mmcu?msp430x1491 \
	mmcu?msp1=mmcu?msp430x155  mmcu?msp1=mmcu?msp430x156  mmcu?msp1=mmcu?msp430x157 \
	mmcu?msp2=mmcu?msp430x167  mmcu?msp2=mmcu?msp430x168  mmcu?msp2=mmcu?msp430x169 \
	mmcu?msp2=mmcu?msp430x1610 mmcu?msp2=mmcu?msp430x1611 mmcu?msp2=mmcu?msp430x1612 \
	mmcu?msp1=mmcu?msp430x2101 mmcu?msp1=mmcu?msp430x2111 mmcu?msp1=mmcu?msp430x2121 \
	mmcu?msp1=mmcu?msp430x2131 \
	mmcu?msp1=mmcu?msp430x311  mmcu?msp1=mmcu?msp430x312  mmcu?msp1=mmcu?msp430x313 \
        mmcu?msp1=mmcu?msp430x314  mmcu?msp1=mmcu?msp430x315 \
	mmcu?msp1=mmcu?msp430x323  mmcu?msp1=mmcu?msp430x325 \
	mmcu?msp2=mmcu?msp430x336  mmcu?msp2=mmcu?msp430x337 \
	mmcu?msp1=mmcu?msp430x412  mmcu?msp1=mmcu?msp430x413 \
        mmcu?msp1=mmcu?msp430x415  mmcu?msp1=mmcu?msp430x417 \
	mmcu?msp2=mmcu?msp430x423  mmcu?msp2=mmcu?msp430x425  mmcu?msp2=mmcu?msp430x427 \
	mmcu?msp1=mmcu?msp430x4250 mmcu?msp1=mmcu?msp430x4260 mmcu?msp1=mmcu?msp430x4270 \
        mmcu?msp2=mmcu?msp430xE423 mmcu?msp2=mmcu?msp430xE425 mmcu?msp2=mmcu?msp430xE427 \
        mmcu?msp1=mmcu?msp430xW423 mmcu?msp1=mmcu?msp430xW425 mmcu?msp1=mmcu?msp430xW427 \
	mmcu?msp1=mmcu?msp430xG437 mmcu?msp1=mmcu?msp430xG438 mmcu?msp1=mmcu?msp430xG439 \
	mmcu?msp1=mmcu?msp430x435  mmcu?msp1=mmcu?msp430x436  mmcu?msp1=mmcu?msp430x437 \
	mmcu?msp2=mmcu?msp430x447  mmcu?msp2=mmcu?msp430x448  mmcu?msp2=mmcu?msp430x449

MULTILIB_EXCEPTIONS =

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

STMP_FIXINC = 


@


1.9
log
@Added FG43x support
@
text
@d74 2
d82 2
@


1.8
log
@Added support for the 415 and 417
@
text
@d82 1
@


1.7
log
@Added support for the MSP430F1612
@
text
@d79 1
@


1.6
log
@fixed cmpSI problem
@
text
@d73 1
a73 1
	mmcu?msp2=mmcu?msp430x1610 mmcu?msp2=mmcu?msp430x1611 \
@


1.5
log
@restore Steve's changes
@
text
@d14 1
@


1.4
log
@fixed indexed move code
@
text
@d78 2
@


1.3
log
@FE427 abd FW427 corrections
@
text
@d63 1
a63 1
	mmcu?msp1=mmcu?msp430x1122 mmcu?msp1=mmcu?msp430x1132 \
d65 1
a65 1
	mmcu?msp1=mmcu?msp430x1222 mmcu?msp1=mmcu?msp430x1232 \
d74 1
a74 1
	mmcu?msp1=mmcu?msp430x314  mmcu?msp1=mmcu?msp430x315 \
a77 2
	mmcu?msp2=mmcu?msp430xE423 mmcu?msp2=mmcu?msp430xE425 mmcu?msp2=mmcu?msp430xE427 \
	mmcu?msp1=mmcu?msp430xW423 mmcu?msp1=mmcu?msp430xW425 mmcu?msp1=mmcu?msp430xW427 \
@


1.2
log
@Added support for the 1610, 1611 and 14x1 devices
@
text
@d63 1
a63 1
        mmcu?msp1=mmcu?msp430x1122 mmcu?msp1=mmcu?msp430x1132 \
d65 1
a65 1
        mmcu?msp1=mmcu?msp430x1222 mmcu?msp1=mmcu?msp430x1232 \
d74 1
a74 1
        mmcu?msp1=mmcu?msp430x314  mmcu?msp1=mmcu?msp430x315 \
d78 2
@


1.1
log
@initial
@
text
@d69 1
d72 1
@

