From 68e4ab4e62bd78e94258c46580a547c118d1583b Mon Sep 17 00:00:00 2001 From: epetrich Date: Sat, 22 Jan 2005 01:03:55 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ src/SDCCglue.c | 1 + 2 files changed, 6 insertions(+) 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); -- 2.30.2