diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2019-09-03 20:36:49 +0000 |
---|---|---|
committer | Jozef Lawrynowicz <jozefl@gcc.gnu.org> | 2019-09-03 20:36:49 +0000 |
commit | 7a4418a53e80d38918a1f7ca4b8c2050cde08a24 (patch) | |
tree | 50812e16fbb96679693af23f3880882336875f3a /gcc/hooks.c | |
parent | 52792faa0c8510b7bfc2c184c9f67d4a87f83215 (diff) | |
download | gcc-7a4418a53e80d38918a1f7ca4b8c2050cde08a24.zip gcc-7a4418a53e80d38918a1f7ca4b8c2050cde08a24.tar.gz gcc-7a4418a53e80d38918a1f7ca4b8c2050cde08a24.tar.bz2 |
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
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index f95659b..ca731c4 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -442,6 +442,12 @@ hook_tree_tree_tree_tree_null (tree, tree, tree) return NULL; } +tree +hook_tree_treeptr_tree_tree_int_boolptr_null (tree *, tree, tree, int, bool *) +{ + return NULL; +} + /* Generic hook that takes an rtx_insn *and returns a NULL string. */ const char * hook_constcharptr_const_rtx_insn_null (const rtx_insn *) |