- motorola s19 file loader added

- added checksum support to intel hex file loader
- elf file loader now ignores any bss sections
- mingw build now always opens files in binary mode

git-svn-id: svn://svn.berlios.de/openocd/trunk@185 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak
2007-07-31 09:15:59 +00:00
parent eba4e394d8
commit f251b925ff
4 changed files with 276 additions and 9 deletions

View File

@@ -97,9 +97,14 @@ int fileio_open_local(fileio_t *fileio)
return ERROR_FILEIO_OPERATION_FAILED;
}
}
/* win32 always opens in binary mode */
#ifndef _WIN32
if (fileio->type == FILEIO_BINARY)
#endif
{
strcat(access, "b");
}
if (!(fileio_local->file = fopen(fileio->url, access)))
{