| 1 | /* ldmain.h - |
| 2 | Copyright 1991, 92, 93, 94, 95, 96, 1999 Free Software Foundation, Inc. |
| 3 | |
| 4 | This file is part of GLD, the Gnu Linker. |
| 5 | |
| 6 | GLD is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 1, or (at your option) |
| 9 | any later version. |
| 10 | |
| 11 | GLD is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with GLD; see the file COPYING. If not, write to the Free |
| 18 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
| 19 | 02111-1307, USA. */ |
| 20 | |
| 21 | #ifndef LDMAIN_H |
| 22 | #define LDMAIN_H |
| 23 | |
| 24 | extern char *program_name; |
| 25 | extern bfd *output_bfd; |
| 26 | extern char *default_target; |
| 27 | extern boolean trace_files; |
| 28 | extern boolean trace_file_tries; |
| 29 | extern boolean version_printed; |
| 30 | extern boolean whole_archive; |
| 31 | extern boolean demangling; |
| 32 | extern int g_switch_value; |
| 33 | extern const char *output_filename; |
| 34 | extern struct bfd_link_info link_info; |
| 35 | |
| 36 | extern void add_ysym PARAMS ((const char *)); |
| 37 | extern void add_wrap PARAMS ((const char *)); |
| 38 | extern void add_keepsyms_file PARAMS ((const char *filename)); |
| 39 | |
| 40 | #endif |