CVS: gcc/gcc-3.3/gcc/config/msp430 msp430.c, 1.98, 1.99 msp430.h, 1.47, 1.48

"Sergey A. Borshch" <[email protected]> Sun, 7 Dec 2008 22:52:57 +0000
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29329

Modified Files:
	msp430.c msp430.h 
Log Message:
msp430.c msp430.h:
 - msp430x5xxx vectors start address fixed.
 - msp430x5xxx predefined code identificator chanded to __MSP430X2__
 - LINK_SPEC fixed for msp430x543x


Index: msp430.c
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/msp430.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -w -d -r1.98 -r1.99
--- msp430.c	9 Oct 2008 14:52:02 -0000	1.98
+++ msp430.c	7 Dec 2008 22:52:55 -0000	1.99
@@ -693,7 +693,7 @@
             vectors_start = 0xffc0;
             break;
           case MSP430_ISA_54:
-            vectors_start = 0xffc0;
+            vectors_start = 0xff80;
             break;
           default:
             vectors_start = 0xffe0;

Index: msp430.h
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/msp430.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -w -d -r1.47 -r1.48
--- msp430.h	9 Oct 2008 14:52:02 -0000	1.47
+++ msp430.h	7 Dec 2008 22:52:55 -0000	1.48
@@ -2970,12 +2970,12 @@
 %{mmcu=msp430x4784:%(cpp_msp2) -D__MSP430_4784__ -DMSP430_HAS_HWMUL} \
 %{mmcu=msp430x4793:%(cpp_msp2) -D__MSP430_4793__ -DMSP430_HAS_HWMUL} \
 %{mmcu=msp430x4794:%(cpp_msp2) -D__MSP430_4794__ -DMSP430_HAS_HWMUL} \
-%{mmcu=msp430x5418:%(cpp_msp2) -D__MSP430_5418__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
-%{mmcu=msp430x5419:%(cpp_msp2) -D__MSP430_5419__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
-%{mmcu=msp430x5435:%(cpp_msp2) -D__MSP430_5435__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
-%{mmcu=msp430x5436:%(cpp_msp2) -D__MSP430_5436__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
-%{mmcu=msp430x5437:%(cpp_msp2) -D__MSP430_5437__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
-%{mmcu=msp430x5438:%(cpp_msp2) -D__MSP430_5438__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x5418:%(cpp_msp2) -D__MSP430_5418__ -D__MSP430X2__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x5419:%(cpp_msp2) -D__MSP430_5419__ -D__MSP430X2__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x5435:%(cpp_msp2) -D__MSP430_5435__ -D__MSP430X2__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x5436:%(cpp_msp2) -D__MSP430_5436__ -D__MSP430X2__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x5437:%(cpp_msp2) -D__MSP430_5437__ -D__MSP430X2__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x5438:%(cpp_msp2) -D__MSP430_5438__ -D__MSP430X2__ -DMSP430_HAS_HWMUL} \
 %{mint8:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long -D__INT_MAX__=127} \
 %{!mint*:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int -D__INT_MAX__=32767} \
 %{posix:-D_POSIX_SOURCE} %{mIAR:-D_IAR_ASSEMBLER_}"
@@ -3160,10 +3160,10 @@
 %{mmcu=msp430x4794:-m msp430x4794 } \
 %{mmcu=msp430x5418:-m msp430x5418 } \
 %{mmcu=msp430x5419:-m msp430x5419 } \
-%{mmcu=msp430x4135:-m msp430x5435 } \
-%{mmcu=msp430x4136:-m msp430x5436 } \
-%{mmcu=msp430x4137:-m msp430x5437 } \
-%{mmcu=msp430x4138:-m msp430x5438 } \
+%{mmcu=msp430x5435:-m msp430x5435 } \
+%{mmcu=msp430x5436:-m msp430x5436 } \
+%{mmcu=msp430x5437:-m msp430x5437 } \
+%{mmcu=msp430x5438:-m msp430x5438 } \
 "
 
 /* A C string constant that tells the GNU CC driver program options to


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/