X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Fldfile.h;h=23283a02eed8f374f73c71a6ee4274ac5c161c72;hb=1ee1a363454d88a87ad2ade7530b2a7fb670021e;hp=bb62249992ea14118a69f007ba419109a2a0f0d0;hpb=f96b4a7b0f17a2bf74a83908c6245053310560fd;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ldfile.h b/ld/ldfile.h index bb62249992..23283a02ee 100644 --- a/ld/ldfile.h +++ b/ld/ldfile.h @@ -1,6 +1,5 @@ /* ldfile.h - - Copyright 1991, 1992, 1993, 1994, 1995, 2000, 2002, 2003, 2004, 2007 - Free Software Foundation, Inc. + Copyright (C) 1991-2020 Free Software Foundation, Inc. This file is part of the GNU Binutils. @@ -22,7 +21,6 @@ #ifndef LDFILE_H #define LDFILE_H -extern const char *ldfile_input_filename; extern bfd_boolean ldfile_assumed_script; extern unsigned long ldfile_output_machine; extern enum bfd_architecture ldfile_output_architecture; @@ -38,8 +36,6 @@ typedef struct search_dirs { const char *name; /* TRUE if this is from the command line. */ bfd_boolean cmdline; - /* true if this is from within the sys-root. */ - bfd_boolean sysrooted; } search_dirs_type; extern search_dirs_type *search_head; @@ -50,6 +46,10 @@ extern void ldfile_add_library_path (const char *, bfd_boolean cmdline); extern void ldfile_open_command_file (const char *name); +extern void ldfile_open_script_file + (const char *name); +extern void ldfile_open_default_command_file + (const char *name); extern void ldfile_open_file (struct lang_input_statement_struct *); extern bfd_boolean ldfile_try_open_bfd