aboutsummaryrefslogtreecommitdiff
path: root/include/bfd.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-01 19:25:51 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-01 19:25:51 +0000
commit927edea6e7b545de8d69ecf5bdaeec2938ae6459 (patch)
tree0e143bde3fdf5de79523f8f8e078b9a308901458 /include/bfd.h
parent30d2c06f1d2ed90c4e6cb098c9c0b0f271a08044 (diff)
downloadgdb-927edea6e7b545de8d69ecf5bdaeec2938ae6459.zip
gdb-927edea6e7b545de8d69ecf5bdaeec2938ae6459.tar.gz
gdb-927edea6e7b545de8d69ecf5bdaeec2938ae6459.tar.bz2
* 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.
Diffstat (limited to 'include/bfd.h')
-rw-r--r--include/bfd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/bfd.h b/include/bfd.h
index d580939..f7b25b7 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -61,7 +61,8 @@ typedef struct _bfd bfd;
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
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 */
typedef long int file_ptr;
@@ -1952,6 +1953,7 @@ of a file.
enum target_flavour_enum {
bfd_target_aout_flavour_enum,
bfd_target_coff_flavour_enum,
+ bfd_target_elf_flavour_enum,
bfd_target_ieee_flavour_enum,
bfd_target_oasys_flavour_enum,
bfd_target_srec_flavour_enum} flavour;
@@ -2086,7 +2088,7 @@ Standard stuff.
Symbols and reloctions
*/
- SDEF (unsigned int, _get_symtab_upper_bound, (bfd *));
+ SDEF (unsigned int, _get_symtab_upper_bound, (bfd *));
SDEF (unsigned int, _bfd_canonicalize_symtab,
(bfd *, struct symbol_cache_entry **));
SDEF (unsigned int, _get_reloc_upper_bound, (bfd *, sec_ptr));