Back to index

cell-binutils  2.17cvs20070401
pe-dll.h
Go to the documentation of this file.
00001 /* pe-dll.h: Header file for routines used to build Windows DLLs.
00002    Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
00003 
00004    This file is part of GLD, the Gnu Linker.
00005 
00006    GLD is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2, or (at your option)
00009    any later version.
00010 
00011    GLD is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with GLD; see the file COPYING.  If not, write to the Free
00018    Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
00019    02110-1301, USA.  */
00020 
00021 #ifndef PE_DLL_H
00022 #define PE_DLL_H
00023 
00024 #include "bfd.h"
00025 #include "sysdep.h"
00026 #include "bfdlink.h"
00027 #include "deffile.h"
00028 
00029 extern def_file *pe_def_file;
00030 extern int pe_dll_export_everything;
00031 extern int pe_dll_do_default_excludes;
00032 extern int pe_dll_kill_ats;
00033 extern int pe_dll_stdcall_aliases;
00034 extern int pe_dll_warn_dup_exports;
00035 extern int pe_dll_compat_implib;
00036 extern int pe_dll_extra_pe_debug;
00037 
00038 extern void pe_dll_id_target
00039   (const char *);
00040 extern void pe_dll_add_excludes
00041   (const char *, const int);
00042 extern void pe_dll_generate_def_file
00043   (const char *);
00044 extern void pe_dll_generate_implib
00045   (def_file *, const char *);
00046 extern void pe_process_import_defs
00047   (bfd *, struct bfd_link_info *);
00048 extern bfd_boolean pe_implied_import_dll
00049   (const char *);
00050 extern void pe_dll_build_sections
00051   (bfd *, struct bfd_link_info *);
00052 extern void pe_exe_build_sections
00053   (bfd *, struct bfd_link_info *);
00054 extern void pe_dll_fill_sections
00055   (bfd *, struct bfd_link_info *);
00056 extern void pe_exe_fill_sections
00057   (bfd *, struct bfd_link_info *);
00058 extern void pe_walk_relocs_of_symbol
00059   (struct bfd_link_info *, const char *, int (*) (arelent *, asection *));
00060 extern void pe_create_import_fixup
00061   (arelent * rel, asection *, int);
00062 extern bfd_boolean pe_bfd_is_dll
00063   (bfd *);
00064 
00065 #endif /* PE_DLL_H */