Line 1... |
Line 1... |
/* Linker file opening and searching.
|
/* Linker file opening and searching.
|
Copyright 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001, 2002,
|
Copyright 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001, 2002,
|
2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011
|
2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011, 2012
|
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
|
|
This file is part of the GNU Binutils.
|
This file is part of the GNU Binutils.
|
|
|
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
Line 38... |
Line 38... |
#ifdef ENABLE_PLUGINS
|
#ifdef ENABLE_PLUGINS
|
#include "plugin-api.h"
|
#include "plugin-api.h"
|
#include "plugin.h"
|
#include "plugin.h"
|
#endif /* ENABLE_PLUGINS */
|
#endif /* ENABLE_PLUGINS */
|
|
|
const char * ldfile_input_filename;
|
|
bfd_boolean ldfile_assumed_script = FALSE;
|
bfd_boolean ldfile_assumed_script = FALSE;
|
const char * ldfile_output_machine_name = "";
|
const char * ldfile_output_machine_name = "";
|
unsigned long ldfile_output_machine;
|
unsigned long ldfile_output_machine;
|
enum bfd_architecture ldfile_output_architecture;
|
enum bfd_architecture ldfile_output_architecture;
|
search_dirs_type * search_head;
|
search_dirs_type * search_head;
|
Line 636... |
Line 635... |
einfo (_("%P%F: cannot open linker script file %s: %E\n"), name);
|
einfo (_("%P%F: cannot open linker script file %s: %E\n"), name);
|
}
|
}
|
|
|
lex_push_file (ldlex_input_stack, name);
|
lex_push_file (ldlex_input_stack, name);
|
|
|
ldfile_input_filename = name;
|
|
lineno = 1;
|
lineno = 1;
|
|
|
saved_script_handle = ldlex_input_stack;
|
saved_script_handle = ldlex_input_stack;
|
}
|
}
|
|
|