Merge branch 'master' into merge-job
[deliverable/binutils-gdb.git] / ld / emultempl / spuelf.em
index 40a757a98902d8be4eda258cfcf2892e0b5405ca..baaf44f3b464c83b59fbf290d6d6636d71c47903 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright (C) 2006-2019 Free Software Foundation, Inc.
+#   Copyright (C) 2006-2020 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -290,7 +290,7 @@ spu_before_allocation (void)
            }
 
          /* Ensure alignment of overlay sections is sufficient.  */
-         for (os = &lang_os_list.head->output_section_statement;
+         for (os = (void *) lang_os_list.head;
               os != NULL;
               os = os->next)
            if (os->bfd_section != NULL
@@ -512,7 +512,7 @@ embedded_spu_file (lang_input_statement_type *entry, const char *flags)
     return FALSE;
   close (fd);
 
-  for (search = &input_file_chain.head->input_statement;
+  for (search = (void *) input_file_chain.head;
        search != NULL;
        search = search->next_real_file)
     if (search->filename != NULL)
This page took 0.025092 seconds and 4 git commands to generate.