Browse Source

2001-01-23 H.J. Lu <hjl@gnu.org>

* bfd-in2.h: Rebuild.
binutils-2_11-branch
H.J. Lu 26 years ago
parent
commit
541389e202
  1. 4
      bfd/ChangeLog
  2. 128
      bfd/bfd-in2.h

4
bfd/ChangeLog

@ -1,3 +1,7 @@
2001-01-23 H.J. Lu <hjl@gnu.org>
* bfd-in2.h: Rebuild.
2001-01-23 H.J. Lu <hjl@gnu.org> 2001-01-23 H.J. Lu <hjl@gnu.org>
* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf) * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf)

128
bfd/bfd-in2.h

@ -778,7 +778,7 @@ extern int bfd_ticoff_get_section_load_page
PARAMS ((struct sec *)); PARAMS ((struct sec *));
/* And more from the source. */ /* And more from the source. */
void void
bfd_init PARAMS ((void)); bfd_init PARAMS ((void));
bfd * bfd *
@ -793,21 +793,22 @@ bfd_openstreamr PARAMS ((const char *, const char *, PTR));
bfd * bfd *
bfd_openw PARAMS ((CONST char *filename, CONST char *target)); bfd_openw PARAMS ((CONST char *filename, CONST char *target));
boolean boolean
bfd_close PARAMS ((bfd *abfd)); bfd_close PARAMS ((bfd *abfd));
boolean boolean
bfd_close_all_done PARAMS ((bfd *)); bfd_close_all_done PARAMS ((bfd *));
bfd * bfd *
bfd_create PARAMS ((CONST char *filename, bfd *templ)); bfd_create PARAMS ((CONST char *filename, bfd *templ));
boolean boolean
bfd_make_writable PARAMS ((bfd *abfd)); bfd_make_writable PARAMS ((bfd *abfd));
boolean boolean
bfd_make_readable PARAMS ((bfd *abfd)); bfd_make_readable PARAMS ((bfd *abfd));
/* Byte swapping macros for user section data. */ /* Byte swapping macros for user section data. */
#define bfd_put_8(abfd, val, ptr) \ #define bfd_put_8(abfd, val, ptr) \
@ -860,6 +861,7 @@ bfd_make_readable PARAMS ((bfd *abfd));
: (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \ : (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \
: (abort (), (void) 0)) : (abort (), (void) 0))
/* Byte swapping macros for file header data. */ /* Byte swapping macros for file header data. */
#define bfd_h_put_8(abfd, val, ptr) \ #define bfd_h_put_8(abfd, val, ptr) \
@ -1300,20 +1302,20 @@ bfd_make_section_anyway PARAMS ((bfd *abfd, const char *name));
asection * asection *
bfd_make_section PARAMS ((bfd *, const char *name)); bfd_make_section PARAMS ((bfd *, const char *name));
boolean boolean
bfd_set_section_flags PARAMS ((bfd *abfd, asection *sec, flagword flags)); bfd_set_section_flags PARAMS ((bfd *abfd, asection *sec, flagword flags));
void void
bfd_map_over_sections PARAMS ((bfd *abfd, bfd_map_over_sections PARAMS ((bfd *abfd,
void (*func) (bfd *abfd, void (*func) (bfd *abfd,
asection *sect, asection *sect,
PTR obj), PTR obj),
PTR obj)); PTR obj));
boolean boolean
bfd_set_section_size PARAMS ((bfd *abfd, asection *sec, bfd_size_type val)); bfd_set_section_size PARAMS ((bfd *abfd, asection *sec, bfd_size_type val));
boolean boolean
bfd_set_section_contents bfd_set_section_contents
PARAMS ((bfd *abfd, PARAMS ((bfd *abfd,
asection *section, asection *section,
@ -1321,18 +1323,18 @@ bfd_set_section_contents
file_ptr offset, file_ptr offset,
bfd_size_type count)); bfd_size_type count));
boolean boolean
bfd_get_section_contents bfd_get_section_contents
PARAMS ((bfd *abfd, asection *section, PTR location, PARAMS ((bfd *abfd, asection *section, PTR location,
file_ptr offset, bfd_size_type count)); file_ptr offset, bfd_size_type count));
boolean boolean
bfd_copy_private_section_data PARAMS ((bfd *ibfd, asection *isec, bfd *obfd, asection *osec)); bfd_copy_private_section_data PARAMS ((bfd *ibfd, asection *isec, bfd *obfd, asection *osec));
#define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \ #define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \
BFD_SEND (obfd, _bfd_copy_private_section_data, \ BFD_SEND (obfd, _bfd_copy_private_section_data, \
(ibfd, isection, obfd, osection)) (ibfd, isection, obfd, osection))
void void
_bfd_strip_section_from_output _bfd_strip_section_from_output
PARAMS ((struct bfd_link_info *info, asection *section)); PARAMS ((struct bfd_link_info *info, asection *section));
@ -1555,22 +1557,22 @@ bfd_arch_get_compatible PARAMS ((
const bfd *abfd, const bfd *abfd,
const bfd *bbfd)); const bfd *bbfd));
void void
bfd_set_arch_info PARAMS ((bfd *abfd, const bfd_arch_info_type *arg)); bfd_set_arch_info PARAMS ((bfd *abfd, const bfd_arch_info_type *arg));
enum bfd_architecture enum bfd_architecture
bfd_get_arch PARAMS ((bfd *abfd)); bfd_get_arch PARAMS ((bfd *abfd));
unsigned long unsigned long
bfd_get_mach PARAMS ((bfd *abfd)); bfd_get_mach PARAMS ((bfd *abfd));
unsigned int unsigned int
bfd_arch_bits_per_byte PARAMS ((bfd *abfd)); bfd_arch_bits_per_byte PARAMS ((bfd *abfd));
unsigned int unsigned int
bfd_arch_bits_per_address PARAMS ((bfd *abfd)); bfd_arch_bits_per_address PARAMS ((bfd *abfd));
const bfd_arch_info_type * const bfd_arch_info_type *
bfd_get_arch_info PARAMS ((bfd *abfd)); bfd_get_arch_info PARAMS ((bfd *abfd));
const bfd_arch_info_type * const bfd_arch_info_type *
@ -1583,10 +1585,10 @@ const char *
bfd_printable_arch_mach bfd_printable_arch_mach
PARAMS ((enum bfd_architecture arch, unsigned long machine)); PARAMS ((enum bfd_architecture arch, unsigned long machine));
unsigned int unsigned int
bfd_octets_per_byte PARAMS ((bfd *abfd)); bfd_octets_per_byte PARAMS ((bfd *abfd));
unsigned int unsigned int
bfd_arch_mach_octets_per_byte PARAMS ((enum bfd_architecture arch, bfd_arch_mach_octets_per_byte PARAMS ((enum bfd_architecture arch,
unsigned long machine)); unsigned long machine));
@ -1621,6 +1623,7 @@ typedef enum bfd_reloc_status
} }
bfd_reloc_status_type; bfd_reloc_status_type;
typedef struct reloc_cache_entry typedef struct reloc_cache_entry
{ {
/* A pointer into the canonical table of pointers */ /* A pointer into the canonical table of pointers */
@ -1766,7 +1769,7 @@ struct reloc_howto_struct
} \ } \
} \ } \
} }
unsigned int unsigned int
bfd_get_reloc_size PARAMS ((reloc_howto_type *)); bfd_get_reloc_size PARAMS ((reloc_howto_type *));
typedef struct relent_chain { typedef struct relent_chain {
@ -1804,6 +1807,7 @@ bfd_install_relocation
enum bfd_reloc_code_real { enum bfd_reloc_code_real {
_dummy_first_bfd_reloc_code_real, _dummy_first_bfd_reloc_code_real,
/* Basic absolute relocations of N bits. */ /* Basic absolute relocations of N bits. */
BFD_RELOC_64, BFD_RELOC_64,
BFD_RELOC_32, BFD_RELOC_32,
@ -2057,6 +2061,7 @@ to compensate for the borrow when the low bits are added. */
BFD_RELOC_MIPS_GOT_OFST, BFD_RELOC_MIPS_GOT_OFST,
BFD_RELOC_MIPS_GOT_DISP, BFD_RELOC_MIPS_GOT_DISP,
/* i386/elf relocations */ /* i386/elf relocations */
BFD_RELOC_386_GOT32, BFD_RELOC_386_GOT32,
BFD_RELOC_386_PLT32, BFD_RELOC_386_PLT32,
@ -2377,6 +2382,7 @@ bits placed non-contigously in the instruction. */
/* This is a 16 bit offset from the call table base pointer. */ /* This is a 16 bit offset from the call table base pointer. */
BFD_RELOC_V850_CALLT_16_16_OFFSET, BFD_RELOC_V850_CALLT_16_16_OFFSET,
/* This is a 32bit pcrel reloc for the mn10300, offset by two bytes in the /* This is a 32bit pcrel reloc for the mn10300, offset by two bytes in the
instruction. */ instruction. */
BFD_RELOC_MN10300_32_PCREL, BFD_RELOC_MN10300_32_PCREL,
@ -2668,6 +2674,7 @@ bfd_reloc_type_lookup PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
const char * const char *
bfd_get_reloc_code_name PARAMS ((bfd_reloc_code_real_type code)); bfd_get_reloc_code_name PARAMS ((bfd_reloc_code_real_type code));
typedef struct symbol_cache_entry typedef struct symbol_cache_entry
{ {
/* A pointer to the BFD which owns the symbol. This information /* A pointer to the BFD which owns the symbol. This information
@ -2792,10 +2799,10 @@ typedef struct symbol_cache_entry
} asymbol; } asymbol;
#define bfd_get_symtab_upper_bound(abfd) \ #define bfd_get_symtab_upper_bound(abfd) \
BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd)) BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd))
boolean boolean
bfd_is_local_label PARAMS ((bfd *abfd, asymbol *sym)); bfd_is_local_label PARAMS ((bfd *abfd, asymbol *sym));
boolean boolean
bfd_is_local_label_name PARAMS ((bfd *abfd, const char *name)); bfd_is_local_label_name PARAMS ((bfd *abfd, const char *name));
#define bfd_is_local_label_name(abfd, name) \ #define bfd_is_local_label_name(abfd, name) \
@ -2803,26 +2810,26 @@ bfd_is_local_label_name PARAMS ((bfd *abfd, const char *name));
#define bfd_canonicalize_symtab(abfd, location) \ #define bfd_canonicalize_symtab(abfd, location) \
BFD_SEND (abfd, _bfd_canonicalize_symtab,\ BFD_SEND (abfd, _bfd_canonicalize_symtab,\
(abfd, location)) (abfd, location))
boolean boolean
bfd_set_symtab PARAMS ((bfd *abfd, asymbol **location, unsigned int count)); bfd_set_symtab PARAMS ((bfd *abfd, asymbol **location, unsigned int count));
void void
bfd_print_symbol_vandf PARAMS ((PTR file, asymbol *symbol)); bfd_print_symbol_vandf PARAMS ((PTR file, asymbol *symbol));
#define bfd_make_empty_symbol(abfd) \ #define bfd_make_empty_symbol(abfd) \
BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd)) BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd))
#define bfd_make_debug_symbol(abfd,ptr,size) \ #define bfd_make_debug_symbol(abfd,ptr,size) \
BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size)) BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
int int
bfd_decode_symclass PARAMS ((asymbol *symbol)); bfd_decode_symclass PARAMS ((asymbol *symbol));
boolean boolean
bfd_is_undefined_symclass PARAMS ((int symclass)); bfd_is_undefined_symclass PARAMS ((int symclass));
void void
bfd_symbol_info PARAMS ((asymbol *symbol, symbol_info *ret)); bfd_symbol_info PARAMS ((asymbol *symbol, symbol_info *ret));
boolean boolean
bfd_copy_private_symbol_data PARAMS ((bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym)); bfd_copy_private_symbol_data PARAMS ((bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym));
#define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol) \ #define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol) \
@ -3008,85 +3015,85 @@ typedef enum bfd_error
bfd_error_invalid_error_code bfd_error_invalid_error_code
} bfd_error_type; } bfd_error_type;
bfd_error_type bfd_error_type
bfd_get_error PARAMS ((void)); bfd_get_error PARAMS ((void));
void void
bfd_set_error PARAMS ((bfd_error_type error_tag)); bfd_set_error PARAMS ((bfd_error_type error_tag));
CONST char * CONST char *
bfd_errmsg PARAMS ((bfd_error_type error_tag)); bfd_errmsg PARAMS ((bfd_error_type error_tag));
void void
bfd_perror PARAMS ((CONST char *message)); bfd_perror PARAMS ((CONST char *message));
typedef void (*bfd_error_handler_type) PARAMS ((const char *, ...)); typedef void (*bfd_error_handler_type) PARAMS ((const char *, ...));
bfd_error_handler_type bfd_error_handler_type
bfd_set_error_handler PARAMS ((bfd_error_handler_type)); bfd_set_error_handler PARAMS ((bfd_error_handler_type));
void void
bfd_set_error_program_name PARAMS ((const char *)); bfd_set_error_program_name PARAMS ((const char *));
bfd_error_handler_type bfd_error_handler_type
bfd_get_error_handler PARAMS ((void)); bfd_get_error_handler PARAMS ((void));
long long
bfd_get_reloc_upper_bound PARAMS ((bfd *abfd, asection *sect)); bfd_get_reloc_upper_bound PARAMS ((bfd *abfd, asection *sect));
long long
bfd_canonicalize_reloc bfd_canonicalize_reloc
PARAMS ((bfd *abfd, PARAMS ((bfd *abfd,
asection *sec, asection *sec,
arelent **loc, arelent **loc,
asymbol **syms)); asymbol **syms));
void void
bfd_set_reloc bfd_set_reloc
PARAMS ((bfd *abfd, asection *sec, arelent **rel, unsigned int count) PARAMS ((bfd *abfd, asection *sec, arelent **rel, unsigned int count)
); );
boolean boolean
bfd_set_file_flags PARAMS ((bfd *abfd, flagword flags)); bfd_set_file_flags PARAMS ((bfd *abfd, flagword flags));
int int
bfd_get_arch_size PARAMS ((bfd *abfd)); bfd_get_arch_size PARAMS ((bfd *abfd));
int int
bfd_get_sign_extend_vma PARAMS ((bfd *abfd)); bfd_get_sign_extend_vma PARAMS ((bfd *abfd));
boolean boolean
bfd_set_start_address PARAMS ((bfd *abfd, bfd_vma vma)); bfd_set_start_address PARAMS ((bfd *abfd, bfd_vma vma));
long long
bfd_get_mtime PARAMS ((bfd *abfd)); bfd_get_mtime PARAMS ((bfd *abfd));
long long
bfd_get_size PARAMS ((bfd *abfd)); bfd_get_size PARAMS ((bfd *abfd));
int int
bfd_get_gp_size PARAMS ((bfd *abfd)); bfd_get_gp_size PARAMS ((bfd *abfd));
void void
bfd_set_gp_size PARAMS ((bfd *abfd, int i)); bfd_set_gp_size PARAMS ((bfd *abfd, int i));
bfd_vma bfd_vma
bfd_scan_vma PARAMS ((CONST char *string, CONST char **end, int base)); bfd_scan_vma PARAMS ((CONST char *string, CONST char **end, int base));
boolean boolean
bfd_copy_private_bfd_data PARAMS ((bfd *ibfd, bfd *obfd)); bfd_copy_private_bfd_data PARAMS ((bfd *ibfd, bfd *obfd));
#define bfd_copy_private_bfd_data(ibfd, obfd) \ #define bfd_copy_private_bfd_data(ibfd, obfd) \
BFD_SEND (obfd, _bfd_copy_private_bfd_data, \ BFD_SEND (obfd, _bfd_copy_private_bfd_data, \
(ibfd, obfd)) (ibfd, obfd))
boolean boolean
bfd_merge_private_bfd_data PARAMS ((bfd *ibfd, bfd *obfd)); bfd_merge_private_bfd_data PARAMS ((bfd *ibfd, bfd *obfd));
#define bfd_merge_private_bfd_data(ibfd, obfd) \ #define bfd_merge_private_bfd_data(ibfd, obfd) \
BFD_SEND (obfd, _bfd_merge_private_bfd_data, \ BFD_SEND (obfd, _bfd_merge_private_bfd_data, \
(ibfd, obfd)) (ibfd, obfd))
boolean boolean
bfd_set_private_flags PARAMS ((bfd *abfd, flagword flags)); bfd_set_private_flags PARAMS ((bfd *abfd, flagword flags));
#define bfd_set_private_flags(abfd, flags) \ #define bfd_set_private_flags(abfd, flags) \
@ -3108,6 +3115,7 @@ bfd_set_private_flags PARAMS ((bfd *abfd, flagword flags));
#define bfd_debug_info_accumulate(abfd, section) \ #define bfd_debug_info_accumulate(abfd, section) \
BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section)) BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section))
#define bfd_stat_arch_elt(abfd, stat) \ #define bfd_stat_arch_elt(abfd, stat) \
BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat)) BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
@ -3155,10 +3163,10 @@ extern bfd_byte *bfd_get_relocated_section_contents
struct bfd_link_order *, bfd_byte *, struct bfd_link_order *, bfd_byte *,
boolean, asymbol **)); boolean, asymbol **));
symindex symindex
bfd_get_next_mapent PARAMS ((bfd *abfd, symindex previous, carsym **sym)); bfd_get_next_mapent PARAMS ((bfd *abfd, symindex previous, carsym **sym));
boolean boolean
bfd_set_archive_head PARAMS ((bfd *output, bfd *new_head)); bfd_set_archive_head PARAMS ((bfd *output, bfd *new_head));
bfd * bfd *
@ -3167,10 +3175,10 @@ bfd_openr_next_archived_file PARAMS ((bfd *archive, bfd *previous));
CONST char * CONST char *
bfd_core_file_failing_command PARAMS ((bfd *abfd)); bfd_core_file_failing_command PARAMS ((bfd *abfd));
int int
bfd_core_file_failing_signal PARAMS ((bfd *abfd)); bfd_core_file_failing_signal PARAMS ((bfd *abfd));
boolean boolean
core_file_matches_executable_p core_file_matches_executable_p
PARAMS ((bfd *core_bfd, bfd *exec_bfd)); PARAMS ((bfd *core_bfd, bfd *exec_bfd));
@ -3470,7 +3478,7 @@ CAT(NAME,_canonicalize_dynamic_reloc)
PTR backend_data; PTR backend_data;
} bfd_target; } bfd_target;
boolean boolean
bfd_set_default_target PARAMS ((const char *name)); bfd_set_default_target PARAMS ((const char *name));
const bfd_target * const bfd_target *
@ -3479,16 +3487,16 @@ bfd_find_target PARAMS ((CONST char *target_name, bfd *abfd));
const char ** const char **
bfd_target_list PARAMS ((void)); bfd_target_list PARAMS ((void));
const bfd_target * const bfd_target *
bfd_search_for_target PARAMS ((int (* search_func) (const bfd_target *, void *), void *)); bfd_search_for_target PARAMS ((int (* search_func) (const bfd_target *, void *), void *));
boolean boolean
bfd_check_format PARAMS ((bfd *abfd, bfd_format format)); bfd_check_format PARAMS ((bfd *abfd, bfd_format format));
boolean boolean
bfd_check_format_matches PARAMS ((bfd *abfd, bfd_format format, char ***matching)); bfd_check_format_matches PARAMS ((bfd *abfd, bfd_format format, char ***matching));
boolean boolean
bfd_set_format PARAMS ((bfd *abfd, bfd_format format)); bfd_set_format PARAMS ((bfd *abfd, bfd_format format));
CONST char * CONST char *

Loading…
Cancel
Save