Add support to the MSP430 linker for the automatic placement of code and data into...
[deliverable/binutils-gdb.git] / ld / emultempl / genelf.em
index 8561c17d68833650c56425cc59abbc24a6487307..cc046feb881e2be65695829231c2dc14c4ffd33a 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright (C) 2006-2014 Free Software Foundation, Inc.
+#   Copyright (C) 2006-2015 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -38,7 +38,7 @@ gld${EMULATION_NAME}_after_open (void)
   after_open_default ();
 
   if (link_info.relocatable)
-    for (ibfd = link_info.input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
+    for (ibfd = link_info.input_bfds; ibfd != NULL; ibfd = ibfd->link.next)
       if ((syms = bfd_get_outsymbols (ibfd)) != NULL
          && bfd_get_flavour (ibfd) == bfd_target_elf_flavour)
        for (sec = ibfd->sections; sec != NULL; sec = sec->next)
This page took 0.023489 seconds and 4 git commands to generate.