projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[fw/sdcc]
/
src
/
pic
/
glue.c
diff --git
a/src/pic/glue.c
b/src/pic/glue.c
index 35d24fa530828bab7091fcb978c7e0151f30173c..1baf9327a39e6ab7b5b229445d2fec9494ff134d 100644
(file)
--- a/
src/pic/glue.c
+++ b/
src/pic/glue.c
@@
-1007,16
+1007,16
@@
picglue ()
addSet(&s,&b);
addSet(&s,&c);
addSet(&s,&b);
addSet(&s,&c);
-
fprintf(stdout,"\n\n\n******************\n\n\n"
);
+
DFPRINTF((stderr,"\n\n\n******************\n\n\n")
);
for(t=s; t; t=t->next) {
if(t->item)
for(t=s; t; t=t->next) {
if(t->item)
-
fprintf(stdout,"Set item %d\n",*(char *)t->item
);
+
DFPRINTF((stderr,"Set item %d\n",*(char *)t->item)
);
}
s =reverseSet(s);
for(t=s; t; t=t->next) {
if(t->item)
}
s =reverseSet(s);
for(t=s; t; t=t->next) {
if(t->item)
-
fprintf(stdout,"Set item %d\n",*(char *)t->item
);
+
DFPRINTF((stderr,"Set item %d\n",*(char *)t->item)
);
}
addSetHead(&tmpfileSet,ovrFile);
}
addSetHead(&tmpfileSet,ovrFile);
@@
-1056,12
+1056,9
@@
picglue ()
AnalyzepCode('*'); //code->dbName);
AnalyzepCode('*'); //code->dbName);
+#ifdef PCODE_DEBUG
printCallTree(stderr);
printCallTree(stderr);
-
- //pCodePeepInit();
-
- //OptimizepCode(code->dbName);
-
+#endif
/* print the global struct definitions */
if (options.debug)
/* print the global struct definitions */
if (options.debug)
@@
-1140,9
+1137,6
@@
picglue ()
fprintf (asmFile, "; dpl and dph to emulate the 8051 calling mechanism \n");
fprintf (asmFile, "%s", iComments2);
fprintf (asmFile, "; dpl and dph to emulate the 8051 calling mechanism \n");
fprintf (asmFile, "%s", iComments2);
- fprintf (asmFile, "\tdph\n");
-
-
/* copy the sbit segment */
fprintf (asmFile, "%s", iComments2);
/* copy the sbit segment */
fprintf (asmFile, "%s", iComments2);
@@
-1156,6
+1150,8
@@
picglue ()
fprintf (asmFile, "%s", iComments2);
copyFile (asmFile, data->oFile);
fprintf (asmFile, "%s", iComments2);
copyFile (asmFile, data->oFile);
+ fprintf (asmFile, "\tendc\n");
+
/* create the overlay segments */
fprintf (asmFile, "%s", iComments2);
/* create the overlay segments */
fprintf (asmFile, "%s", iComments2);
@@
-1195,9
+1191,6
@@
picglue ()
copyFile (asmFile, xdata->oFile);
copyFile (asmFile, xdata->oFile);
- fprintf (asmFile, "\tendc\n");
-
-
/* copy the bit segment */
fprintf (asmFile, "%s", iComments2);
fprintf (asmFile, "; bit data\n");
/* copy the bit segment */
fprintf (asmFile, "%s", iComments2);
fprintf (asmFile, "; bit data\n");