mcs51 linker uses .rel extension, not .o
authorjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 23 Aug 2003 04:04:29 +0000 (04:04 +0000)
committerjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 23 Aug 2003 04:04:29 +0000 (04:04 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2846 4a8a32a2-be11-0410-ad9d-d568d2c75423

as/mcs51/lklibr.c

index db86ef43a769220ba2fd3add28de647b85d07477..07028e7995395972584a98ba059407dcfe371ac3 100644 (file)
@@ -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;