From ad8e676da2decf4ee03908edeffd157e55d6b312 Mon Sep 17 00:00:00 2001 From: borutr Date: Fri, 19 Oct 2007 17:36:01 +0000 Subject: [PATCH] * src/pic16/glue.c: fixed bug #983491 - "Merge duplicate strings function is ineffective" for pic16 tareget * support/scripts/listerr.c: corrected include path git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4937 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 6 ++++++ src/pic16/glue.c | 2 -- support/scripts/listerr.c | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64b20528..e64f2bee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-19 Borut Razem + + * src/pic16/glue.c: fixed bug #983491 - "Merge duplicate strings + function is ineffective" for pic16 tareget + * support/scripts/listerr.c: corrected include path + 2007-10-18 Maarten Brock * support/regression/tests/using.c: new, added diff --git a/src/pic16/glue.c b/src/pic16/glue.c index c8f77a15..811d2659 100644 --- a/src/pic16/glue.c +++ b/src/pic16/glue.c @@ -1383,7 +1383,6 @@ CODESPACE: %d\tCONST: %d\tPTRCONST: %d\tSPEC_CONST: %d\n", __FUNCTION__, /* symbol doesn't have absolute address but has initial value */ dbuf_printf (&code->oBuf, "%s:\n", sym->rname); - noAlloc++; resolveIvalSym (sym->ival, sym->type); pb = pic16_newpCodeChain(NULL, 'P',pic16_newpCodeCharP("; Starting pCode block for Ival")); @@ -1400,7 +1399,6 @@ CODESPACE: %d\tCONST: %d\tPTRCONST: %d\tSPEC_CONST: %d\n", __FUNCTION__, //fprintf(stderr, "%s:%d [2] generating init for label: %s\n", __FILE__, __LINE__, sym->rname); pic16_printIval(sym, sym->type, sym->ival, 'p', (void *)pb); pic16_flushDB('p', (void *)pb); - noAlloc--; } else { /* symbol doesn't have absolute address and no initial value */ diff --git a/support/scripts/listerr.c b/support/scripts/listerr.c index d5d74396..a5127cb8 100644 --- a/support/scripts/listerr.c +++ b/support/scripts/listerr.c @@ -1,7 +1,7 @@ /* * listerr.c - program to create the list of errors and warnings list from SDCCerr.c * - * gcc -I ../Util listerr.c -o listerr + * gcc -I ../../src listerr.c -o listerr */ #include -- 2.30.2