Commit cebdac46 by Svein E. Seldal Committed by Michael Hayes

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
parent fe1e789f
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> 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. redefinition.
2003-01-05 Kazu Hirata <kazu@cs.umass.edu> 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
......
...@@ -91,23 +91,21 @@ ...@@ -91,23 +91,21 @@
#define ASM_SPEC "\ #define ASM_SPEC "\
%{!mcpu=30:%{!mcpu=31:%{!mcpu=32:%{!mcpu=33:%{!mcpu=40:%{!mcpu=44:\ %{!mcpu=30:%{!mcpu=31:%{!mcpu=32:%{!mcpu=33:%{!mcpu=40:%{!mcpu=44:\
%{!m30:%{!m40:-m40}}}}}}}} \ %{!m30:%{!m31:%{!m32:%{!m33:%{!m40:%{!m44:-m40}}}}}}}}}}}} \
%{mcpu=30:-m30} \ %{mcpu=30} \
%{mcpu=31:-m31} \ %{mcpu=31} \
%{mcpu=32:-m32} \ %{mcpu=32} \
%{mcpu=33:-m33} \ %{mcpu=33} \
%{mcpu=40:-m40} \ %{mcpu=40} \
%{mcpu=44:-m44} \ %{mcpu=44} \
%{m30:-m30} \ %{m30} \
%{m31:-m31} \ %{m31} \
%{m32:-m32} \ %{m32} \
%{m33:-m33} \ %{m33} \
%{m40:-m40} \ %{m40} \
%{m44:-m44} \ %{m44} \
%{mmemparm:-p} %{mregparm:-r} \ %{mmemparm} %{mregparm} %{!mmemparm:%{!mregparm:-mregparm}} \
%{!mmemparm:%{!mregparm:-r}} \ %{mbig} %{msmall} %{!msmall:%{!mbig:-mbig}}"
%{mbig:-b} %{msmall:-s} \
%{!msmall:%{!mbig:-b}}"
/* Define linker options. */ /* Define linker options. */
...@@ -151,7 +149,7 @@ ...@@ -151,7 +149,7 @@
#define C30_FLAG 0x0100000 /* Emit C30 code. */ #define C30_FLAG 0x0100000 /* Emit C30 code. */
#define C31_FLAG 0x0200000 /* Emit C31 code. */ #define C31_FLAG 0x0200000 /* Emit C31 code. */
#define C32_FLAG 0x0400000 /* Emit C32 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 C40_FLAG 0x1000000 /* Emit C40 code. */
#define C44_FLAG 0x2000000 /* Emit C44 code. */ #define C44_FLAG 0x2000000 /* Emit C44 code. */
...@@ -1659,6 +1657,7 @@ fini_section () \ ...@@ -1659,6 +1657,7 @@ fini_section () \
if (TARGET_C30) dspversion = 30; \ if (TARGET_C30) dspversion = 30; \
if (TARGET_C31) dspversion = 31; \ if (TARGET_C31) dspversion = 31; \
if (TARGET_C32) dspversion = 32; \ if (TARGET_C32) dspversion = 32; \
if (TARGET_C33) dspversion = 33; \
if (TARGET_C40) dspversion = 40; \ if (TARGET_C40) dspversion = 40; \
if (TARGET_C44) dspversion = 44; \ if (TARGET_C44) dspversion = 44; \
fprintf (FILE, "\t.version\t%d\n", dspversion); \ fprintf (FILE, "\t.version\t%d\n", dspversion); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment