From 85240297499dc2d295e817f12c1aa5dbaf66f507 Mon Sep 17 00:00:00 2001 From: wilson Date: Wed, 23 Oct 1996 22:52:39 +0000 Subject: [PATCH] (ASM_DECLARE_FUNCTION_NAME): Call a29k_compute_reg_names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13018 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/a29k/a29k.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h index f64c98db444..4f5792891a0 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. -- 2.11.0