aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
AgeCommit message (Collapse)AuthorFilesLines
1998-11-24 * pe-dll.c (make_head): name object files sequentially to ensureDJ Delorie1-11/+173
they link in the right order. (make_tail): same here (pe_process_import_defs): use sequential names for bfds to ensure proper link order. (pe_implied_import_dll): new function; handles linking directly against DLLs by simulating IMPORTS directives. * emultempl/pe.em (gld_i386pe_before_parse): hack bfd to not recognize .dll files via bfd_pe_dll_not_recognized_hack
1998-11-23 * emultempl/pe.em (gld_i386pe_after_open): callDJ Delorie1-107/+179
pe_process_import_defs * pe-dll.c (pe_dll_generate_def_file): calculate BASE from pe_data, only print if actually set. Print version only if set. (save_relocs): save relocs for both input and output. (make_one): support internal/external different names. (pe_dll_generate_implib): support new make_one (pe_process_import_defs): new function; handles IMPORT directives in .def files.
1998-11-17typoDJ Delorie1-0/+2
1998-11-17* emultempl/pe.em (gld_i386_finish): generate import libraryDJ Delorie1-1/+468
* deffile.h: add hint member. * pe-dll.c (pe_dll_generate_implib): New function with helpers; generates the import library directly from the export table. (fill_edata): remember the actual hint for the import library.
1998-11-11* pe-dll.c (generate_reloc): don't output PE relocs for sectionsDJ Delorie1-1/+20
that won't be loaded.
1998-11-11* pe-dll.c (fill_edata): don't strip underscoresDJ Delorie1-1/+1
1998-11-10 * pe-dll.c (process_def_file): properly note undefined exportedDJ Delorie1-110/+109
symbols, clean up old code. (pe_dll_generate_def_file): don't crash if pe_def_file is NULL * emultempl/pe.em (gld_i386_parse_args): add (en/dis)able-stdcall-fixups (pe_fixup_stdcalls): warn about stdcall fixups (gld_i386_unrecognized_file): make exported symbols undefs so that archive members get pulled in
1998-11-10* deffilep.y: properly handle relocs with multiple def_files,DJ Delorie1-2/+2
cache import module names
1998-11-10* pe-dll.c (process_def_file): don't assume exports won't moveDJ Delorie1-8/+10
during a realloc
1998-11-09* pe-dll.c (process_def_file): auto-export everything ifDJ Delorie1-1/+1
nothing is otherwise exported.
1998-11-09 * pe-dll.c: New file; direct support for PE DLLsDJ Delorie1-0/+928
* deffile.h: New file; direct support for PE DLLs * deffilep.y: New file; direct support for PE DLLs * emultempl/pe.em: add direct support for PE DLLs * configure.tgt: allow target-specific extra files * configure.in: allow target-specific extra files * ldlang.c (lang_add_assignment): return the assignment so that one can change the value later based on the object files (pe-dll DEF files do this) * ldint.texinfo: add section for emulation walkthrough