Commit 2a50d6bc by Michael Meissner

Correctly handle stack probes of more than one function in an object file under

NT.

From-SVN: r12633
parent 3807773b
...@@ -3519,7 +3519,7 @@ output_prolog (file, size) ...@@ -3519,7 +3519,7 @@ output_prolog (file, size)
asm_fprintf (file, "\tmr %s,%s\n", reg_names[12], reg_names[1]); asm_fprintf (file, "\tmr %s,%s\n", reg_names[12], reg_names[1]);
ASM_OUTPUT_INTERNAL_LABEL (file, "LCprobe", probe_labelno); 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_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); fputs ("\tbdnz ", file);
assemble_name (file, buf); assemble_name (file, buf);
fputs ("\n", file); fputs ("\n", file);
......
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