From 85fbca6a4f46e23f3ebb7761821694b358e253b5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 6 Jul 2004 16:58:43 +0000 Subject: Add support for sh-symbian-elf target --- bfd/elflink.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bfd/elflink.c') diff --git a/bfd/elflink.c b/bfd/elflink.c index c2830ff..1c1de27 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -2904,6 +2904,8 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info) const char **, flagword *, asection **, bfd_vma *); bfd_boolean (*check_relocs) (bfd *, struct bfd_link_info *, asection *, const Elf_Internal_Rela *); + bfd_boolean (*check_directives) + (bfd *, struct bfd_link_info *); bfd_boolean collect; Elf_Internal_Shdr *hdr; bfd_size_type symcount; @@ -4053,6 +4055,10 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info) free (sorted_sym_hash); } + check_directives = get_elf_backend_data (abfd)->check_directives; + if (check_directives) + check_directives (abfd, info); + /* If this object is the same format as the output object, and it is not a shared library, then let the backend look through the relocs. -- cgit v1.1