[PATCH] Add TARGET_ASM_DECLARE_FUNCTION_NAME target hook.

Anatoly Sokolov aesok@post.ru
Thu Aug 14 20:05:00 GMT 2008


Hi. 

Mark Mitchell wrote:
> Anatoly Sokolov wrote:
> 
>>   This patch introduce new TARGET_ASM_DECLARE_FUNCTION_NAME target hook
>> instead of ASM_DECLARE_FUNCTION_NAME macro.
> 
> This patch looks to create the hook, but not remove the macro.  It's a 
> good think to covert the macro to a hook, but if we're going to do that, 
> we should remove all uses of the macro at the same time.
> 

  The ASM_DECLARE_FUNCTION_NAME macro defined 27 times in 'config' directory.
I can't test at once all of a platform which use this macro, if do covertion.
But I plan, to replace the ASM_DECLARE_FUNCTION_NAME macro to
TARGET_ASM_DECLARE_FUNCTION_NAME, step by step (target by target).

  You can approve this patch as a first step? Or You insist that all targets
should be covered at once?

Anatoliy.



More information about the Gcc-patches mailing list