From 2f0b7af6989a1b64490b19cc814d6843eb755f86 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Sat, 10 Nov 2001 21:44:53 +0000 Subject: tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF. * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF. * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF. * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C', don't print an @fptr for labels either. (xstormy16_output_addr_vec): Don't print @fptr here. * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro. From-SVN: r46918 --- gcc/doc/tm.texi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gcc/doc') diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 3ff28f5..c0a2b70 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -6428,11 +6428,21 @@ a reference to the label @var{label}. @findex ASM_OUTPUT_SYMBOL_REF @item ASM_OUTPUT_SYMBOL_REF (@var{stream}, @var{sym}) A C statement (sans semicolon) to output a reference to -@code{SYMBOL_REF} @var{sym}. If not defined, @code{assemble_output} +@code{SYMBOL_REF} @var{sym}. If not defined, @code{assemble_name} will be used to output the name of the symbol. This macro may be used to modify the way a symbol is referenced depending on information encoded by @code{ENCODE_SECTION_INFO}. +@findex ASM_OUTPUT_LABEL_REF +@item ASM_OUTPUT_LABEL_REF (@var{stream}, @var{buf}) +A C statement (sans semicolon) to output a reference to @var{buf}, the +result of ASM_GENERATE_INTERNAL_LABEL. If not defined, +@code{assemble_name} will be used to output the name of the symbol. +This macro is not used by @code{output_asm_label}, or the @code{%l} +specifier that calls it; the intention is that this macro should be set +when it is necessary to output a label differently when its address +is being taken. + @findex ASM_OUTPUT_INTERNAL_LABEL @item ASM_OUTPUT_INTERNAL_LABEL (@var{stream}, @var{prefix}, @var{num}) A C statement to output to the stdio stream @var{stream} a label whose -- cgit v1.1