X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCopt.c;h=6c24ba6b7a06c0e48011e085cad02452c3347986;hb=52eb93f73f643bc7175d8f6ea06ec78b1026f001;hp=a7cf5cbbbaf703fc885387d40265ba4826c7271f;hpb=df600563e3005614c5ab09aab6ba39218bbd3191;p=fw%2Fsdcc diff --git a/src/SDCCopt.c b/src/SDCCopt.c index a7cf5cbb..6c24ba6b 100644 --- a/src/SDCCopt.c +++ b/src/SDCCopt.c @@ -219,7 +219,7 @@ cnvToFcall (iCode * ic, eBBlock * ebp) if (currFunc) FUNC_HASFCALL (currFunc->type) = 1; - if(TARGET_IS_PIC16) { + if(TARGET_IS_PIC16 || TARGET_IS_PIC) { /* normally these functions aren't marked external, so we can use their * _extern field to marked as already added to symbol table */ @@ -316,7 +316,7 @@ found: if (currFunc) FUNC_HASFCALL (currFunc->type) = 1; - if(TARGET_IS_PIC16) { + if(TARGET_IS_PIC16 || TARGET_IS_PIC) { /* normally these functions aren't marked external, so we can use their * _extern field to marked as already added to symbol table */ @@ -408,7 +408,7 @@ found: if (currFunc) FUNC_HASFCALL (currFunc->type) = 1; - if(TARGET_IS_PIC16) { + if(TARGET_IS_PIC16 || TARGET_IS_PIC) { /* normally these functions aren't marked external, so we can use their * _extern field to marked as already added to symbol table */ @@ -501,7 +501,7 @@ found: if (currFunc) FUNC_HASFCALL (currFunc->type) = 1; - if(TARGET_IS_PIC16) { + if(TARGET_IS_PIC16 || TARGET_IS_PIC) { /* normally these functions aren't marked external, so we can use their * _extern field to marked as already added to symbol table */ @@ -601,7 +601,7 @@ found: if (currFunc) FUNC_HASFCALL (currFunc->type) = 1; - if(TARGET_IS_PIC16) { + if(TARGET_IS_PIC16 || TARGET_IS_PIC) { /* normally these functions aren't marked external, so we can use their * _extern field to marked as already added to symbol table */