aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i960/i960.c
diff options
context:
space:
mode:
authorFelix Lee <flee@cygnus.com>1999-07-09 18:57:11 +0000
committerJim Wilson <wilson@gcc.gnu.org>1999-07-09 11:57:11 -0700
commitc3c7ea1f569fe100675cd5ce0eca1d5f2f8f6c34 (patch)
treeeb40e453793215b2e5926388591293ce1998eb9d /gcc/config/i960/i960.c
parentf90cdf34d2409c87ade5b20cff4f9b4ffc64cfaf (diff)
downloadgcc-c3c7ea1f569fe100675cd5ce0eca1d5f2f8f6c34.zip
gcc-c3c7ea1f569fe100675cd5ce0eca1d5f2f8f6c34.tar.gz
gcc-c3c7ea1f569fe100675cd5ce0eca1d5f2f8f6c34.tar.bz2
Patch for i960 build failure with unsubmitted live-range-splitting patches.
* config/i960/i960.c (ret_label): Change asm label from "LR:" to "Li960R:", to avoid name clash. From-SVN: r28047
Diffstat (limited to 'gcc/config/i960/i960.c')
-rw-r--r--gcc/config/i960/i960.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c
index 535d05e..45632cf 100644
--- a/gcc/config/i960/i960.c
+++ b/gcc/config/i960/i960.c
@@ -1,5 +1,5 @@
/* Subroutines used for code generation on intel 80960.
- Copyright (C) 1992, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Contributed by Steven McGeady, Intel Corp.
Additional Work by Glenn Colon-Bonet, Jonathan Shapiro, Andy Wilson
Converted to GCC 2.0 by Jim Wilson and Michael Tiemann, Cygnus Support.
@@ -1196,7 +1196,7 @@ i960_function_name_declare (file, name, fndecl)
assemble_name (file, name);
fprintf (file, ",%s.lf\n", (name[0] == '*' ? &name[1] : name));
ASM_OUTPUT_LABEL (file, name);
- fprintf (file, "\tlda LR%d,g14\n", ret_label);
+ fprintf (file, "\tlda Li960R%d,g14\n", ret_label);
fprintf (file, "%s.lf:\n", (name[0] == '*' ? &name[1] : name));
fprintf (file, "\tmov g14,g%d\n", i960_leaf_ret_reg);
@@ -1581,7 +1581,7 @@ i960_function_epilogue (file, size)
{
if (i960_leaf_ret_reg >= 0)
{
- fprintf (file, "LR%d: ret\n", ret_label);
+ fprintf (file, "Li960R%d: ret\n", ret_label);
return;
}
@@ -1611,11 +1611,11 @@ i960_function_epilogue (file, size)
}
break;
}
- fprintf (file, "LR%d: ret\n", ret_label);
+ fprintf (file, "Li960R%d: ret\n", ret_label);
return;
}
- fprintf (file, "LR%d:\n", ret_label);
+ fprintf (file, "Li960R%d:\n", ret_label);
fprintf (file, "\t#EPILOGUE#\n");
@@ -1700,7 +1700,7 @@ i960_output_ret_insn (insn)
if (! TARGET_CODE_ALIGN && next_real_insn (insn) == 0)
return "";
- sprintf (lbuf, "b LR%d", ret_label);
+ sprintf (lbuf, "b Li960R%d", ret_label);
return lbuf;
}