- add support for ELF images (thanks to Vincent Palatin for this patch)

git-svn-id: svn://svn.berlios.de/openocd/trunk@161 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
drath
2007-05-31 11:17:54 +00:00
parent f94d66d7c5
commit 7087b66f19
4 changed files with 218 additions and 11 deletions
+12
View File
@@ -35,6 +35,18 @@
#include <fcntl.h>
#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h> /* for MIN/MAX macros */
#endif
/* MIN,MAX macros */
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#ifndef MAX
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
/* gettimeofday() */
#ifndef HAVE_GETTIMEOFDAY