aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-07-06 16:58:43 +0000
committerNick Clifton <nickc@redhat.com>2004-07-06 16:58:43 +0000
commit85fbca6a4f46e23f3ebb7761821694b358e253b5 (patch)
tree0ac77d2402d894dc2a2e84110fe4e206949f6287 /bfd/elflink.c
parente7bd9ea00e5f9144e69f3aeb477d4da420c281ed (diff)
downloadgdb-85fbca6a4f46e23f3ebb7761821694b358e253b5.zip
gdb-85fbca6a4f46e23f3ebb7761821694b358e253b5.tar.gz
gdb-85fbca6a4f46e23f3ebb7761821694b358e253b5.tar.bz2
Add support for sh-symbian-elf target
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c6
1 files changed, 6 insertions, 0 deletions
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.