+2005-05-13 Borut Razem <borut.razem AT siol.net>
+
+ * src/SDCCmain.c (linkEdit): fixed bug 1195202
+
2005-05-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* .version: changed to version 2.5.1; back to bleeding edge development
char *segName, *c;
int system_ret;
const char *s;
+ char linkerScriptFileName[PATH_MAX];
if(port->linker.needLinkerScript)
}
/* first we need to create the <filename>.lnk file */
- SNPRINTF (scratchFileName, sizeof(scratchFileName),
+ SNPRINTF (linkerScriptFileName, sizeof(scratchFileName),
"%s.lnk", dstFileName);
- if (!(lnkfile = fopen (scratchFileName, "w")))
+ if (!(lnkfile = fopen (linkerScriptFileName, "w")))
{
- werror (E_FILE_OPEN_ERR, scratchFileName);
+ werror (E_FILE_OPEN_ERR, linkerScriptFileName);
exit (1);
}
char buffer3[PATH_MAX];
set *tempSet=NULL, *libSet=NULL;
- strcpy(buffer3, dstFileName);
+ strcpy(buffer3, linkerScriptFileName);
if(TARGET_IS_PIC16) {
/* use $l to set the linker include directories */