From: jesusc Date: Sat, 23 Aug 2003 04:04:29 +0000 (+0000) Subject: mcs51 linker uses .rel extension, not .o X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=4dc3848df0b087ca9fdb87d4e57296859a0f7117;p=fw%2Fsdcc mcs51 linker uses .rel extension, not .o git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2846 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/as/mcs51/lklibr.c b/as/mcs51/lklibr.c index db86ef43..07028e79 100644 --- a/as/mcs51/lklibr.c +++ b/as/mcs51/lklibr.c @@ -668,7 +668,6 @@ int fndsym( char *name ) while (ThisSym) { - //printf("ThisSym->name=%s\n", ThisSym->name); if (!strcmp(ThisSym->name, name)) { if ((!ThisLibr->loaded) && (numfound==0)) @@ -797,11 +796,7 @@ pmlibraryfile buildlibraryindex_SdccLib(char * PathLib, FILE * libfp, char * Dir This->libspc=PathLib; strcpy(This->relfil, ModName); - #ifdef SDK - sprintf(This->filename, "%s%s%co", DirLib, ModName, FSEPX); - #else /* SDK */ sprintf(This->filename, "%s%s%crel", DirLib, ModName, FSEPX); - #endif /* SDK */ This->str=This->filename;