head	1.11;
access;
symbols
	RELENG_1:1.11
	release_1:1.9
	alpha2:1.8
	alpha1:1.8
	start:1.1.1.1
	vendor:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2002.05.23.08.08.31;	author diwil;	state Exp;
branches;
next	1.10;

1.10
date	2002.05.08.06.16.10;	author diwil;	state Exp;
branches;
next	1.9;

1.9
date	2002.03.18.15.34.09;	author diwil;	state Exp;
branches;
next	1.8;

1.8
date	2002.02.20.13.50.01;	author diwil;	state Exp;
branches;
next	1.7;

1.7
date	2002.01.23.13.31.28;	author diwil;	state Exp;
branches;
next	1.6;

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

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

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

1.3
date	2001.12.25.14.57.34;	author diwil;	state Exp;
branches;
next	1.2;

1.2
date	2001.12.20.15.12.06;	author diwil;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.20.01.06.44;	author cliechti;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.12.20.01.06.44;	author cliechti;	state Exp;
branches;
next	;


desc
@@


1.11
log
@/* recently added:
1331, 1351, 435, 436, 437, 447, 448, 449 */
@
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 \
	_cmpsi2 \
	__stop_progExec__ \
	_mulqi3 \
	_mulhi3 \
	_mulsi3 \
	_umulqihi3 \
	_umulhisi3 \
	_mulqihi3 \
	_mulhisi3 \
	_udivmodqi4 \
	_divmodqi4 \
	_udivmodhi4 \
	_divmodhi4 \
	_udivmodsi4 \
	_divmodsi4 \
	_reset_vector__ \
	_lshiftqi_1_6 \
	_lshiftqi_7 \
	_lshiftqi_cnt \
	_lshifthi_1_7 \
	_lshifthi_8 \
	_lshifthi_15 \
	_lshifthi_cnt \
	_lshiftsi_1_7 \
	_lshiftsi_8 \
	_lshiftsi_16 \
	_lshiftsi_31 \
	_lshiftsi_cnt \
	_lshiftdi_1_15 \
	_lshiftdi_16 \
	_lshiftdi_32 \
	_lshiftsi_48 \
	_lshiftdi_63 \
	_lshiftdi_cnt \
	_rshiftqi_1_6 \
	_rshiftqi_7 \
	_rshiftqi_cnt \
	_rshifthi_1_7 \
	_rshifthi_8 \
	_rshifthi_15 \
	_rshifthi_cnt \
	_rshiftsi_1_7 \
	_rshiftsi_8 \
	_rshiftsi_16 \
	_rshiftsi_31 \
	_rshiftsi_cnt \
	_rshiftdi_1_15 \
	_rshiftdi_16 \
	_rshiftdi_32 \
	_rshiftsi_48 \
	_rshiftdi_63 \
	_rshiftdi_cnt \
	_rlshiftqi_1_6 \
	_rlshiftqi_7 \
	_rlshiftqi_cnt \
	_rlshifthi_1_7 \
	_rlshifthi_8 \
	_rlshifthi_15 \
	_rlshifthi_cnt \
	_rlshiftsi_1_7 \
	_rlshiftsi_8 \
	_rlshiftsi_16 \
	_rlshiftsi_31 \
	_rlshiftsi_cnt \
	_rlshiftdi_1_15 \
	_rlshiftdi_16 \
	_rlshiftdi_32 \
	_rlshiftsi_48 \
	_rlshiftdi_63 \
	_rlshiftdi_cnt
	
	
	
	

# 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?msp2=mmcu?msp430x149 mmcu?msp2=mmcu?msp430x148 mmcu?msp2=mmcu?msp430x147 \
	mmcu?msp2=mmcu?msp430x336 mmcu?msp2=mmcu?msp430x337 \
	mmcu?msp1=mmcu?msp430x135 mmcu?msp1=mmcu?msp430x315 \
	mmcu?msp1=mmcu?msp430x1x1 mmcu?msp1=mmcu?msp430x110 \
	mmcu?msp1=mmcu?msp430x123 mmcu?msp1=mmcu?msp430x112 \
	mmcu?msp1=mmcu?msp430x133 mmcu?msp1=mmcu?msp430x122 \
	mmcu?msp1=mmcu?msp430x412 mmcu?msp1=mmcu?msp430x413 \
	mmcu?msp1=mmcu?msp430x314 mmcu?msp1=mmcu?msp430x311 \
	mmcu?msp1=mmcu?msp430x313 mmcu?msp1=mmcu?msp430x312 \
	mmcu?msp1=mmcu?msp430x314 mmcu?msp1=mmcu?msp430x323 \
	mmcu?msp1=mmcu?msp430x325 \
	mmcu?msp1=mmcu?msp430x1101 mmcu?msp1=mmcu?msp430x1111 mmcu?msp1=mmcu?msp430x1121 \
	mmcu?msp1=mmcu?msp430x1331 mmcu?msp1=mmcu?msp430x1351 \
	mmcu?msp2=mmcu?msp430x449 mmcu?msp2=mmcu?msp430x448 mmcu?msp1=mmcu?msp430x447 \
	mmcu?msp1=mmcu?msp430x435 mmcu?msp1=mmcu?msp430x436 mmcu?msp1=mmcu?msp430x437

MULTILIB_EXCEPTIONS =

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
@


1.10
log
@swap funct labels for isr.
add debug flag to std lib gcc
@
text
@d119 4
a122 2
	mmcu?msp1=mmcu?msp430x1101 mmcu?msp1=mmcu?msp430x1111 mmcu?msp1=mmcu?msp430x1121

@


1.9
log
@introduce new shifts options.
(shift left only at the moment.
all others in a couple of hours)
@
text
@d14 4
d89 1
a89 1
TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc
@


1.8
log
@improved a bit.
@
text
@d20 59
a78 2
	_reset_vector__

@


1.7
log
@small fix to float point support functions
@
text
@d8 2
a9 1
LIB1ASMFUNCS = _cmpsi2 \
@


1.6
log
@add __cmpsi2 to library cause gcc wants it. Why???
reworked print_operand to handle exotic expressions
@
text
@d32 1
a32 1
	echo '#define CMPtype QItype' >> fp-bit.c
a36 1
	echo 'typedef int QItype __attribute__ ((mode (QI)));' >> fp-bit.c
@


1.5
log
@bugfix:
- lenght at cmphi2/6
- lenght at movhi2/3

lots of cosmetics:
- move insn helpers into one file msp430.c as considered to be finished.
- astyled (ansi style, s4)
- declare insn patterns as ul

revised startup code:
- left only _reset_vector__ function along with labels
	_init_	- init watchdog and stack
	_init_0_ - start of init globals
	_init_1_ - start of clear bss

resived target makefile.
@
text
@d8 2
a9 1
LIB1ASMFUNCS = __stop_progExec__ \
@


1.4
log
@move init routines to libgcc.S
@
text
@d18 1
a18 5
	_reset_vector__ \
	_init_ \
	_init_0_ \
	_init_1_ \
	_init_2_
d56 2
a57 1
	mmcu?msp1=mmcu?msp430x325
@


1.3
log
@improvements and bugfix in libgcc.S
@
text
@d17 6
a22 1
	_divmodsi4 
@


1.2
log
@fixed libgcc.S
add some set'n'branch insns
fixed minor bug with shifts
@
text
@d47 9
a55 1
	mmcu?msp1=mmcu?msp430x135
@


1.1
log
@Initial revision
@
text
@d4 1
@


1.1.1.1
log
@no message
@
text
@@
