From 001be062cd7cb968c6412c54b7461884a594cbc1 Mon Sep 17 00:00:00 2001
From: rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 11 Apr 2003 21:15:36 +0000
Subject:         * rtl.def (SYMBOL_REF): Add two 0 fields.         *
 gengtype.c (adjust_field_rtx_def): Handle them.         * print-rtl.c
 (print_rtx): Print them.         * rtl.h (SYMBOL_REF_DECL, SYMBOL_REF_FLAGS):
 New.         (SYMBOL_FLAG_FUNCTION, SYMBOL_REF_FUNCTION_P): New.        
 (SYMBOL_FLAG_LOCAL, SYMBOL_REF_LOCAL_P): New.         (SYMBOL_FLAG_SMALL,
 SYMBOL_REF_SMALL_P): New.         (SYMBOL_FLAG_TLS_SHIFT,
 SYMBOL_REF_TLS_MODEL): New.         (SYMBOL_FLAG_EXTERNAL,
 SYMBOL_REF_EXTERNAL_P): New.         (SYMBOL_FLAG_MACH_DEP): New.         *
 optabs.c (init_one_libfunc): Zap fake SYMBOL_REF_DECL.         * varasm.c
 (make_decl_rtl): Set SYMBOL_REF_DECL.         (assemble_static_space): Set
 SYMBOL_REF_FLAGS.         (assemble_trampoline_template): Likewise.        
 (output_constant_def, force_const_mem): Likewise.        
 (default_encode_section_info): New.         * output.h: Declare it.         *
 target-def.h (TARGET_ENCODE_SECTION_INFO): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65479 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/rtl.def | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'gcc/rtl.def')

diff --git a/gcc/rtl.def b/gcc/rtl.def
index b2087241e17..97fa4134099 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -860,11 +860,11 @@ DEF_RTL_EXPR(MEM, "mem", "e0", 'o')
    LABEL_NEXTREF and CONTAINING_INSN.  */
 DEF_RTL_EXPR(LABEL_REF, "label_ref", "u00", 'o')
 
-/* Reference to a named label: the string that is the first operand,
-   with `_' added implicitly in front.
-   Exception: if the first character explicitly given is `*',
-   to give it to the assembler, remove the `*' and do not add `_'.  */
-DEF_RTL_EXPR(SYMBOL_REF, "symbol_ref", "s", 'o')
+/* Reference to a named label: 
+   Operand 0: label name
+   Operand 1: flags (see SYMBOL_FLAG_* in rtl.h)
+   Operand 2: tree decl from which this symbol is derived, or null.  */
+DEF_RTL_EXPR(SYMBOL_REF, "symbol_ref", "s00", 'o')
 
 /* The condition code register is represented, in our imagination,
    as a register holding a value that can be compared to zero.
-- 
cgit v1.2.1

