summaryrefslogtreecommitdiff
path: root/gcc/config/s390/s390.md
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-17 09:59:32 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-17 09:59:32 +0000
commita3e33162b44998818aeeb9cb8305ba0635c0372f (patch)
tree23abe5b718221fe052756c850a97c0fffeb185ae /gcc/config/s390/s390.md
parent7b06b202b33de3d8f6c4a918d178482da0f44f85 (diff)
downloadgcc-a3e33162b44998818aeeb9cb8305ba0635c0372f.tar.gz
* config/s390/s390.c (SYMBOL_FLAG_ALIGN1): New.
(tls_model_chars): Remove. (larl_operand): Use SYMBOL_REF_FLAGS. (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL. (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P. (s390_output_mi_thunk): Likewise. (s390_emit_prologue): Set SYMBOL_FLAG_LOCAL as needed. (s390_function_profiler): Likewise. (s390_encode_section_info): Use default_encode_section_info and SYMBOL_FLAG_ALIGN1. (s390_strip_name_encoding): Remove. * config/s390/s390.h (ASM_OUTPUT_LABELREF): Remove. * config/s390/s390.md (call, call_value): Use SYMBOL_REF_LOCAL_P. (builtin_setjmp_receiver): Set SYMBOL_FLAG_LOCAL as needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65734 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/s390/s390.md')
-rw-r--r--gcc/config/s390/s390.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
index 5d632e7a917..88f0dcdc9d0 100644
--- a/gcc/config/s390/s390.md
+++ b/gcc/config/s390/s390.md
@@ -6256,7 +6256,7 @@
/* When calling a global routine in PIC mode, we must
replace the symbol itself with the PLT stub. */
- if (flag_pic && !SYMBOL_REF_FLAG (sym))
+ if (flag_pic && !SYMBOL_REF_LOCAL_P (sym))
{
sym = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, sym), 113);
sym = gen_rtx_CONST (Pmode, sym);
@@ -6375,7 +6375,7 @@
/* When calling a global routine in PIC mode, we must
replace the symbol itself with the PLT stub. */
- if (flag_pic && !SYMBOL_REF_FLAG (sym))
+ if (flag_pic && !SYMBOL_REF_LOCAL_P (sym))
{
sym = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, sym), 113);
sym = gen_rtx_CONST (Pmode, sym);
@@ -6720,7 +6720,7 @@
{
rtx gotreg = gen_rtx_REG (Pmode, PIC_OFFSET_TABLE_REGNUM);
rtx got = gen_rtx_SYMBOL_REF (Pmode, \"_GLOBAL_OFFSET_TABLE_\");
- SYMBOL_REF_FLAG (got) = 1;
+ SYMBOL_REF_FLAGS (got) = SYMBOL_FLAG_LOCAL;
emit_move_insn (gotreg, got);
emit_insn (gen_rtx_USE (VOIDmode, gotreg));