This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Make arm-semi-aof compile


This is probably one of those "who cares?" bugs, but a couple of syntax
errors in aof.h stopped arm-semi-aof from building cleanly.  The patch
below fixes this.  The build still fails with recent gccs because aof.h
uses the poisoned LINK_LIBGCC_SPECIAL, but I thought I'd better leave
that be.

Tested by building an arm-semi-aof cross-compiler, which failed before
the patch and worked afterwards.  Applied as obvious.

Richard


	* config/arm/aof.h (REGISTER_NAMES): Add missing backslash.
	(ADDITIONAL_REGISTER_NAMES): Add missing comma.  Remove final comma.

Index: gcc/config/arm/aof.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/aof.h,v
retrieving revision 1.33
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.33 aof.h
--- gcc/config/arm/aof.h 25 Jun 2005 01:20:50 -0000 1.33
+++ gcc/config/arm/aof.h 19 Sep 2005 18:22:41 -0000
@@ -251,7 +251,7 @@ #define REGISTER_NAMES				\
   "s8",  "s9",  "s10", "s11", "s12", "s13", "s14", "s15", \
   "s16", "s17", "s18", "s19", "s20", "s21", "s22", "s23", \
   "s24", "s25", "s26", "s27", "s28", "s29", "s30", "s31",  \
-  "vfpcc"
+  "vfpcc"					\
 }
 
 #define ADDITIONAL_REGISTER_NAMES		\
@@ -271,7 +271,7 @@ #define ADDITIONAL_REGISTER_NAMES		\
   {"r12", 12}, {"ip", 12}, 			\
   {"r13", 13}, {"sp", 13}, 			\
   {"r14", 14}, {"lr", 14},			\
-  {"r15", 15}, {"pc", 15}			\
+  {"r15", 15}, {"pc", 15},			\
   {"d0", 63},					\
   {"d1", 65},					\
   {"d2", 67},					\
@@ -287,7 +287,7 @@ #define ADDITIONAL_REGISTER_NAMES		\
   {"d12", 87},					\
   {"d13", 89},					\
   {"d14", 91},					\
-  {"d15", 93},					\
+  {"d15", 93}					\
 }
 
 #define REGISTER_PREFIX "__"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]