Fixed exported names, removed a bad define
This commit is contained in:
parent
fdb1821eb4
commit
bdd2e7f179
|
@ -1,3 +1,10 @@
|
||||||
|
Mon Jan 29 14:27:24 1996 Kim Knuttila <krk@cygnus.com>
|
||||||
|
|
||||||
|
* libcoff-in.h: aligned newly exported names with bfd naming
|
||||||
|
conventions. Removed an erroneous define of POWERPC_LE_PE.
|
||||||
|
* libcoff.h: Rebuild.
|
||||||
|
* cofflink.c, coff-ppc.c: the above function name changes
|
||||||
|
|
||||||
Mon Jan 29 13:06:28 1996 Ian Lance Taylor <ian@cygnus.com>
|
Mon Jan 29 13:06:28 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* elflink.h (elf_link_add_object_symbols): Only set weakdef to a
|
* elflink.h (elf_link_add_object_symbols): Only set weakdef to a
|
||||||
|
|
|
@ -108,7 +108,7 @@ _bfd_coff_link_hash_table_create (abfd)
|
||||||
/* Create an entry in a COFF debug merge hash table. */
|
/* Create an entry in a COFF debug merge hash table. */
|
||||||
|
|
||||||
struct bfd_hash_entry *
|
struct bfd_hash_entry *
|
||||||
coff_debug_merge_hash_newfunc (entry, table, string)
|
_bfd_coff_debug_merge_hash_newfunc (entry, table, string)
|
||||||
struct bfd_hash_entry *entry;
|
struct bfd_hash_entry *entry;
|
||||||
struct bfd_hash_table *table;
|
struct bfd_hash_table *table;
|
||||||
const char *string;
|
const char *string;
|
||||||
|
@ -663,7 +663,7 @@ _bfd_coff_final_link (abfd, info)
|
||||||
sub = p->u.indirect.section->owner;
|
sub = p->u.indirect.section->owner;
|
||||||
if (! sub->output_has_begun)
|
if (! sub->output_has_begun)
|
||||||
{
|
{
|
||||||
if (! coff_link_input_bfd (&finfo, sub))
|
if (! _bfd_coff_link_input_bfd (&finfo, sub))
|
||||||
goto error_return;
|
goto error_return;
|
||||||
sub->output_has_begun = true;
|
sub->output_has_begun = true;
|
||||||
}
|
}
|
||||||
|
@ -671,7 +671,7 @@ _bfd_coff_final_link (abfd, info)
|
||||||
else if (p->type == bfd_section_reloc_link_order
|
else if (p->type == bfd_section_reloc_link_order
|
||||||
|| p->type == bfd_symbol_reloc_link_order)
|
|| p->type == bfd_symbol_reloc_link_order)
|
||||||
{
|
{
|
||||||
if (! coff_reloc_link_order (abfd, &finfo, o, p))
|
if (! _bfd_coff_reloc_link_order (abfd, &finfo, o, p))
|
||||||
goto error_return;
|
goto error_return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -682,7 +682,7 @@ _bfd_coff_final_link (abfd, info)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Free up the buffers used by coff_link_input_bfd. */
|
/* Free up the buffers used by _bfd_coff_link_input_bfd. */
|
||||||
|
|
||||||
coff_debug_merge_hash_table_free (&finfo.debug_merge);
|
coff_debug_merge_hash_table_free (&finfo.debug_merge);
|
||||||
debug_merge_allocated = false;
|
debug_merge_allocated = false;
|
||||||
|
@ -742,12 +742,12 @@ _bfd_coff_final_link (abfd, info)
|
||||||
|
|
||||||
/* Write out the global symbols. */
|
/* Write out the global symbols. */
|
||||||
finfo.failed = false;
|
finfo.failed = false;
|
||||||
coff_link_hash_traverse (coff_hash_table (info), coff_write_global_sym,
|
coff_link_hash_traverse (coff_hash_table (info), _bfd_coff_write_global_sym,
|
||||||
(PTR) &finfo);
|
(PTR) &finfo);
|
||||||
if (finfo.failed)
|
if (finfo.failed)
|
||||||
goto error_return;
|
goto error_return;
|
||||||
|
|
||||||
/* The outsyms buffer is used by coff_write_global_sym. */
|
/* The outsyms buffer is used by _bfd_coff_write_global_sym. */
|
||||||
if (finfo.outsyms != NULL)
|
if (finfo.outsyms != NULL)
|
||||||
{
|
{
|
||||||
free (finfo.outsyms);
|
free (finfo.outsyms);
|
||||||
|
@ -1016,7 +1016,7 @@ process_embedded_commands (output_bfd, info, abfd)
|
||||||
handles all the sections and relocations of the input file at once. */
|
handles all the sections and relocations of the input file at once. */
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
coff_link_input_bfd (finfo, input_bfd)
|
_bfd_coff_link_input_bfd (finfo, input_bfd)
|
||||||
struct coff_final_link_info *finfo;
|
struct coff_final_link_info *finfo;
|
||||||
bfd *input_bfd;
|
bfd *input_bfd;
|
||||||
{
|
{
|
||||||
|
@ -1901,7 +1901,7 @@ coff_link_input_bfd (finfo, input_bfd)
|
||||||
/* Write out a global symbol. Called via coff_link_hash_traverse. */
|
/* Write out a global symbol. Called via coff_link_hash_traverse. */
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
coff_write_global_sym (h, data)
|
_bfd_coff_write_global_sym (h, data)
|
||||||
struct coff_link_hash_entry *h;
|
struct coff_link_hash_entry *h;
|
||||||
PTR data;
|
PTR data;
|
||||||
{
|
{
|
||||||
|
@ -2032,7 +2032,7 @@ coff_write_global_sym (h, data)
|
||||||
/* Handle a link order which is supposed to generate a reloc. */
|
/* Handle a link order which is supposed to generate a reloc. */
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
coff_reloc_link_order (output_bfd, finfo, output_section, link_order)
|
_bfd_coff_reloc_link_order (output_bfd, finfo, output_section, link_order)
|
||||||
bfd *output_bfd;
|
bfd *output_bfd;
|
||||||
struct coff_final_link_info *finfo;
|
struct coff_final_link_info *finfo;
|
||||||
asection *output_section;
|
asection *output_section;
|
||||||
|
|
|
@ -302,7 +302,7 @@ extern void bfd_perform_slip PARAMS ((bfd *abfd, unsigned int slip,
|
||||||
/* Functions and types in cofflink.c. */
|
/* Functions and types in cofflink.c. */
|
||||||
|
|
||||||
#define STRING_SIZE_SIZE (4)
|
#define STRING_SIZE_SIZE (4)
|
||||||
#define POWERPC_LE_PE
|
|
||||||
/* We use a hash table to merge identical enum, struct, and union
|
/* We use a hash table to merge identical enum, struct, and union
|
||||||
definitions in the linker. */
|
definitions in the linker. */
|
||||||
|
|
||||||
|
@ -361,7 +361,7 @@ struct coff_debug_merge_hash_table
|
||||||
/* Initialize a COFF debug merge hash table. */
|
/* Initialize a COFF debug merge hash table. */
|
||||||
|
|
||||||
#define coff_debug_merge_hash_table_init(table) \
|
#define coff_debug_merge_hash_table_init(table) \
|
||||||
(bfd_hash_table_init (&(table)->root, coff_debug_merge_hash_newfunc))
|
(bfd_hash_table_init (&(table)->root, _bfd_coff_debug_merge_hash_newfunc))
|
||||||
|
|
||||||
/* Free a COFF debug merge hash table. */
|
/* Free a COFF debug merge hash table. */
|
||||||
|
|
||||||
|
@ -449,13 +449,13 @@ extern boolean _bfd_coff_generic_relocate_section
|
||||||
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
|
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
|
||||||
struct internal_reloc *, struct internal_syment *, asection **));
|
struct internal_reloc *, struct internal_syment *, asection **));
|
||||||
|
|
||||||
extern struct bfd_hash_entry *coff_debug_merge_hash_newfunc
|
extern struct bfd_hash_entry *_bfd_coff_debug_merge_hash_newfunc
|
||||||
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
|
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
|
||||||
extern boolean coff_write_global_sym
|
extern boolean _bfd_coff_write_global_sym
|
||||||
PARAMS ((struct coff_link_hash_entry *, PTR));
|
PARAMS ((struct coff_link_hash_entry *, PTR));
|
||||||
extern boolean coff_link_input_bfd
|
extern boolean _bfd_coff_link_input_bfd
|
||||||
PARAMS ((struct coff_final_link_info *, bfd *));
|
PARAMS ((struct coff_final_link_info *, bfd *));
|
||||||
extern boolean coff_reloc_link_order
|
extern boolean _bfd_coff_reloc_link_order
|
||||||
PARAMS ((bfd *, struct coff_final_link_info *, asection *,
|
PARAMS ((bfd *, struct coff_final_link_info *, asection *,
|
||||||
struct bfd_link_order *));
|
struct bfd_link_order *));
|
||||||
|
|
||||||
|
|
|
@ -302,7 +302,7 @@ extern void bfd_perform_slip PARAMS ((bfd *abfd, unsigned int slip,
|
||||||
/* Functions and types in cofflink.c. */
|
/* Functions and types in cofflink.c. */
|
||||||
|
|
||||||
#define STRING_SIZE_SIZE (4)
|
#define STRING_SIZE_SIZE (4)
|
||||||
#define POWERPC_LE_PE
|
|
||||||
/* We use a hash table to merge identical enum, struct, and union
|
/* We use a hash table to merge identical enum, struct, and union
|
||||||
definitions in the linker. */
|
definitions in the linker. */
|
||||||
|
|
||||||
|
@ -361,7 +361,7 @@ struct coff_debug_merge_hash_table
|
||||||
/* Initialize a COFF debug merge hash table. */
|
/* Initialize a COFF debug merge hash table. */
|
||||||
|
|
||||||
#define coff_debug_merge_hash_table_init(table) \
|
#define coff_debug_merge_hash_table_init(table) \
|
||||||
(bfd_hash_table_init (&(table)->root, coff_debug_merge_hash_newfunc))
|
(bfd_hash_table_init (&(table)->root, _bfd_coff_debug_merge_hash_newfunc))
|
||||||
|
|
||||||
/* Free a COFF debug merge hash table. */
|
/* Free a COFF debug merge hash table. */
|
||||||
|
|
||||||
|
@ -449,13 +449,13 @@ extern boolean _bfd_coff_generic_relocate_section
|
||||||
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
|
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
|
||||||
struct internal_reloc *, struct internal_syment *, asection **));
|
struct internal_reloc *, struct internal_syment *, asection **));
|
||||||
|
|
||||||
extern struct bfd_hash_entry *coff_debug_merge_hash_newfunc
|
extern struct bfd_hash_entry *_bfd_coff_debug_merge_hash_newfunc
|
||||||
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
|
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
|
||||||
extern boolean coff_write_global_sym
|
extern boolean _bfd_coff_write_global_sym
|
||||||
PARAMS ((struct coff_link_hash_entry *, PTR));
|
PARAMS ((struct coff_link_hash_entry *, PTR));
|
||||||
extern boolean coff_link_input_bfd
|
extern boolean _bfd_coff_link_input_bfd
|
||||||
PARAMS ((struct coff_final_link_info *, bfd *));
|
PARAMS ((struct coff_final_link_info *, bfd *));
|
||||||
extern boolean coff_reloc_link_order
|
extern boolean _bfd_coff_reloc_link_order
|
||||||
PARAMS ((bfd *, struct coff_final_link_info *, asection *,
|
PARAMS ((bfd *, struct coff_final_link_info *, asection *,
|
||||||
struct bfd_link_order *));
|
struct bfd_link_order *));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue