aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-21 11:42:57 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-21 11:42:57 +0000
commit948f9114c9452486ff24644ca8b7828cdde06bee (patch)
tree3160a5a8d6b6bcc93ce4722d7e965845ab155983 /ld/pe-dll.c
parentc32144ff6becdde701335c5e42182163531a8611 (diff)
downloadgdb-948f9114c9452486ff24644ca8b7828cdde06bee.zip
gdb-948f9114c9452486ff24644ca8b7828cdde06bee.tar.gz
gdb-948f9114c9452486ff24644ca8b7828cdde06bee.tar.bz2
* deffilep.y: Add missing prototypes.
* pe-dll.c: Likewise.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c26
1 files changed, 25 insertions, 1 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 8bbd8fd..e47a17f 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -1,5 +1,5 @@
/* Routines to help build PEI-format DLLs (Win32 etc)
- Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Written by DJ Delorie <dj@cygnus.com>
This file is part of GLD, the Gnu Linker.
@@ -260,6 +260,30 @@ static autofilter_entry_type autofilter_symbolsuffixlist[] = {
#define U(str) (pe_details->underscored ? "_" str : str)
+static int reloc_sort PARAMS ((const void *, const void *));
+static int pe_export_sort PARAMS ((const void *, const void *));
+static int auto_export PARAMS ((bfd *, def_file *, const char *));
+static void process_def_file PARAMS ((bfd *, struct bfd_link_info *));
+static void build_filler_bfd PARAMS ((int));
+static void generate_edata PARAMS ((bfd *, struct bfd_link_info *));
+static void fill_exported_offsets PARAMS ((bfd *, struct bfd_link_info *));
+static void fill_edata PARAMS ((bfd *, struct bfd_link_info *));
+static void generate_reloc PARAMS ((bfd *, struct bfd_link_info *));
+static void quoteput PARAMS ((char *, FILE *, int));
+static asection *quick_section PARAMS ((bfd *, const char *, int, int));
+static void quick_symbol
+ PARAMS ((bfd *, char *, char *, char *, asection *, int, int));
+static void quick_reloc PARAMS ((bfd *, int, int, int));
+static bfd *make_head PARAMS ((bfd *));
+static bfd *make_tail PARAMS ((bfd *));
+static bfd *make_one PARAMS ((def_file_export *, bfd *));
+static bfd *make_singleton_name_thunk PARAMS ((char *, bfd *));
+static char *make_import_fixup_mark PARAMS ((arelent *));
+static bfd *make_import_fixup_entry PARAMS ((char *, char *, char *, bfd *));
+static unsigned int pe_get16 PARAMS ((bfd *, int));
+static unsigned int pe_get32 PARAMS ((bfd *, int));
+static unsigned int pe_as32 PARAMS ((void *));
+
void
pe_dll_id_target (target)
const char *target;