* bfd.h, elf-common.h, elf-external.h, elf-internal.h:

Add preliminary ELF support, sufficient for GDB, from Fred Fish.
* sysdep.h, sys/h-amix.h:  Support Amiga SVR4.
This commit is contained in:
John Gilmore 1991-10-01 19:25:51 +00:00
parent 30d2c06f1d
commit 927edea6e7
2 changed files with 9 additions and 2 deletions

View file

@ -61,7 +61,8 @@ typedef struct _bfd bfd;
and false on failure (unless they're a predicate). -- bfd.doc */ and false on failure (unless they're a predicate). -- bfd.doc */
/* I'm sure this is going to break something and someone is going to /* I'm sure this is going to break something and someone is going to
force me to change it. */ force me to change it. */
typedef enum boolean {false, true} boolean; /* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h> -fnf */
typedef enum bfd_boolean {false, true} boolean;
/* Try to avoid breaking stuff */ /* Try to avoid breaking stuff */
typedef long int file_ptr; typedef long int file_ptr;
@ -1952,6 +1953,7 @@ of a file.
enum target_flavour_enum { enum target_flavour_enum {
bfd_target_aout_flavour_enum, bfd_target_aout_flavour_enum,
bfd_target_coff_flavour_enum, bfd_target_coff_flavour_enum,
bfd_target_elf_flavour_enum,
bfd_target_ieee_flavour_enum, bfd_target_ieee_flavour_enum,
bfd_target_oasys_flavour_enum, bfd_target_oasys_flavour_enum,
bfd_target_srec_flavour_enum} flavour; bfd_target_srec_flavour_enum} flavour;

View file

@ -55,6 +55,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HP300BSD_SYS 19 #define HP300BSD_SYS 19
#define ULTRA3_SYS 20 /* NYU Ultracomputer */ #define ULTRA3_SYS 20 /* NYU Ultracomputer */
#define NEWSOS3_SYS 21 /* Sony NewsOS 3.x (bsd-4.3 based) */ #define NEWSOS3_SYS 21 /* Sony NewsOS 3.x (bsd-4.3 based) */
#define AMIX_SYS 22 /* Amiga Unix */
#include <ansidecl.h> #include <ansidecl.h>
@ -158,4 +159,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/h-ultra3.h> #include <sys/h-ultra3.h>
#endif #endif
#if HOST_SYS == AMIX_SYS
#include <sys/h-amix.h>
#endif
#endif /* _SYSDEP_H */ #endif /* _SYSDEP_H */