From 7e85a5e1891b1646a04babd799126b44092c36e3 Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Thu, 28 Aug 2003 12:22:30 +0000 Subject: [PATCH] device/lib/_startup.c: quick & dirty fix for ds390/ds400; these ports have their own _sdcc_external_start() git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2855 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 5 +++++ device/lib/_startup.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6d0d4472..023f4335 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-28 Bernhard Held + + * device/lib/_startup.c: quick & dirty fix for ds390/ds400; + these ports have their own __sdcc_external_start() + 2003-08-26 Bernhard Held pic patch provided by Slade Rich diff --git a/device/lib/_startup.c b/device/lib/_startup.c index 54677884..ab2d4d58 100644 --- a/device/lib/_startup.c +++ b/device/lib/_startup.c @@ -27,7 +27,12 @@ returns a non-zero value then global & static variable initialisation will be skipped */ +#if !defined(SDCC_ds390) && !defined(SDCC_ds400) + unsigned char _sdcc_external_startup () { return 0; } + +#endif + -- 2.47.2