aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 86328d6..f324ebb 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -442,12 +442,11 @@ elf_link_add_object_symbols (abfd, info)
}
if (dyn.d_tag == DT_NEEDED)
{
- struct bfd_elf_link_needed_list *n, **pn;
+ struct bfd_link_needed_list *n, **pn;
char *fnm, *anm;
- n = (struct bfd_elf_link_needed_list *)
- bfd_alloc (abfd,
- sizeof (struct bfd_elf_link_needed_list));
+ n = ((struct bfd_link_needed_list *)
+ bfd_alloc (abfd, sizeof (struct bfd_link_needed_list)));
fnm = bfd_elf_string_from_elf_section (abfd, link,
dyn.d_un.d_val);
if (n == NULL || fnm == NULL)