]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/sunos.c
Make bfd.link_next field a union
[thirdparty/binutils-gdb.git] / bfd / sunos.c
index 99bed8da0cc978c3101a83fc01f3160146203151..27a658eb415e25fa1c53af5753ad7b10281a67c9 100644 (file)
@@ -1891,7 +1891,7 @@ bfd_sunos_size_dynamic_sections (bfd *output_bfd,
      to determine the number of dynamic relocs we need, and, more
      importantly, there is no other way to know which symbols should
      get an entry in the procedure linkage table.  */
-  for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
+  for (sub = info->input_bfds; sub != NULL; sub = sub->link.next)
     {
       if ((sub->flags & DYNAMIC) == 0
          && sub->xvec == output_bfd->xvec)