aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-10-23 15:52:39 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-10-23 15:52:39 -0700
commit469c300bacad32351b8e0e6235a540e7044609af (patch)
tree548b2cfa01bc7ec863e50be9d3ac4a9e841ee650
parentb85f21c09b2fe45d9aa742a14b6e1e43ed3a042b (diff)
downloadgcc-469c300bacad32351b8e0e6235a540e7044609af.zip
gcc-469c300bacad32351b8e0e6235a540e7044609af.tar.gz
gcc-469c300bacad32351b8e0e6235a540e7044609af.tar.bz2
(ASM_DECLARE_FUNCTION_NAME): Call a29k_compute_reg_names.
From-SVN: r13018
-rw-r--r--gcc/config/a29k/a29k.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h
index f64c98d..4f57928 100644
--- a/gcc/config/a29k/a29k.h
+++ b/gcc/config/a29k/a29k.h
@@ -928,12 +928,15 @@ extern int a29k_compare_fp_p;
For the 29k, we need the prolog to contain one or two words prior to
the declaration of the function name. So just store away the name and
- write it as part of the prolog. */
+ write it as part of the prolog. This also computes the register names,
+ which can't be done until after register allocation, but must be done
+ before final_start_function is called. */
extern char *a29k_function_name;
#define ASM_DECLARE_FUNCTION_NAME(FILE,NAME,DECL) \
- a29k_function_name = NAME;
+ a29k_function_name = NAME; \
+ a29k_compute_reg_names ();
/* This macro generates the assembly code for function entry.
FILE is a stdio stream to output the code to.