===================================================================
@@ -10792,7 +10791,6 @@ built-in function.
@end deftypefn
@deftypefn {Target Hook} tree TARGET_RESOLVE_OVERLOADED_BUILTIN (unsigned int @var{loc}, tree @var{fndecl}, void *@var{arglist})
-
Select a replacement for a machine specific built-in function that
was set up by @samp{TARGET_INIT_BUILTINS}. This is done
@emph{before} regular type checking, and so allows the target to
===================================================================
@@ -10782,8 +10781,7 @@ ignored. This function should return th
built-in function.
@end deftypefn
-@deftypefn {Target Hook} tree TARGET_RESOLVE_OVERLOADED_BUILTIN (unsigned int @var{loc}, tree @var{fndecl}, void *@var{arglist})
-
+@hook TARGET_RESOLVE_OVERLOADED_BUILTIN
Select a replacement for a machine specific built-in function that
was set up by @samp{TARGET_INIT_BUILTINS}. This is done
@emph{before} regular type checking, and so allows the target to
===================================================================
@@ -1031,11 +1025,9 @@ DEFHOOK
implement a crude form of function overloading. The result is a
complete expression that implements the operation. PARAMS really
has type VEC(tree,gc)*, but we don't want to include tree.h here. */
- /* ??? params is called differently in the documentation, and we can't
- fix that because of GPL / GFDL incompatibility. */
-DEFHOOK_UNDOC
+DEFHOOK
(resolve_overloaded_builtin,
"",
- tree, (unsigned int /*location_t*/ loc, tree fndecl, void *params), NULL)
+ tree, (unsigned int /*location_t*/ loc, tree fndecl, void *arglist), NULL)
/* Fold a target-specific builtin. */