(bfd *, arelent *, struct bfd_symbol *, void *,
asection *, bfd *, char **) ATTRIBUTE_HIDDEN;
-extern bool bfd_elf_final_link
- (bfd *, struct bfd_link_info *);
+extern bool _bfd_elf_final_link
+ (bfd *, struct bfd_link_info *) ATTRIBUTE_HIDDEN;
extern void _bfd_elf_gc_keep
(struct bfd_link_info *info) ATTRIBUTE_HIDDEN;
extern bool bfd_elf_gc_common_finalize_got_offsets
(bfd *, struct bfd_link_info *);
-extern bool bfd_elf_gc_common_final_link
- (bfd *, struct bfd_link_info *);
+extern bool _bfd_elf_gc_common_final_link
+ (bfd *, struct bfd_link_info *) ATTRIBUTE_HIDDEN;
extern bool bfd_elf_reloc_symbol_deleted_p
(bfd_vma, void *);
return false;
/* Invoke the regular ELF backend linker to do all the work. */
- if (!bfd_elf_final_link (abfd, info))
+ if (!_bfd_elf_final_link (abfd, info))
return false;
/* Process stub sections (eg BE8 encoding, ...). */
_bfd_elf_create_dynamic_sections
#define bfd_elf32_bfd_link_hash_table_create \
bfin_link_hash_table_create
-#define bfd_elf32_bfd_final_link bfd_elf_gc_common_final_link
+#define bfd_elf32_bfd_final_link _bfd_elf_gc_common_final_link
#define elf_backend_check_relocs bfin_check_relocs
#define elf_backend_adjust_dynamic_symbol \
elf_cris_finish_dynamic_sections
#define elf_backend_create_dynamic_sections \
_bfd_elf_create_dynamic_sections
-#define bfd_elf32_bfd_final_link \
- bfd_elf_gc_common_final_link
+#define bfd_elf32_bfd_final_link _bfd_elf_gc_common_final_link
#define elf_backend_hide_symbol elf_cris_hide_symbol
#define elf_backend_reloc_type_class elf_cris_reloc_type_class
struct stat buf;
/* Invoke the regular ELF linker to do all the work. */
- if (!bfd_elf_final_link (abfd, info))
+ if (!_bfd_elf_final_link (abfd, info))
return false;
/* If we're producing a final executable, sort the contents of the
_bfd_elf_create_dynamic_sections
#define bfd_elf32_bfd_link_hash_table_create \
elf_m68k_link_hash_table_create
-#define bfd_elf32_bfd_final_link bfd_elf_final_link
+#define bfd_elf32_bfd_final_link _bfd_elf_final_link
#define elf_backend_check_relocs elf_m68k_check_relocs
#define elf_backend_early_size_sections \
}
}
- return bfd_elf_final_link (abfd, info);
+ return _bfd_elf_final_link (abfd, info);
}
static bool
/* Set linker_mark and gc_mark on any sections that we will put in
overlays. These flags are used by the generic ELF linker, but we
- won't be continuing on to bfd_elf_final_link so it is OK to use
+ won't be continuing on to _bfd_elf_final_link() so it is OK to use
them. linker_mark is clear before we get here. Set segment_mark
on sections that are part of a pasted function (excluding the last
section).
if (!spu_elf_build_stubs (info))
info->callbacks->fatal (_("%P: can not build overlay stubs: %E\n"));
- return bfd_elf_final_link (output_bfd, info);
+ return _bfd_elf_final_link (output_bfd, info);
}
/* Called when not normally emitting relocs, ie. !bfd_link_relocatable (info)
}
}
/* Invoke the regular ELF backend linker to do all the work. */
- if (!bfd_elf_final_link (abfd, info))
- return false;
-
- return true;
+ return _bfd_elf_final_link (abfd, info);
}
/* Called to pass PARAMS to the backend. We store them in the hash table
_bfd_elf_create_dynamic_sections
#define bfd_elf32_bfd_link_hash_table_create \
elf_vax_link_hash_table_create
-#define bfd_elf32_bfd_final_link bfd_elf_gc_common_final_link
+#define bfd_elf32_bfd_final_link _bfd_elf_gc_common_final_link
#define elf_backend_check_relocs elf_vax_check_relocs
#define elf_backend_adjust_dynamic_symbol \
}
/* Invoke the regular ELF backend linker to do all the work. */
- if (! bfd_elf_final_link (abfd, info))
+ if (! _bfd_elf_final_link (abfd, info))
return false;
/* Now write out the computed sections. */
info);
/* Invoke the regular ELF backend linker to do all the work. */
- if (!bfd_elf_final_link (abfd, info))
+ if (!_bfd_elf_final_link (abfd, info))
return false;
elf_link_hash_traverse (elf_hash_table (info),
}
/* Invoke the regular ELF backend linker to do all the work. */
- if (!bfd_elf_final_link (abfd, info))
+ if (!_bfd_elf_final_link (abfd, info))
return false;
if (unwind_output_sec)
}
}
- if (! bfd_elf_final_link (abfd, info))
+ if (! _bfd_elf_final_link (abfd, info))
return false;
/* Since this section is marked SEC_LINKER_CREATED, it isn't output by
/* Do the final step of an ELF link. */
bool
-bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
+_bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
{
bool dynamic;
bool emit_relocs;
got entry reference counting is enabled. */
bool
-bfd_elf_gc_common_final_link (bfd *abfd, struct bfd_link_info *info)
+_bfd_elf_gc_common_final_link (bfd *abfd, struct bfd_link_info *info)
{
if (!bfd_elf_gc_common_finalize_got_offsets (abfd, info))
return false;
/* Invoke the regular ELF backend linker to do all the work. */
- return bfd_elf_final_link (abfd, info);
+ return _bfd_elf_final_link (abfd, info);
}
bool
}
/* Invoke the regular ELF backend linker to do all the work. */
- if (!bfd_elf_final_link (abfd, info))
+ if (!_bfd_elf_final_link (abfd, info))
return false;
if (unwind_output_sec)
}
/* Invoke the regular ELF backend linker to do all the work. */
- if (!bfd_elf_final_link (abfd, info))
+ if (!_bfd_elf_final_link (abfd, info))
return false;
/* Now write out the computed sections. */
#define bfd_elfNN_bfd_define_start_stop bfd_elf_define_start_stop
#endif
#ifndef bfd_elfNN_bfd_final_link
-#define bfd_elfNN_bfd_final_link bfd_elf_final_link
+#define bfd_elfNN_bfd_final_link _bfd_elf_final_link
#endif
#undef TARGET_MERGE_SECTIONS
#define TARGET_MERGE_SECTIONS true