Commit a59fb797 by Klaus Kaempf Committed by Richard Henderson

* alpha.md (call_vms, call_value_vms): Strip leading * from symbol.

From-SVN: r20703
parent bc57e970
Wed Jun 24 17:55:15 1998 Klaus Kaempf <kkaempf@progis.de>
* alpha.md (call_vms, call_value_vms): Strip leading * from symbol.
Wed Jun 24 16:27:23 1998 John Carr <jfc@mit.edu> Wed Jun 24 16:27:23 1998 John Carr <jfc@mit.edu>
* expr.c (get_memory_rtx): New function. * expr.c (get_memory_rtx): New function.
......
...@@ -3553,10 +3553,13 @@ ...@@ -3553,10 +3553,13 @@
if (GET_CODE (operands[0]) == SYMBOL_REF) if (GET_CODE (operands[0]) == SYMBOL_REF)
{ {
extern char *savealloc (); extern char *savealloc ();
char *symbol = XSTR (operands[0], 0); char *linksym, *symbol = XSTR (operands[0], 0);
char *linksym = savealloc (strlen (symbol) + 6);
rtx linkage; rtx linkage;
if (*symbol == '*')
symbol++;
linksym = savealloc (strlen (symbol) + 6);
alpha_need_linkage (symbol, 0); alpha_need_linkage (symbol, 0);
linksym[0] = '$'; linksym[0] = '$';
...@@ -3658,10 +3661,13 @@ ...@@ -3658,10 +3661,13 @@
if (GET_CODE (operands[1]) == SYMBOL_REF) if (GET_CODE (operands[1]) == SYMBOL_REF)
{ {
extern char *savealloc (); extern char *savealloc ();
char *symbol = XSTR (operands[1], 0); char *linksym, *symbol = XSTR (operands[1], 0);
char *linksym = savealloc (strlen (symbol) + 6);
rtx linkage; rtx linkage;
if (*symbol == '*')
symbol++;
linksym = savealloc (strlen (symbol) + 6);
alpha_need_linkage (symbol, 0); alpha_need_linkage (symbol, 0);
linksym[0] = '$'; linksym[0] = '$';
strcpy (linksym+1, symbol); strcpy (linksym+1, symbol);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment