diff options
author | Steve Chamberlain <sac@cygnus> | 1992-05-04 23:42:03 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-05-04 23:42:03 +0000 |
commit | 2cfd05621b47ac1b59e751533289e255b85e2ae5 (patch) | |
tree | 11da4e41cfa561dd760bada29c6657a27890f214 /bfd/bfd-in.h | |
parent | bfbdc80f0adfc6000accbc468ed1764f5aeb8aae (diff) | |
download | gdb-2cfd05621b47ac1b59e751533289e255b85e2ae5.zip gdb-2cfd05621b47ac1b59e751533289e255b85e2ae5.tar.gz gdb-2cfd05621b47ac1b59e751533289e255b85e2ae5.tar.bz2 |
* bfd-in.h: bump version to 1.96
Major change; changed calling convention for
bfd_get_relocated_section_contents so that caller allocates
memory for section data.
* coffcode.h (bfd_coff_get_relocated_section_contents), reloc.c,
seclet.c, targets.c, bfd.c: reflect new convention.
* coffcode.h (styp_to_sec_flags): if styp_flags is not a special
case, then use reasonable default values for SEC_* flags.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 1d299ad..f14de50 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -52,7 +52,7 @@ here. */ # endif #endif -#define BFD_VERSION "0.18" +#define BFD_VERSION "1.96" /* forward declaration */ typedef struct _bfd bfd; @@ -226,7 +226,7 @@ typedef struct bfd_error_vector { } bfd_error_vector_type; -PROTO (char *, bfd_errmsg, ()); +PROTO (char *, bfd_errmsg, (bfd_ec error_tag)); PROTO (void, bfd_perror, (CONST char *message)); @@ -235,7 +235,7 @@ typedef enum bfd_print_symbol bfd_print_symbol_name, bfd_print_symbol_more, bfd_print_symbol_all, - bfd_print_symbol_nm, /* Pretty format suitable for nm program. */ + bfd_print_symbol_nm /* Pretty format suitable for nm program. */ } bfd_print_symbol_type; @@ -281,7 +281,8 @@ CAT(NAME,_sizeof_headers),\ CAT(NAME,_bfd_debug_info_start),\ CAT(NAME,_bfd_debug_info_end),\ CAT(NAME,_bfd_debug_info_accumulate),\ -CAT(NAME,_bfd_get_relocated_section_contents) +CAT(NAME,_bfd_get_relocated_section_contents),\ +CAT(NAME,_bfd_relax_section) #define COFF_SWAP_TABLE \ coff_swap_aux_in, coff_swap_sym_in, coff_swap_lineno_in, \ |