On 30/11/11 19:19, Anatoly Sokolov wrote:
> Hello.
> 
>   This patch removes obsolete FUNCTION_VALUE_REGNO_P macro from ARM back end 
> in the GCC and introduces equivalent TARGET_FUNCTION_VALUE_REGNO_P target 
> hook.
> 
>   Since the LIBCALL_VALUE macro should be poisoned in the future, this patch 
> replaces it with the arm_libcall_value_1 function.
> 
>   Bootstrapped and regression tested on arm-unknown-linux-gnueabi.
> 
>         * config/arm/arm.h (LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove.
>         * config/arm/arm-protos.h (aapcs_libcall_value): Remove.
>         * config/arm/arm.c (TARGET_FUNCTION_VALUE_REGNO_P): Define.
>         (arm_libcall_value_1, arm_function_value_regno_p): New function.
>         (arm_function_value, arm_libcall_value): Use arm_libcall_value_1.
>         (aapcs_libcall_value): Make static.
>         (arm_libcall_value): Add static qualifier
> 

OK

R.

Reply via email to