Power10 VSX 32-byte storage access
[deliverable/binutils-gdb.git] / ld / ldlang.h
index 3e3e6a028940b4f8b6d937773bfa217b0e98787b..2aa3930f95a31ba1a868d5aab27739fe70938e08 100644 (file)
@@ -1,5 +1,5 @@
 /* ldlang.h - linker command language support
-   Copyright (C) 1991-2019 Free Software Foundation, Inc.
+   Copyright (C) 1991-2020 Free Software Foundation, Inc.
 
    This file is part of the GNU Binutils.
 
@@ -293,6 +293,9 @@ typedef struct lang_input_statement_struct
      Usually the same as filename, but for a file spec'd with
      -l this is the -l switch itself rather than the filename.  */
   const char *local_sym_name;
+  /* Extra search path. Used to find a file relative to the
+     directory of the current linker script.  */
+  const char *extra_search_path;
 
   bfd *the_bfd;
 
@@ -574,7 +577,7 @@ extern asection *section_for_dot
 
 #define LANG_FOR_EACH_INPUT_STATEMENT(statement)                       \
   lang_input_statement_type *statement;                                        \
-  for (statement = file_chain.head == NULL ? NULL : &file_chain.head->input_statement; \
+  for (statement = (lang_input_statement_type *) file_chain.head;      \
        statement != NULL;                                              \
        statement = statement->next)
 
This page took 0.024216 seconds and 4 git commands to generate.