2001-01-25 Kazu Hirata <kazu@hxi.com>
* bfd-in2.h: Fix formatting. * libbfd.h: Likewise.
This commit is contained in:
parent
10bfd974d4
commit
c02e7c3eff
|
@ -1,3 +1,8 @@
|
||||||
|
2001-01-25 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
|
* bfd-in2.h: Rebuild.
|
||||||
|
* libbfd.h: Likewise.
|
||||||
|
|
||||||
2001-01-23 H.J. Lu <hjl@gnu.org>
|
2001-01-23 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* bfd-in2.h: Rebuild.
|
* bfd-in2.h: Rebuild.
|
||||||
|
|
|
@ -1316,16 +1316,14 @@ 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,
|
||||||
PTR data,
|
PTR data,
|
||||||
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
|
||||||
|
@ -1335,8 +1333,7 @@ bfd_copy_private_section_data PARAMS ((bfd *ibfd, asection *isec, bfd *obfd, ase
|
||||||
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));
|
|
||||||
|
|
||||||
enum bfd_architecture
|
enum bfd_architecture
|
||||||
{
|
{
|
||||||
|
@ -1576,14 +1573,12 @@ 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 *
|
||||||
bfd_lookup_arch
|
bfd_lookup_arch PARAMS ((enum bfd_architecture
|
||||||
PARAMS ((enum bfd_architecture
|
|
||||||
arch,
|
arch,
|
||||||
unsigned long machine));
|
unsigned long machine));
|
||||||
|
|
||||||
const char *
|
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));
|
||||||
|
@ -1770,25 +1765,21 @@ 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 {
|
||||||
arelent relent;
|
arelent relent;
|
||||||
struct relent_chain *next;
|
struct relent_chain *next;
|
||||||
} arelent_chain;
|
} arelent_chain;
|
||||||
bfd_reloc_status_type
|
bfd_reloc_status_type
|
||||||
|
bfd_check_overflow PARAMS ((enum complain_overflow how,
|
||||||
bfd_check_overflow
|
|
||||||
PARAMS ((enum complain_overflow how,
|
|
||||||
unsigned int bitsize,
|
unsigned int bitsize,
|
||||||
unsigned int rightshift,
|
unsigned int rightshift,
|
||||||
unsigned int addrsize,
|
unsigned int addrsize,
|
||||||
bfd_vma relocation));
|
bfd_vma relocation));
|
||||||
|
|
||||||
bfd_reloc_status_type
|
bfd_reloc_status_type
|
||||||
|
bfd_perform_relocation PARAMS ((bfd *abfd,
|
||||||
bfd_perform_relocation
|
|
||||||
PARAMS ((bfd *abfd,
|
|
||||||
arelent *reloc_entry,
|
arelent *reloc_entry,
|
||||||
PTR data,
|
PTR data,
|
||||||
asection *input_section,
|
asection *input_section,
|
||||||
|
@ -1796,9 +1787,7 @@ bfd_perform_relocation
|
||||||
char **error_message));
|
char **error_message));
|
||||||
|
|
||||||
bfd_reloc_status_type
|
bfd_reloc_status_type
|
||||||
|
bfd_install_relocation PARAMS ((bfd *abfd,
|
||||||
bfd_install_relocation
|
|
||||||
PARAMS ((bfd *abfd,
|
|
||||||
arelent *reloc_entry,
|
arelent *reloc_entry,
|
||||||
PTR data, bfd_vma data_start,
|
PTR data, bfd_vma data_start,
|
||||||
asection *input_section,
|
asection *input_section,
|
||||||
|
@ -2668,11 +2657,10 @@ This is the 3 bits of a value. */
|
||||||
BFD_RELOC_UNUSED };
|
BFD_RELOC_UNUSED };
|
||||||
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
|
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
|
||||||
reloc_howto_type *
|
reloc_howto_type *
|
||||||
|
bfd_reloc_type_lookup PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
|
||||||
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
|
||||||
|
@ -2811,7 +2799,7 @@ bfd_is_local_label_name PARAMS ((bfd *abfd, const char *name));
|
||||||
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));
|
||||||
|
@ -2824,7 +2812,7 @@ 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));
|
||||||
|
@ -3016,41 +3004,39 @@ typedef enum bfd_error
|
||||||
} 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)
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -3058,10 +3044,10 @@ 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));
|
||||||
|
@ -3179,8 +3165,7 @@ 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));
|
|
||||||
|
|
||||||
#define BFD_SEND(bfd, message, arglist) \
|
#define BFD_SEND(bfd, message, arglist) \
|
||||||
((*((bfd)->xvec->message)) arglist)
|
((*((bfd)->xvec->message)) arglist)
|
||||||
|
@ -3479,7 +3464,7 @@ CAT(NAME,_canonicalize_dynamic_reloc)
|
||||||
|
|
||||||
} 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 *
|
||||||
bfd_find_target PARAMS ((CONST char *target_name, bfd *abfd));
|
bfd_find_target PARAMS ((CONST char *target_name, bfd *abfd));
|
||||||
|
@ -3488,7 +3473,7 @@ 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));
|
||||||
|
|
21
bfd/libbfd.h
21
bfd/libbfd.h
|
@ -566,10 +566,10 @@ extern bfd *bfd_last_cache;
|
||||||
(FILE*) (bfd_last_cache->iostream): \
|
(FILE*) (bfd_last_cache->iostream): \
|
||||||
bfd_cache_lookup_worker(x))
|
bfd_cache_lookup_worker(x))
|
||||||
boolean
|
boolean
|
||||||
bfd_cache_init PARAMS ((bfd *abfd));
|
bfd_cache_init PARAMS ((bfd *abfd));
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
bfd_cache_close PARAMS ((bfd *abfd));
|
bfd_cache_close PARAMS ((bfd *abfd));
|
||||||
|
|
||||||
FILE*
|
FILE*
|
||||||
bfd_open_file PARAMS ((bfd *abfd));
|
bfd_open_file PARAMS ((bfd *abfd));
|
||||||
|
@ -1021,23 +1021,19 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
reloc_howto_type *
|
reloc_howto_type *
|
||||||
bfd_default_reloc_type_lookup
|
bfd_default_reloc_type_lookup PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
|
||||||
PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
|
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
bfd_generic_relax_section
|
bfd_generic_relax_section PARAMS ((bfd *abfd,
|
||||||
PARAMS ((bfd *abfd,
|
|
||||||
asection *section,
|
asection *section,
|
||||||
struct bfd_link_info *,
|
struct bfd_link_info *,
|
||||||
boolean *));
|
boolean *));
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
bfd_generic_gc_sections
|
bfd_generic_gc_sections PARAMS ((bfd *, struct bfd_link_info *));
|
||||||
PARAMS ((bfd *, struct bfd_link_info *));
|
|
||||||
|
|
||||||
bfd_byte *
|
bfd_byte *
|
||||||
|
bfd_generic_get_relocated_section_contents PARAMS ((bfd *abfd,
|
||||||
bfd_generic_get_relocated_section_contents PARAMS ((bfd *abfd,
|
|
||||||
struct bfd_link_info *link_info,
|
struct bfd_link_info *link_info,
|
||||||
struct bfd_link_order *link_order,
|
struct bfd_link_order *link_order,
|
||||||
bfd_byte *data,
|
bfd_byte *data,
|
||||||
|
@ -1051,13 +1047,12 @@ bfd_default_set_arch_mach PARAMS ((bfd *abfd,
|
||||||
unsigned long mach));
|
unsigned long mach));
|
||||||
|
|
||||||
const bfd_arch_info_type *
|
const bfd_arch_info_type *
|
||||||
bfd_default_compatible
|
bfd_default_compatible PARAMS ((const bfd_arch_info_type *a,
|
||||||
PARAMS ((const bfd_arch_info_type *a,
|
|
||||||
const bfd_arch_info_type *b));
|
const bfd_arch_info_type *b));
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
bfd_default_scan PARAMS ((const struct bfd_arch_info *info, const char *string));
|
bfd_default_scan PARAMS ((const struct bfd_arch_info *info, const char *string));
|
||||||
|
|
||||||
struct elf_internal_shdr *
|
struct elf_internal_shdr *
|
||||||
bfd_elf_find_section PARAMS ((bfd *abfd, char *name));
|
bfd_elf_find_section PARAMS ((bfd *abfd, char *name));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue