X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Femultempl%2Fgenelf.em;h=cc046feb881e2be65695829231c2dc14c4ffd33a;hb=837a17b36c9e297f4bf33727e25dfa9f38360c17;hp=8561c17d68833650c56425cc59abbc24a6487307;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/emultempl/genelf.em b/ld/emultempl/genelf.em index 8561c17d68..cc046feb88 100644 --- a/ld/emultempl/genelf.em +++ b/ld/emultempl/genelf.em @@ -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)