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
This commit is contained in:
parent
6d459e2bae
commit
0590533746
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user