* hppa.c: Conditionalize on HOST_HPPAHPUX instead of hp9000s800.
Get rid of HPPA/BSD specific code. That will go somewhere else someday. * (fill_spaces): Don't spin forever and die if you don't find $MILLICODE$ subspace. * (hppa_object_p): Make sure that we have a real honest-to-cthulu exec file! * (hppa_core_file_failing_signal, hppa_core_file_failing_command): Make these work for HPUX. * (make_bfd_asection): New routine to make section creation a little easier. * (hppa_core_file_p): Completely rewrite, leave out bugs. * libhppa.h: #include the right system files. Redefine all of the structs/macros for hacking core files to use more sensible HPUX core file structures. * targets.c (target_vector): Conditionalize hppa_vec on HOST_HPPAHPUX, not hp9000s800. * hosts/hppahpux.h: #include stdlib.h to get correct decls for malloc and realloc. #define HOST_HPPAHPUX.
This commit is contained in:
parent
205d660d59
commit
d9a30dc6c5
|
@ -7,6 +7,9 @@
|
|||
#include <string.h>
|
||||
#include <sys/file.h>
|
||||
#include <memory.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define HOST_HPPAHPUX
|
||||
|
||||
void free();
|
||||
|
||||
|
@ -31,9 +34,6 @@ rename(from, to)
|
|||
}
|
||||
#endif
|
||||
|
||||
extern PTR EXFUN(malloc,(unsigned));
|
||||
extern PTR EXFUN(realloc, (PTR, unsigned));
|
||||
|
||||
/* EXACT TYPES */
|
||||
typedef char int8e_type;
|
||||
typedef unsigned char uint8e_type;
|
||||
|
|
Loading…
Reference in New Issue