]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/emultempl/m68kcoff.em
Make bfd.link_next field a union
[thirdparty/binutils-gdb.git] / ld / emultempl / m68kcoff.em
index e46889a0ff1e812f33dc194784784bb4a5925cf6..1a95d7cad64fff63d835b179c18f319d6b9ccaa3 100644 (file)
@@ -67,7 +67,7 @@ gld${EMULATION_NAME}_after_open (void)
       || link_info.relocatable)
     return;
 
-  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;
 
@@ -133,7 +133,7 @@ gld${EMULATION_NAME}_after_allocation (void)
       || link_info.relocatable)
     return;
 
-  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;