diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-20 10:42:51 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-20 10:42:51 +0000 |
commit | 684389d24175699bb2fe704ded00c308ec1f1ab3 (patch) | |
tree | 8f5b8b691c19eed2184dfeb155b2ef1c8a401804 | |
parent | 7b6ef6dd315e44d3d03fba6f0a6c2622c62557af (diff) | |
download | gcc-684389d24175699bb2fe704ded00c308ec1f1ab3.tar.gz |
* config/bfin/bfin.c: Include "langhooks.h".
(def_builtin): Go through lang_hooks to call builtin_function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102193 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.c | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5704cca606a..f5edcf18ed9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2005-07-20 Bernd Schmidt <bernd.schmidt@analog.com> + * config/bfin/bfin.c: Include "langhooks.h". + (def_builtin): Go through lang_hooks to call builtin_function. + * config/bfin/bfin-protos.h (bfin_longcall_p): Declare. * config/bfin/predicates.md (symbol_ref_operand): New. (call_insn_operand): Delete. All callers changed to use diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index c4ee58b4ae5..a0c768d5a2a 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. */ |