]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/hooks.c
* dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
[thirdparty/gcc.git] / gcc / hooks.c
CommitLineData
e4ec2cac
AO
1/* General-purpose hooks.
2 Copyright (C) 2002 Free Software Foundation, Inc.
3
4This program is free software; you can redistribute it and/or modify it
5under the terms of the GNU General Public License as published by the
6Free Software Foundation; either version 2, or (at your option) any
7later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program; if not, write to the Free Software
16Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18 In other words, you are welcome to use, share and improve this program.
19 You are forbidden to forbid anyone else to use, share and improve
20 what you give them. Help stamp out software-hoarding! */
21
22/* This file contains generic hooks that can be used as defaults for
23 target or language-dependent hook initializers. */
24
25#include "config.h"
26#include "system.h"
27#include "hooks.h"
28
e5f3b786
NB
29/* Generic hook that does absolutely zappo. */
30void
31hook_void_void ()
32{
33}
34
e4ec2cac
AO
35/* Generic hook that takes no arguments and returns false. */
36bool
37hook_void_bool_false ()
38{
39 return false;
40}
ae46c4e0
RH
41
42/* Generic hook that takes (tree) and returns false. */
43bool
44hook_tree_bool_false (a)
45 tree a ATTRIBUTE_UNUSED;
46{
47 return false;
48}
fb49053f
RH
49
50/* Generic hook that takes (tree, int) and does nothing. */
51void
52hook_tree_int_void (a, b)
53 tree a ATTRIBUTE_UNUSED;
54 int b ATTRIBUTE_UNUSED;
55{
56}