diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2005-07-20 10:42:51 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2005-07-20 10:42:51 +0000 |
commit | 0590533746b2500bdb91af99562fe026f9a8e313 (patch) | |
tree | 8f5b8b691c19eed2184dfeb155b2ef1c8a401804 /gcc/config | |
parent | 6d459e2baebdc8206fba20befccf8ee13a0366f2 (diff) | |
download | gcc-0590533746b2500bdb91af99562fe026f9a8e313.zip gcc-0590533746b2500bdb91af99562fe026f9a8e313.tar.gz gcc-0590533746b2500bdb91af99562fe026f9a8e313.tar.bz2 |
bfin.c: Include "langhooks.h".
* config/bfin/bfin.c: Include "langhooks.h".
(def_builtin): Go through lang_hooks to call builtin_function.
From-SVN: r102193
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/bfin/bfin.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index c4ee58b..a0c768d 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -45,6 +45,7 @@ #include "recog.h" #include "ggc.h" #include "integrate.h" +#include "langhooks.h" #include "bfin-protos.h" #include "tm-preds.h" #include "gt-bfin.h" @@ -2832,10 +2833,10 @@ enum bfin_builtins BFIN_BUILTIN_MAX }; -#define def_builtin(NAME, TYPE, CODE) \ -do { \ - builtin_function ((NAME), (TYPE), (CODE), BUILT_IN_MD, \ - NULL, NULL_TREE); \ +#define def_builtin(NAME, TYPE, CODE) \ +do { \ + lang_hooks.builtin_function ((NAME), (TYPE), (CODE), BUILT_IN_MD, \ + NULL, NULL_TREE); \ } while (0) /* Set up all builtin functions for this target. */ |