1/* pep-dll.h: Header file for routines used to build Windows DLLs. 2 Copyright 2006, 2007 Free Software Foundation, Inc. 3 4 This file is part of BFD, the Binary File Descriptor library. 5 6 This program 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 2 of the License, or 9 (at your option) any later version. 10 11 This program 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 this program; if not, write to the Free Software 18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. 19 20 Written by Kai Tietz, OneVision Software GmbH&CoKg. */ 21 22#ifndef PEP_DLL_H 23#define PEP_DLL_H 24 25#include "sysdep.h" 26#include "bfd.h" 27#include "bfdlink.h" 28#include "deffile.h" 29 30extern def_file * pep_def_file; 31extern int pep_dll_export_everything; 32extern int pep_dll_do_default_excludes; 33extern int pep_dll_kill_ats; 34extern int pep_dll_stdcall_aliases; 35extern int pep_dll_warn_dup_exports; 36extern int pep_dll_compat_implib; 37extern int pep_dll_extra_pe_debug; 38 39extern void pep_dll_id_target (const char *); 40extern void pep_dll_add_excludes (const char *, const int); 41extern void pep_dll_generate_def_file (const char *); 42extern void pep_dll_generate_implib (def_file *, const char *); 43extern void pep_process_import_defs (bfd *, struct bfd_link_info *); 44extern bfd_boolean pep_implied_import_dll (const char *); 45extern void pep_dll_build_sections (bfd *, struct bfd_link_info *); 46extern void pep_exe_build_sections (bfd *, struct bfd_link_info *); 47extern void pep_dll_fill_sections (bfd *, struct bfd_link_info *); 48extern void pep_exe_fill_sections (bfd *, struct bfd_link_info *); 49extern void pep_walk_relocs_of_symbol 50 (struct bfd_link_info *, const char *, int (*) (arelent *, asection *)); 51extern void pep_create_import_fixup (arelent * rel, asection *, int); 52extern bfd_boolean pep_bfd_is_dll (bfd *); 53 54#endif /* PEP_DLL_H */ 55