* deffilep.y: Add missing prototypes.
* pe-dll.c: Likewise.
This commit is contained in:
parent
c32144ff6b
commit
948f9114c9
3 changed files with 36 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-08-21 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* deffilep.y: Add missing prototypes.
|
||||||
|
* pe-dll.c: Likewise.
|
||||||
|
|
||||||
2001-08-20 Alan Modra <amodra@bigpond.net.au>
|
2001-08-20 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* ldlang.c (insert_pad): Fix typos in last patch.
|
* ldlang.c (insert_pad): Fix typos in last patch.
|
||||||
|
@ -66,7 +71,7 @@
|
||||||
|
|
||||||
* ldgram.y (saved_script_handle): Initialize to NULL.
|
* ldgram.y (saved_script_handle): Initialize to NULL.
|
||||||
* ldmain.c (main): Change check on saved_script_handle.
|
* ldmain.c (main): Change check on saved_script_handle.
|
||||||
|
|
||||||
2001-08-14 Alan Modra <amodra@bigpond.net.au>
|
2001-08-14 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* emultempl/elf32.em: Formatting fixes.
|
* emultempl/elf32.em: Formatting fixes.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
%{ /* deffilep.y - parser for .def files */
|
%{ /* deffilep.y - parser for .def files */
|
||||||
|
|
||||||
/* Copyright 1995, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
/* Copyright 1995, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU Binutils.
|
This file is part of GNU Binutils.
|
||||||
|
|
||||||
|
@ -77,14 +77,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
#define yytable def_yytable
|
#define yytable def_yytable
|
||||||
#define yycheck def_yycheck
|
#define yycheck def_yycheck
|
||||||
|
|
||||||
static int def_lex ();
|
|
||||||
|
|
||||||
static void def_description PARAMS ((const char *));
|
static void def_description PARAMS ((const char *));
|
||||||
static void def_exports PARAMS ((const char *, const char *, int, int));
|
static void def_exports PARAMS ((const char *, const char *, int, int));
|
||||||
static void def_heapsize PARAMS ((int, int));
|
static void def_heapsize PARAMS ((int, int));
|
||||||
static void def_import
|
static void def_import
|
||||||
PARAMS ((const char *, const char *, const char *, const char *, int));
|
PARAMS ((const char *, const char *, const char *, const char *, int));
|
||||||
static void def_library PARAMS ((const char *, int));
|
static void def_library PARAMS ((const char *, int));
|
||||||
|
static def_file_module *def_stash_module PARAMS ((def_file *, char *));
|
||||||
static void def_name PARAMS ((const char *, int));
|
static void def_name PARAMS ((const char *, int));
|
||||||
static void def_section PARAMS ((const char *, int));
|
static void def_section PARAMS ((const char *, int));
|
||||||
static void def_section_alt PARAMS ((const char *, const char *));
|
static void def_section_alt PARAMS ((const char *, const char *));
|
||||||
|
@ -93,6 +92,9 @@ static void def_version PARAMS ((int, int));
|
||||||
static void def_directive PARAMS ((char *));
|
static void def_directive PARAMS ((char *));
|
||||||
static int def_parse PARAMS ((void));
|
static int def_parse PARAMS ((void));
|
||||||
static int def_error PARAMS ((const char *));
|
static int def_error PARAMS ((const char *));
|
||||||
|
static void put_buf PARAMS ((char));
|
||||||
|
static int def_getc PARAMS ((void));
|
||||||
|
static int def_ungetc PARAMS ((int));
|
||||||
static int def_lex PARAMS ((void));
|
static int def_lex PARAMS ((void));
|
||||||
|
|
||||||
static int lex_forced_token = 0;
|
static int lex_forced_token = 0;
|
||||||
|
|
26
ld/pe-dll.c
26
ld/pe-dll.c
|
@ -1,5 +1,5 @@
|
||||||
/* Routines to help build PEI-format DLLs (Win32 etc)
|
/* 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>
|
Written by DJ Delorie <dj@cygnus.com>
|
||||||
|
|
||||||
This file is part of GLD, the Gnu Linker.
|
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)
|
#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
|
void
|
||||||
pe_dll_id_target (target)
|
pe_dll_id_target (target)
|
||||||
const char *target;
|
const char *target;
|
||||||
|
|
Loading…
Reference in a new issue