Blame ld/ldfile.h

Packit ba3681
/* ldfile.h -
Packit ba3681
   Copyright (C) 1991-2018 Free Software Foundation, Inc.
Packit ba3681
Packit ba3681
   This file is part of the GNU Binutils.
Packit ba3681
Packit ba3681
   This program is free software; you can redistribute it and/or modify
Packit ba3681
   it under the terms of the GNU General Public License as published by
Packit ba3681
   the Free Software Foundation; either version 3 of the License, or
Packit ba3681
   (at your option) any later version.
Packit ba3681
Packit ba3681
   This program is distributed in the hope that it will be useful,
Packit ba3681
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit ba3681
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit ba3681
   GNU General Public License for more details.
Packit ba3681
Packit ba3681
   You should have received a copy of the GNU General Public License
Packit ba3681
   along with this program; if not, write to the Free Software
Packit ba3681
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
Packit ba3681
   MA 02110-1301, USA.  */
Packit ba3681
Packit ba3681
#ifndef LDFILE_H
Packit ba3681
#define LDFILE_H
Packit ba3681
Packit ba3681
extern bfd_boolean ldfile_assumed_script;
Packit ba3681
extern unsigned long ldfile_output_machine;
Packit ba3681
extern enum bfd_architecture ldfile_output_architecture;
Packit ba3681
extern const char *ldfile_output_machine_name;
Packit ba3681
Packit ba3681
/* Structure used to hold the list of directories to search for
Packit ba3681
   libraries.  */
Packit ba3681
Packit ba3681
typedef struct search_dirs {
Packit ba3681
  /* Next directory on list.  */
Packit ba3681
  struct search_dirs *next;
Packit ba3681
  /* Name of directory.  */
Packit ba3681
  const char *name;
Packit ba3681
  /* TRUE if this is from the command line.  */
Packit ba3681
  bfd_boolean cmdline;
Packit ba3681
} search_dirs_type;
Packit ba3681
Packit ba3681
extern search_dirs_type *search_head;
Packit ba3681
Packit ba3681
extern void ldfile_add_arch
Packit ba3681
  (const char *);
Packit ba3681
extern void ldfile_add_library_path
Packit ba3681
  (const char *, bfd_boolean cmdline);
Packit ba3681
extern void ldfile_open_command_file
Packit ba3681
  (const char *name);
Packit ba3681
extern void ldfile_open_default_command_file
Packit ba3681
  (const char *name);
Packit ba3681
extern void ldfile_open_file
Packit ba3681
  (struct lang_input_statement_struct *);
Packit ba3681
extern bfd_boolean ldfile_try_open_bfd
Packit ba3681
  (const char *, struct lang_input_statement_struct *);
Packit ba3681
extern void ldfile_set_output_arch
Packit ba3681
  (const char *, enum bfd_architecture);
Packit ba3681
extern bfd_boolean ldfile_open_file_search
Packit ba3681
  (const char *arch, struct lang_input_statement_struct *,
Packit ba3681
   const char *lib, const char *suffix);
Packit ba3681
Packit ba3681
#endif