summaryrefslogtreecommitdiff
path: root/gcc/target.def
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2014-11-06 17:19:48 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2014-11-06 17:19:48 +0000
commitdc2af904c90c2644c2d8364c68e42264e854ff2a (patch)
tree4e848cc26ba0119f178b8262c8ae3d830b4ed5bb /gcc/target.def
parent4ad4ebfeae632ead1aa06203690ec7701569bb2f (diff)
downloadgcc-dc2af904c90c2644c2d8364c68e42264e854ff2a.tar.gz
Add a new asm hook to print the end of a variable definition.
* target.def (decl_end): New hook. * varasm.c (assemble_variable_contents, assemble_constant_contents): Use it. * doc/tm.texi.in (TARGET_ASM_DECL_END): Add. * doc/tm.texi: Regenerate. From-SVN: r217196
Diffstat (limited to 'gcc/target.def')
-rw-r--r--gcc/target.def9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/target.def b/gcc/target.def
index d460516ffe6..4c02c1113d1 100644
--- a/gcc/target.def
+++ b/gcc/target.def
@@ -127,6 +127,15 @@ when the relevant string is @code{NULL}.",
bool, (rtx x, unsigned int size, int aligned_p),
default_assemble_integer)
+/* Notify the backend that we have completed emitting the data for a
+ decl. */
+DEFHOOK
+(decl_end,
+ "Define this hook if the target assembler requires a special marker to\n\
+terminate an initialized variable declaration.",
+ void, (void),
+ hook_void_void)
+
/* Output code that will globalize a label. */
DEFHOOK
(globalize_label,