diff options
author | Nick Clifton <nickc@redhat.com> | 2003-05-21 09:23:07 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-05-21 09:23:07 +0000 |
commit | 385a4c14f3a541ff06a8312104b97d21e272bfcd (patch) | |
tree | f05abf83999a9cf45b08636eac460b692dd29d8b /bfd/elf.c | |
parent | b9b171fb1af5a6884dd4a6ea09ebdf4f9c3b10f2 (diff) | |
download | fsf-binutils-gdb-385a4c14f3a541ff06a8312104b97d21e272bfcd.zip fsf-binutils-gdb-385a4c14f3a541ff06a8312104b97d21e272bfcd.tar.gz fsf-binutils-gdb-385a4c14f3a541ff06a8312104b97d21e272bfcd.tar.bz2 |
USe is_elf_hash_table() to check for the presence of an elf_link_hash_table
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1616,7 +1616,7 @@ bfd_elf_get_needed_list (abfd, info) bfd *abfd ATTRIBUTE_UNUSED; struct bfd_link_info *info; { - if (info->hash->creator->flavour != bfd_target_elf_flavour) + if (! is_elf_hash_table (info)) return NULL; return elf_hash_table (info)->needed; } @@ -1629,7 +1629,7 @@ bfd_elf_get_runpath_list (abfd, info) bfd *abfd ATTRIBUTE_UNUSED; struct bfd_link_info *info; { - if (info->hash->creator->flavour != bfd_target_elf_flavour) + if (! is_elf_hash_table (info)) return NULL; return elf_hash_table (info)->runpath; } |