From: John Hassey Date: Mon, 10 May 1993 21:32:33 +0000 (+0000) Subject: fixed previous change to TRAMPOLINE_TEMPLATE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c828fb74c4121f741effac5be4a8587db5d74e9;p=gcc.git fixed previous change to TRAMPOLINE_TEMPLATE From-SVN: r4414 --- diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index 21671439eb1..dacead4538d 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -1183,10 +1183,6 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, /*** Trampolines for Nested Functions ***/ /* Output assembler code for a block containing the constant parts - char buf[256]; \ - static int labelno = 0; \ - labelno++; \ - ASM_GENERATE_INTERNAL_LABEL (buf, "LTRMP", labelno); \ of a trampoline, leaving space for the variable parts. This block is placed on the stack and filled in. It is aligned @@ -1198,6 +1194,10 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, #define TRAMPOLINE_TEMPLATE(FILE) \ { \ + char buf[256]; \ + static int labelno = 0; \ + labelno++; \ + ASM_GENERATE_INTERNAL_LABEL (buf, "LTRMP", labelno); \ /* Save the return address (r1) in the static chain reg (r11). */ \ fprintf (FILE, "\tor\t %s,%s,0\n", reg_names[11], reg_names[1]); \ /* Locate this block; transfer to the next instruction. */ \