Make bfd.link_next field a union
[deliverable/binutils-gdb.git] / ld / emultempl / cr16elf.em
index 730235ebede5f7360740ded6a49617d05fd99eee..02f5220ca319c8311bc554a6c2bc7ecec796e469 100644 (file)
@@ -47,7 +47,7 @@ cr16_elf_after_open (void)
         input file with a nonzero .data section.  The BFD backend will fill in
         these sections with magic numbers which can be used to relocate the
         data section at run time.  */
-      for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link_next)
+      for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link.next)
        {
          asection *datasec;
 
@@ -139,7 +139,7 @@ cr16elf_before_allocation (void)
 
    /* If we are generating embedded relocs, call a special BFD backend
         routine to do the work.  */
-   for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link_next)
+   for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link.next)
       {
          asection *datasec, *relsec;
          char *errmsg;
This page took 0.023801 seconds and 4 git commands to generate.