Implement TARGET_HANDLE_GENERIC_ATTRIBUTE
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 3 Sep 2019 20:36:49 +0000 (20:36 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Tue, 3 Sep 2019 20:36:49 +0000 (20:36 +0000)
commit7a4418a53e80d38918a1f7ca4b8c2050cde08a24
tree50812e16fbb96679693af23f3880882336875f3a
parent52792faa0c8510b7bfc2c184c9f67d4a87f83215
Implement TARGET_HANDLE_GENERIC_ATTRIBUTE

gcc/ChangeLog:

2019-09-03  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* config/msp430/msp430.c (TARGET_HANDLE_GENERIC_ATTRIBUTE): Define.
(msp430_handle_generic_attribute): New function.
* doc/tm.texi: Regenerate.
* doc/tm.texi.in: Add TARGET_HANDLE_GENERIC_ATTRIBUTE.
* hooks.c (hook_tree_treeptr_tree_tree_int_boolptr_null): New.
* hooks.h (hook_tree_treeptr_tree_tree_int_boolptr_null): New.
* target.def: Define new hook TARGET_HANDLE_GENERIC_ATTRIBUTE.

gcc/c-family/ChangeLog:

2019-09-03  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* c-attribs.c (handle_section_attribute): Call the
handle_generic_attribute target hook after performing target
independent processing.
(handle_noinit_attribute): Likewise.

From-SVN: r275355
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/config/msp430/msp430.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/hooks.c
gcc/hooks.h
gcc/target.def