aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2010-06-30 17:49:36 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-06-30 18:49:36 +0100
commitad78130c8447185dbfe306f18284cff91aed4e17 (patch)
tree25859d8b3886f760d8e5026644f1b22b5064d8c6 /gcc
parentf61707013ca8f42d7a6692b6dd343c4b396401d1 (diff)
downloadgcc-ad78130c8447185dbfe306f18284cff91aed4e17.zip
gcc-ad78130c8447185dbfe306f18284cff91aed4e17.tar.gz
gcc-ad78130c8447185dbfe306f18284cff91aed4e17.tar.bz2
target.def (declare_constant_name): Change exp to expr.
* target.def (declare_constant_name): Change exp to expr. Use DEFHOOK. * doc/tm.texi.in (TARGET_ASM_DECLARE_CONSTANT_NAME): Use @hook. * doc/tm.texi: Regenerate. From-SVN: r161619
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/tm.texi2
-rw-r--r--gcc/doc/tm.texi.in2
-rw-r--r--gcc/target.def5
4 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1909189..84eafdb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -3,6 +3,10 @@
* target.def: Remove comment about licensing problems of function
declarations.
+ * target.def (declare_constant_name): Change exp to expr. Use DEFHOOK.
+ * doc/tm.texi.in (TARGET_ASM_DECLARE_CONSTANT_NAME): Use @hook.
+ * doc/tm.texi: Regenerate.
+
2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
* toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index be04c38..5845829 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -7780,7 +7780,7 @@ You may wish to use @code{ASM_OUTPUT_TYPE_DIRECTIVE} and/or
@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
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index 3c8c28d..33901d4 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -7779,7 +7779,7 @@ You may wish to use @code{ASM_OUTPUT_TYPE_DIRECTIVE} and/or
@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
diff --git a/gcc/target.def b/gcc/target.def
index 1905aa1..92454db 100644
--- a/gcc/target.def
+++ b/gcc/target.def
@@ -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. */