aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSvein E. Seldal <Svein.Seldal@solidas.com>2003-01-06 01:15:46 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2003-01-06 01:15:46 +0000
commitcebdac46e405fb4633741e0b39c028553e60be48 (patch)
tree75e9a18ff1a337dd01b60f28e4bc0708be438f99 /gcc
parentfe1e789f3f317278a7642c205c779493cc88d99a (diff)
downloadgcc-cebdac46e405fb4633741e0b39c028553e60be48.zip
gcc-cebdac46e405fb4633741e0b39c028553e60be48.tar.gz
gcc-cebdac46e405fb4633741e0b39c028553e60be48.tar.bz2
c4x.h: Updated specs for new gas format.
* config/c4x/c4x.h: Updated specs for new gas format. Fixed bug in C33_FLAG. Added proper C33 support in ASM_FILE_START macro. From-SVN: r60923
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/c4x/c4x.h35
2 files changed, 23 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c25b5ee..d2655f1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,11 @@
+2003-01-06 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * config/c4x/c4x.h: Updated specs for new gas format. Fixed bug
+ in C33_FLAG. Added proper C33 support in ASM_FILE_START macro.
+
2003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
- * c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
+ * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
redefinition.
2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h
index 299e53a..c878112 100644
--- a/gcc/config/c4x/c4x.h
+++ b/gcc/config/c4x/c4x.h
@@ -91,23 +91,21 @@
#define ASM_SPEC "\
%{!mcpu=30:%{!mcpu=31:%{!mcpu=32:%{!mcpu=33:%{!mcpu=40:%{!mcpu=44:\
-%{!m30:%{!m40:-m40}}}}}}}} \
-%{mcpu=30:-m30} \
-%{mcpu=31:-m31} \
-%{mcpu=32:-m32} \
-%{mcpu=33:-m33} \
-%{mcpu=40:-m40} \
-%{mcpu=44:-m44} \
-%{m30:-m30} \
-%{m31:-m31} \
-%{m32:-m32} \
-%{m33:-m33} \
-%{m40:-m40} \
-%{m44:-m44} \
-%{mmemparm:-p} %{mregparm:-r} \
-%{!mmemparm:%{!mregparm:-r}} \
-%{mbig:-b} %{msmall:-s} \
-%{!msmall:%{!mbig:-b}}"
+%{!m30:%{!m31:%{!m32:%{!m33:%{!m40:%{!m44:-m40}}}}}}}}}}}} \
+%{mcpu=30} \
+%{mcpu=31} \
+%{mcpu=32} \
+%{mcpu=33} \
+%{mcpu=40} \
+%{mcpu=44} \
+%{m30} \
+%{m31} \
+%{m32} \
+%{m33} \
+%{m40} \
+%{m44} \
+%{mmemparm} %{mregparm} %{!mmemparm:%{!mregparm:-mregparm}} \
+%{mbig} %{msmall} %{!msmall:%{!mbig:-mbig}}"
/* Define linker options. */
@@ -151,7 +149,7 @@
#define C30_FLAG 0x0100000 /* Emit C30 code. */
#define C31_FLAG 0x0200000 /* Emit C31 code. */
#define C32_FLAG 0x0400000 /* Emit C32 code. */
-#define C33_FLAG 0x0400000 /* Emit C33 code. */
+#define C33_FLAG 0x0800000 /* Emit C33 code. */
#define C40_FLAG 0x1000000 /* Emit C40 code. */
#define C44_FLAG 0x2000000 /* Emit C44 code. */
@@ -1659,6 +1657,7 @@ fini_section () \
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); \