This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git] / bfd / hosts / i386linux.h
1 #include <stddef.h>
2 #include <stdlib.h>
3 #include <unistd.h>
4 #define DONTDECLARE_MALLOC
5 #include "hosts/i386v.h"
6
7 /* Might be required by trad-core.c (not sure if it is).  */
8 #include <sys/file.h>
9
10 /* Linux writes the task structure at the end of the core file.  Currently it
11    is 2912 bytes.  It is possible that this should be a pickier check, but
12    we should probably not be too picky (the size of the task structure might
13    vary, and if it's not the length we expect it to be, it doesn't affect
14    our ability to process the core file).  So allow 0-4096 extra bytes at
15    the end.  */
16
17 #define TRAD_CORE_EXTRA_SIZE_ALLOWED 4096
18
19 /* Used for core file stuff only.  */
20 #ifndef NO_PROCFS
21 #define HAVE_PROCFS
22 #endif
23