From bc905564f7b20447176a1c9a802650761ca1bbb0 Mon Sep 17 00:00:00 2001 From: epetrich Date: Fri, 31 Oct 2003 17:56:59 +0000 Subject: [PATCH] * as/hc08/lkrloc.c (relr): Fixed ihx output, fixed lastAreaIndex warning git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2977 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 4 ++++ as/hc08/lkrloc.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3eb5c39c..f92356a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-10-31 Erik Petrich + + * as/hc08/lkrloc.c (relr): Fixed ihx output, fixed lastAreaIndex warning + 2003-10-31 Klaus Flittner * src/SDCCcse.c (updateSpillLocation): fixed bug #808027 diff --git a/as/hc08/lkrloc.c b/as/hc08/lkrloc.c index 8ff6ce5f..4fb276c4 100644 --- a/as/hc08/lkrloc.c +++ b/as/hc08/lkrloc.c @@ -515,8 +515,7 @@ relr() /* JLH: output only if data (beyond two byte address) */ if ((oflag == 1) && (rtcnt > 2)) { -#if 0 - int extendedAddress = (a[aindex]->a_addr >> 16) & 0xffff; + // int extendedAddress = (a[aindex]->a_addr >> 16) & 0xffff; /* Boy, is this a hack: for ABS sections, the * base address is stored as zero, and the T records @@ -542,7 +541,7 @@ relr() lastAreaIndex = aindex; newArea(); } - +#if 0 if (extendedAddress != lastExtendedAddress) { -- 2.30.2