|
|
|
@ -23,12 +23,6 @@ |
|
|
|
#ifndef BFDLINK_H |
|
|
|
#define BFDLINK_H |
|
|
|
|
|
|
|
#if (__GNUC__ * 1000 + __GNUC_MINOR__ > 2000) |
|
|
|
#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE |
|
|
|
#else |
|
|
|
#define ENUM_BITFIELD(TYPE) unsigned int |
|
|
|
#endif |
|
|
|
|
|
|
|
/* Which symbols to strip during a link. */ |
|
|
|
enum bfd_link_strip |
|
|
|
{ |
|
|
|
@ -128,7 +122,6 @@ struct bfd_link_hash_entry |
|
|
|
undefined symbol list. */ |
|
|
|
struct bfd_link_hash_entry *next; |
|
|
|
bfd *abfd; /* BFD symbol was found in. */ |
|
|
|
bfd *weak; /* BFD weak symbol was found in. */ |
|
|
|
} undef; |
|
|
|
/* bfd_link_hash_defined, bfd_link_hash_defweak. */ |
|
|
|
struct |
|
|
|
@ -579,10 +572,13 @@ struct bfd_link_callbacks |
|
|
|
/* A function which is called when a symbol in notice_hash is
|
|
|
|
defined or referenced. H is the symbol. ABFD, SECTION and |
|
|
|
ADDRESS are the (new) value of the symbol. If SECTION is |
|
|
|
bfd_und_section, this is a reference. */ |
|
|
|
bfd_und_section, this is a reference. FLAGS are the symbol |
|
|
|
BSF_* flags. STRING is the name of the symbol to indirect to if |
|
|
|
the sym is indirect, or the warning string if a warning sym. */ |
|
|
|
bfd_boolean (*notice) |
|
|
|
(struct bfd_link_info *, struct bfd_link_hash_entry *h, |
|
|
|
bfd *abfd, asection *section, bfd_vma address); |
|
|
|
bfd *abfd, asection *section, bfd_vma address, flagword flags, |
|
|
|
const char *string); |
|
|
|
/* Error or warning link info message. */ |
|
|
|
void (*einfo) |
|
|
|
(const char *fmt, ...); |
|
|
|
|