133965Sjdp/* ldmain.h - 2218822Sdim Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2002, 2003, 2004, 3218822Sdim 2005 Free Software Foundation, Inc. 433965Sjdp 533965Sjdp This file is part of GLD, the Gnu Linker. 633965Sjdp 733965Sjdp GLD is free software; you can redistribute it and/or modify 833965Sjdp it under the terms of the GNU General Public License as published by 933965Sjdp the Free Software Foundation; either version 1, or (at your option) 1033965Sjdp any later version. 1133965Sjdp 1233965Sjdp GLD is distributed in the hope that it will be useful, 1333965Sjdp but WITHOUT ANY WARRANTY; without even the implied warranty of 1433965Sjdp MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1533965Sjdp GNU General Public License for more details. 1633965Sjdp 1733965Sjdp You should have received a copy of the GNU General Public License 1860484Sobrien along with GLD; see the file COPYING. If not, write to the Free 19218822Sdim Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 20218822Sdim 02110-1301, USA. */ 2133965Sjdp 2233965Sjdp#ifndef LDMAIN_H 2333965Sjdp#define LDMAIN_H 2433965Sjdp 2533965Sjdpextern char *program_name; 26218822Sdimextern const char *ld_sysroot; 27130561Sobrienextern char *ld_canon_sysroot; 28130561Sobrienextern int ld_canon_sysroot_len; 2933965Sjdpextern bfd *output_bfd; 3033965Sjdpextern char *default_target; 31130561Sobrienextern bfd_boolean trace_files; 32130561Sobrienextern bfd_boolean trace_file_tries; 33130561Sobrienextern bfd_boolean version_printed; 34130561Sobrienextern bfd_boolean whole_archive; 35130561Sobrienextern bfd_boolean as_needed; 36218822Sdimextern bfd_boolean add_needed; 37130561Sobrienextern bfd_boolean demangling; 3833965Sjdpextern int g_switch_value; 3933965Sjdpextern const char *output_filename; 4033965Sjdpextern struct bfd_link_info link_info; 41130561Sobrienextern int overflow_cutoff_limit; 4233965Sjdp 43130561Sobrienextern void add_ysym (const char *); 44130561Sobrienextern void add_wrap (const char *); 45130561Sobrienextern void add_keepsyms_file (const char *); 4633965Sjdp 4733965Sjdp#endif 48