From: epetrich Date: Sat, 22 Jan 2005 01:03:55 +0000 (+0000) Subject: * src/SDCCglue.c (glue): make sure code area is declared before the X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=68e4ab4e62bd78e94258c46580a547c118d1583b;p=fw%2Fsdcc * src/SDCCglue.c (glue): make sure code area is declared before the static initialization area. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3643 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 823e3be0..a8006326 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-01-22 Erik Petrich + + * src/SDCCglue.c (glue): make sure code area is declared before the + static initialization area. + 2005-01-21 Raphael Neider * device/lib/Makefile.in: fixed test for pic16 install dir diff --git a/src/SDCCglue.c b/src/SDCCglue.c index bf3c1ac4..21edf2b9 100644 --- a/src/SDCCglue.c +++ b/src/SDCCglue.c @@ -1813,6 +1813,7 @@ glue (void) * the post_static_name area will immediately follow the static_name * area. */ + tfprintf (asmFile, "\t!area\n", port->mem.code_name); tfprintf (asmFile, "\t!area\n", port->mem.static_name); /* MOF */ tfprintf (asmFile, "\t!area\n", port->mem.post_static_name); tfprintf (asmFile, "\t!area\n", port->mem.static_name);