This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[c4x] Fix for accepting c33 processors
- From: "Svein E. Seldal" <Svein dot Seldal at solidas dot com>
- To: gcc-patches at gcc dot gnu dot org, m dot hayes at elec dot canterbury dot ac dot nz
- Date: Sun, 23 Feb 2003 20:57:47 +0100
- Subject: [c4x] Fix for accepting c33 processors
Hi,
And a simple bug it was... Attached fix to allow proper asm-prologue for
the c33 processors for the [ti]c4x target.
Permission to check in into gcc-3.3-branch please.
Regards,
Svein Seldal
gcc/ChangeLog:
2003-02-23 Svein E. Seldal <Svein dot Seldal at solidas dot com>
* config/c4x/c4x.h (ASM_FILE_START): Added support for the c33
processor.
? build.tic4x
? build.install
Index: gcc/config/c4x/c4x.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/c4x/c4x.h,v
retrieving revision 1.116.4.1
diff -c -3 -p -r1.116.4.1 c4x.h
*** gcc/config/c4x/c4x.h 25 Jan 2003 04:04:04 -0000 1.116.4.1
--- gcc/config/c4x/c4x.h 23 Feb 2003 18:51:21 -0000
*************** fini_section () \
*** 1673,1678 ****
--- 1673,1679 ----
if (TARGET_C30) dspversion = 30; \
if (TARGET_C31) dspversion = 31; \
if (TARGET_C32) dspversion = 32; \
+ if (TARGET_C33) dspversion = 33; \
if (TARGET_C40) dspversion = 40; \
if (TARGET_C44) dspversion = 44; \
fprintf (FILE, "\t.version\t%d\n", dspversion); \