From 2a50d6bc50b85f94e10f40058c76f69ad35cbb62 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Tue, 13 Aug 1996 21:26:31 +0000 Subject: Correctly handle stack probes of more than one function in an object file under NT. From-SVN: r12633 --- gcc/config/rs6000/rs6000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 6c8981e..7223346 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -3519,7 +3519,7 @@ output_prolog (file, size) asm_fprintf (file, "\tmr %s,%s\n", reg_names[12], reg_names[1]); ASM_OUTPUT_INTERNAL_LABEL (file, "LCprobe", probe_labelno); asm_fprintf (file, "\t{lu|lwzu} %s,-4096(%s)\n", reg_names[0], reg_names[12]); - ASM_GENERATE_INTERNAL_LABEL (buf, "LCprobe", probe_labelno); + ASM_GENERATE_INTERNAL_LABEL (buf, "LCprobe", probe_labelno++); fputs ("\tbdnz ", file); assemble_name (file, buf); fputs ("\n", file); -- cgit v1.1