diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-20 19:39:15 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-20 19:39:15 +0000 |
commit | 75f3ef7a635af631d1dd69a42c3a41e3da692b3a (patch) | |
tree | 3b79757bd5b54440aaee70aef57a8b5f939996ba /bfd/coff-alpha.c | |
parent | 256816cae71e3047032bb81486a7f7114268e0e3 (diff) | |
download | gdb-75f3ef7a635af631d1dd69a42c3a41e3da692b3a.zip gdb-75f3ef7a635af631d1dd69a42c3a41e3da692b3a.tar.gz gdb-75f3ef7a635af631d1dd69a42c3a41e3da692b3a.tar.bz2 |
* ecoff.c, libecoff.h, ecoffswap.h, coff-alpha.c, coff-mips.c,
elf32-mips.c: Renamed all externally visible ECOFF routines which
are local to BFD to start with _bfd_ecoff instead of just ecoff.
Diffstat (limited to 'bfd/coff-alpha.c')
-rw-r--r-- | bfd/coff-alpha.c | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c index b166081..1cdb340 100644 --- a/bfd/coff-alpha.c +++ b/bfd/coff-alpha.c @@ -1914,9 +1914,10 @@ static const struct ecoff_backend_data alpha_ecoff_backend_data = FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, true, alpha_ecoff_swap_filehdr_in, alpha_ecoff_swap_aouthdr_in, alpha_ecoff_swap_scnhdr_in, alpha_ecoff_bad_format_hook, - ecoff_set_arch_mach_hook, ecoff_mkobject_hook, - ecoff_styp_to_sec_flags, ecoff_make_section_hook, ecoff_set_alignment_hook, - ecoff_slurp_symbol_table, NULL, NULL + _bfd_ecoff_set_arch_mach_hook, _bfd_ecoff_mkobject_hook, + _bfd_ecoff_styp_to_sec_flags, _bfd_ecoff_make_section_hook, + _bfd_ecoff_set_alignment_hook, _bfd_ecoff_slurp_symbol_table, + NULL, NULL }, /* Supported architecture. */ bfd_arch_alpha, @@ -1956,8 +1957,8 @@ static const struct ecoff_backend_data alpha_ecoff_backend_data = ecoff_swap_fdr_in, ecoff_swap_rfd_in, ecoff_swap_ext_in, - ecoff_swap_tir_in, - ecoff_swap_rndx_in, + _bfd_ecoff_swap_tir_in, + _bfd_ecoff_swap_rndx_in, /* Functions to swap out external symbolic data. */ ecoff_swap_hdr_out, ecoff_swap_dnr_out, @@ -1967,10 +1968,10 @@ static const struct ecoff_backend_data alpha_ecoff_backend_data = ecoff_swap_fdr_out, ecoff_swap_rfd_out, ecoff_swap_ext_out, - ecoff_swap_tir_out, - ecoff_swap_rndx_out, + _bfd_ecoff_swap_tir_out, + _bfd_ecoff_swap_rndx_out, /* Function to read in symbolic data. */ - ecoff_slurp_symbolic_info + _bfd_ecoff_slurp_symbolic_info }, /* External reloc size. */ RELSZ, @@ -1985,14 +1986,14 @@ static const struct ecoff_backend_data alpha_ecoff_backend_data = }; /* Looking up a reloc type is Alpha specific. */ -#define ecoff_bfd_reloc_type_lookup alpha_bfd_reloc_type_lookup +#define _bfd_ecoff_bfd_reloc_type_lookup alpha_bfd_reloc_type_lookup /* So is getting relocated section contents. */ -#define ecoff_bfd_get_relocated_section_contents \ +#define _bfd_ecoff_bfd_get_relocated_section_contents \ alpha_ecoff_get_relocated_section_contents /* Relaxing sections is generic. */ -#define ecoff_bfd_relax_section bfd_generic_relax_section +#define _bfd_ecoff_bfd_relax_section bfd_generic_relax_section bfd_target ecoffalpha_little_vec = { @@ -2019,20 +2020,20 @@ bfd_target ecoffalpha_little_vec = bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* hdrs */ {_bfd_dummy_target, alpha_ecoff_object_p, /* bfd_check_format */ - ecoff_archive_p, _bfd_dummy_target}, - {bfd_false, ecoff_mkobject, /* bfd_set_format */ + _bfd_ecoff_archive_p, _bfd_dummy_target}, + {bfd_false, _bfd_ecoff_mkobject, /* bfd_set_format */ _bfd_generic_mkarchive, bfd_false}, - {bfd_false, ecoff_write_object_contents, /* bfd_write_contents */ + {bfd_false, _bfd_ecoff_write_object_contents, /* bfd_write_contents */ _bfd_write_archive_contents, bfd_false}, - BFD_JUMP_TABLE_GENERIC (ecoff), - BFD_JUMP_TABLE_COPY (ecoff), + BFD_JUMP_TABLE_GENERIC (_bfd_ecoff), + BFD_JUMP_TABLE_COPY (_bfd_ecoff), BFD_JUMP_TABLE_CORE (_bfd_nocore), - BFD_JUMP_TABLE_ARCHIVE (ecoff), - BFD_JUMP_TABLE_SYMBOLS (ecoff), - BFD_JUMP_TABLE_RELOCS (ecoff), - BFD_JUMP_TABLE_WRITE (ecoff), - BFD_JUMP_TABLE_LINK (ecoff), + BFD_JUMP_TABLE_ARCHIVE (_bfd_ecoff), + BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), + BFD_JUMP_TABLE_RELOCS (_bfd_ecoff), + BFD_JUMP_TABLE_WRITE (_bfd_ecoff), + BFD_JUMP_TABLE_LINK (_bfd_ecoff), BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), (PTR) &alpha_ecoff_backend_data |