2001-06-02 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / bfd / targets.c
index d8264d23f369b25f5c46858b3c015e8544ef3970..c46ecc34108e57c9287c27439f8302d340ae7c4d 100644 (file)
@@ -416,7 +416,8 @@ BFD_JUMP_TABLE macros.
 .CAT(NAME,_bfd_link_add_symbols),\
 .CAT(NAME,_bfd_final_link),\
 .CAT(NAME,_bfd_link_split_section),\
-.CAT(NAME,_bfd_gc_sections)
+.CAT(NAME,_bfd_gc_sections),\
+.CAT(NAME,_bfd_merge_sections)
 .  int        (*_bfd_sizeof_headers) PARAMS ((bfd *, boolean));
 .  bfd_byte * (*_bfd_get_relocated_section_contents) PARAMS ((bfd *,
 .                    struct bfd_link_info *, struct bfd_link_order *,
@@ -443,6 +444,9 @@ BFD_JUMP_TABLE macros.
 .  {* Remove sections that are not referenced from the output.  *}
 .  boolean (*_bfd_gc_sections) PARAMS ((bfd *, struct bfd_link_info *));
 .
+.  {* Attempt to merge SEC_MERGE sections.  *}
+.  boolean (*_bfd_merge_sections) PARAMS ((bfd *, struct bfd_link_info *));
+.
 .  {* Routines to handle dynamic symbols and relocs.  *}
 .#define BFD_JUMP_TABLE_DYNAMIC(NAME)\
 .CAT(NAME,_get_dynamic_symtab_upper_bound),\
@@ -773,11 +777,12 @@ static const bfd_target * const _bfd_target_vector[] = {
        &bfd_elf32_m68hc12_vec,
        &bfd_elf32_m68k_vec,
        &bfd_elf32_m88k_vec,
-       &bfd_elf32_sparc_vec,
+       &bfd_elf32_openrisc_vec,
        &bfd_elf32_pj_vec,
        &bfd_elf32_pjl_vec,
        &bfd_elf32_powerpc_vec,
        &bfd_elf32_powerpcle_vec,
+       &bfd_elf32_sparc_vec,
        &bfd_elf32_v850_vec,
        &bfd_elf32_fr30_vec,
        &bfd_elf32_mcore_big_vec,
@@ -1004,7 +1009,7 @@ const bfd_target *bfd_default_vector[] = {
 /* When there is an ambiguous match, bfd_check_format_matches puts the
    names of the matching targets in an array.  This variable is the maximum
    number of entries that the array could possibly need.  */
-const size_t _bfd_target_vector_entries = sizeof (bfd_target_vector)/sizeof (*bfd_target_vector);
+const size_t _bfd_target_vector_entries = sizeof (_bfd_target_vector)/sizeof (*_bfd_target_vector);
 \f
 /* This array maps configuration triplets onto BFD vectors.  */
 
This page took 0.023805 seconds and 4 git commands to generate.