* src/device/lib/_mulint.c : removed hint: nooverlay bug
* src/device/lib/_mullong.c : removed hint: nooverlay bug
* src/device/lib/_divuint.c : removed hint: nooverlay bug
* src/device/lib/_divulong.c: removed hint: nooverlay bug
* src/device/lib/_moduint.c : removed hint: nooverlay bug
* src/device/lib/_modulong.c: removed hint: nooverlay bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1377
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2001-10-08 Bernhar Held <bernhard@bernhardheld.de>
+
+ * src/SDCCmain.c (preProcess): added define SDCC_NOOVERLAY
+
+ * src/device/lib/_mulint.c : removed hint: nooverlay bug
+
+ * src/device/lib/_mullong.c : removed hint: nooverlay bug
+
+ * src/device/lib/_divuint.c : removed hint: nooverlay bug
+
+ * src/device/lib/_divulong.c: removed hint: nooverlay bug
+
+ * src/device/lib/_moduint.c : removed hint: nooverlay bug
+
+ * src/device/lib/_modulong.c: removed hint: nooverlay bug
+
2001-10-07 Michael Hope <michaelh@juju.net.nz>
* src/z80/gen.c (setupPair): Added 'extended stack' support for the z80. Can now have local variables or parameters of more than 127 bytes in size. Increadibly slow, but it will work. Currently anything involving the carry flag.
#else // SDCC_STACK_AUTO
-#if defined(SDCC_NOOVERLAY) // BUG SDCC_NOOVERLAY is not set by -no-overlay
+#if defined(SDCC_NOOVERLAY)
.area DSEG (DATA)
#else
.area OSEG (OVR,DATA)
#define reste2 r6
#define reste3 r7
-#if defined(SDCC_NOOVERLAY) // BUG SDCC_NOOVERLAY is not set by -no-overlay
+#if defined(SDCC_NOOVERLAY)
.area DSEG (DATA)
#else
.area OSEG (OVR,DATA)
#else // SDCC_STACK_AUTO
-#if defined(SDCC_NOOVERLAY) // BUG SDCC_NOOVERLAY is not set by -no-overlay
+#if defined(SDCC_NOOVERLAY)
.area DSEG (DATA)
#else
.area OSEG (OVR,DATA)
__modulong:
-#if defined(SDCC_NOOVERLAY) // BUG SDCC_NOOVERLAY is not set by -no-overlay
+#if defined(SDCC_NOOVERLAY)
.area DSEG (DATA)
#else
.area OSEG (OVR,DATA)
#if !defined(SDCC_STACK_AUTO)
-#if defined(SDCC_NOOVERLAY) // BUG SDCC_NOOVERLAY is not set by -no-overlay
+#if defined(SDCC_NOOVERLAY)
.area DSEG (DATA)
#else
.area OSEG (OVR,DATA)
#if !defined SDCC_STACK_AUTO
-#if defined(SDCC_NOOVERLAY) // BUG SDCC_NOOVERLAY is not set by -no-overlay
+#if defined(SDCC_NOOVERLAY)
.area DSEG (DATA)
#else
.area OSEG (OVR,DATA)
if (options.stack10bit)
addToList (preArgv, "-DSDCC_STACK_TENBIT");
+ /* set the macro for no overlay */
+ if (options.noOverlay)
+ addToList (preArgv, "-DSDCC_NOOVERLAY");
+
/* set the macro for large model */
switch (options.model)
{