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]

Correction for gcc/config/arm/arm.h


I found a typo in the macro ARM_FUNCTION_PROFILER for the arm. Here is a
patch and a ChangeLog entry for it. It is pretty clear what it should
have been. I will go ahead and check this in. -Will

ChangeLog entry

	* config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
instruction.


-- 
Will Cohen, GCC Engineer                         ------    ,__o
Red Hat, 2600 Meridian pkwy, Durham, NC 27713   ------   _-\_<,
Office (919)-547-0012 x390  Fax (919)-547-0024 ------   (*)/'(*)
Index: arm.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.h,v
retrieving revision 1.122
diff -c -2 -p -r1.122 arm.h
*** arm.h	2001/12/03 19:13:24	1.122
--- arm.h	2001/12/05 20:17:33
*************** typedef struct
*** 1577,1581 ****
  #define THUMB_FUNCTION_PROFILER(STREAM, LABELNO)	\
  {							\
!   fprintf (STREAM, "\tmov\\tip, lr\n");			\
    fprintf (STREAM, "\tbl\tmcount\n");			\
    fprintf (STREAM, "\t.word\tLP%d\n", LABELNO);		\
--- 1577,1581 ----
  #define THUMB_FUNCTION_PROFILER(STREAM, LABELNO)	\
  {							\
!   fprintf (STREAM, "\tmov\tip, lr\n");			\
    fprintf (STREAM, "\tbl\tmcount\n");			\
    fprintf (STREAM, "\t.word\tLP%d\n", LABELNO);		\

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