SOURCES: sdcc-mcs51-stack-probe.patch (NEW) - for sdcc 2.7.4
kosmo
kosmo at pld-linux.org
Sun Oct 14 11:15:26 CEST 2007
Author: kosmo Date: Sun Oct 14 09:15:26 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- for sdcc 2.7.4
---- Files affected:
SOURCES:
sdcc-mcs51-stack-probe.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/sdcc-mcs51-stack-probe.patch
diff -u /dev/null SOURCES/sdcc-mcs51-stack-probe.patch:1.1
--- /dev/null Sun Oct 14 11:15:26 2007
+++ SOURCES/sdcc-mcs51-stack-probe.patch Sun Oct 14 11:15:21 2007
@@ -0,0 +1,13 @@
+diff -urN sdcc.orig/src/mcs51/gen.c sdcc/src/mcs51/gen.c
+--- sdcc.orig/src/mcs51/gen.c 2007-07-18 17:17:51.000000000 +0200
++++ sdcc/src/mcs51/gen.c 2007-08-16 08:25:04.000000000 +0200
+@@ -3336,6 +3336,9 @@
+ emitcode(";", "naked function: no prologue.");
+ return;
+ }
++
++ if (options.stack_probe)
++ emitcode ("lcall","__stack_probe");
+
+ /* here we need to generate the equates for the
+ register bank if required */
================================================================
More information about the pld-cvs-commit
mailing list