===================================================================
@@ -7780,7 +7779,7 @@ You may wish to use @code{ASM_OUTPUT_TYP
@code{ASM_OUTPUT_SIZE_DIRECTIVE} in the definition of this macro.
@end defmac
-@deftypefn {Target Hook} void TARGET_ASM_DECLARE_CONSTANT_NAME (FILE * @var{file}, const char * @var{name}, const_tree @var{expr}, HOST_WIDE_INT @var{size})
+@deftypefn {Target Hook} void TARGET_ASM_DECLARE_CONSTANT_NAME (FILE *@var{file}, const char *@var{name}, const_tree @var{expr}, HOST_WIDE_INT @var{size})
A target hook to output to the stdio stream @var{file} any text necessary
for declaring the name @var{name} of a constant which is being defined. This
target hook is responsible for outputting the label definition (perhaps using
===================================================================
@@ -7779,7 +7778,7 @@ You may wish to use @code{ASM_OUTPUT_TYP
@code{ASM_OUTPUT_SIZE_DIRECTIVE} in the definition of this macro.
@end defmac
-@deftypefn {Target Hook} void TARGET_ASM_DECLARE_CONSTANT_NAME (FILE * @var{file}, const char * @var{name}, const_tree @var{expr}, HOST_WIDE_INT @var{size})
+@hook TARGET_ASM_DECLARE_CONSTANT_NAME
A target hook to output to the stdio stream @var{file} any text necessary
for declaring the name @var{name} of a constant which is being defined. This
target hook is responsible for outputting the label definition (perhaps using
===================================================================
@@ -160,11 +160,10 @@ DEFHOOK
default_internal_label)
/* Output label for the constant. */
-/* ??? The documentation uses a different name for the hook argument EXP. */
-DEFHOOK_UNDOC
+DEFHOOK
(declare_constant_name,
"",
- void, (FILE *file, const char *name, const_tree exp, HOST_WIDE_INT size),
+ void, (FILE *file, const char *name, const_tree expr, HOST_WIDE_INT size),
default_asm_declare_constant_name)
/* Emit a ttype table reference to a typeinfo object. */