From: <dan...@us...> - 2006-11-03 12:06:20
|
Revision: 774 http://svn.sourceforge.net/cegcc/?rev=774&view=rev Author: dannybackx Date: 2006-11-03 04:06:13 -0800 (Fri, 03 Nov 2006) Log Message: ----------- Implement Pedro's quick suggestion. Modified Paths: -------------- trunk/cegcc/src/gcc/gcc/ChangeLog.ce trunk/cegcc/src/gcc/gcc/config/arm/pe.h Modified: trunk/cegcc/src/gcc/gcc/ChangeLog.ce =================================================================== --- trunk/cegcc/src/gcc/gcc/ChangeLog.ce 2006-11-03 11:44:55 UTC (rev 773) +++ trunk/cegcc/src/gcc/gcc/ChangeLog.ce 2006-11-03 12:06:13 UTC (rev 774) @@ -1,3 +1,8 @@ +2006-11-04 Danny Backx <dan...@us...> + + * config/arm/pe.h (PROFILE_HOOK) : Remove, it looks like we don't need + it to get profiling to work. + 2006-10-30 Pedro Alves <ped...@po...> * target-def.h (TARGET_ATTRIBUTE_TABLE): Only define if not Modified: trunk/cegcc/src/gcc/gcc/config/arm/pe.h =================================================================== --- trunk/cegcc/src/gcc/gcc/config/arm/pe.h 2006-11-03 11:44:55 UTC (rev 773) +++ trunk/cegcc/src/gcc/gcc/config/arm/pe.h 2006-11-03 12:06:13 UTC (rev 774) @@ -185,6 +185,10 @@ #define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \ arm_pe_declare_function_type (FILE, XSTR (FUN, 0), 1) +#if 0 +/* + * We don't appear to need this to get monitoring to work. + */ #undef PROFILE_HOOK #define PROFILE_HOOK(LABEL) \ if (MAIN_NAME_P (DECL_NAME (current_function_decl))) \ @@ -194,6 +198,7 @@ gen_rtx_SYMBOL_REF (Pmode, "_monstartup")), \ const0_rtx)); \ } +#endif /* This implements the `alias' attribute. */ #undef ASM_OUTPUT_DEF_FROM_DECLS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |