Patchwork [PDP11] Hookize FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P

login
register
mail settings
Submitter Anatoly Sokolov
Date June 9, 2010, 2:05 p.m.
Message ID <1692941198.20100609180529@post.ru>
Download mbox | patch
Permalink /patch/55093/
State New
Headers show

Comments

Anatoly Sokolov - June 9, 2010, 2:05 p.m.
Здравствуйте, Anatoly.

Вы писали 30 мая 2010 г., 22:54:48:

Hello.

>   This patch removes obsolete FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE,
> LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P macros from PDP11 back end in the GCC
> and introduces equivalent TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE and
> TARGET_FUNCTION_VALUE_REGNO_P target hooks.

>         * config/pdp11/pdp11.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE,
>         LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
>         * config/pdp11/pdp11.c (moxie_function_value, moxie_libcall_value,
>         moxie_function_value_regno_p): New functions.
>         (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE,
>         TARGET_FUNCTION_VALUE_REGNO_P): Define.


This patch fix ChangeLog. Committed.


Anatoly.

Patch

Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog       (revision 160473)
+++ gcc/ChangeLog       (working copy)
@@ -74,8 +74,8 @@ 
 
        * config/pdp11/pdp11.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE,
        LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
-       * config/pdp11/pdp11.c (moxie_function_value, moxie_libcall_value,
-       moxie_function_value_regno_p): New functions.
+       * config/pdp11/pdp11.c (pdp11_function_value, pdp11_libcall_value,
+       pdp11_function_value_regno_p): New functions.
        (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE,
        TARGET_FUNCTION_VALUE_REGNO_P): Define.