From: Stu Grossman Date: Tue, 22 Dec 1992 01:53:33 +0000 (+0000) Subject: * hppa.c: Conditionalize on HOST_HPPAHPUX instead of hp9000s800. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9a30dc6c50d7ebadbea2b5cd0d2711e90c8c5cb;p=binutils-gdb.git * 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. --- diff --git a/bfd/hosts/hppahpux.h b/bfd/hosts/hppahpux.h index a7bf374e98c..f58bd7e2345 100644 --- a/bfd/hosts/hppahpux.h +++ b/bfd/hosts/hppahpux.h @@ -7,6 +7,9 @@ #include #include #include +#include + +#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;