summaryrefslogtreecommitdiff
path: root/gcc/target.def
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-06 17:19:48 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-06 17:19:48 +0000
commitd895e9daa3f53f63bd039f8749552501b03ed2e1 (patch)
tree4e848cc26ba0119f178b8262c8ae3d830b4ed5bb /gcc/target.def
parentc76c77aad87bbe8b69cdadcd36e0baa1f7f5f7cc (diff)
downloadgcc-d895e9daa3f53f63bd039f8749552501b03ed2e1.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217196 138bc75d-0d04-0410-961f-82ee72b054a4
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,