aboutsummaryrefslogtreecommitdiff
path: root/binutils/dlltool.c
AgeCommit message (Collapse)AuthorFilesLines
1998-01-28Wed Jan 28 17:43:02 1998 J.J. van der Heijden ↵Ian Lance Taylor1-77/+97
<J.J.vanderHeijden@student.utwente.nl> * dlltool.c: Never include vfork.h. (run): Use pexecute rather than vfork. (gen_lib_file): Check for errors from bfd_set_archive_head and bfd_close. Close all the BFDs in the archive before deleting the temporary files.
1997-06-11 * dlltool.h: New file.Ian Lance Taylor1-215/+259
* deflex.l: Include dlltool.h and libiberty.h. Don't declare strdup. Use xstrdup rather than strdup. * defparse.y: Include bfd.h, bucomm.h, and dlltool.h. * dlltool.c: Include dlltool.h and time.h. Make a lot of variables and functions static. Make a lot of char * variables and parameters const. Add declarations for static functions. Do some reindenting. Hide more PowerPC stuff inside DLLTOOL_PPC.
1995-12-05Fix .idata doc bug.David Edelsohn1-3/+1
1995-12-05Document the .idata section.David Edelsohn1-0/+39
1995-12-01PowerPC changesKim Knuttila1-29/+296
1995-11-29 * dlltool.c (fill_ordinals): Don't reference d_export_vec ifDavid Edelsohn1-4/+3
there are no exported functions.
1995-11-22 * dlltool.c (fill_ordinals): Start assigning ordinals at 1.Ian Lance Taylor1-7/+11
PR 8500.
1995-11-14 * dlltool.c (fill_ordinals): Correct memset call.Ian Lance Taylor1-1/+24
1995-11-06 * bucomm.h: Include <sys/types.h>.Ian Lance Taylor1-1/+0
* ar.c: Don't include <sys/types.h> or <stdio.h>. * bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.
1995-10-28Thu Oct 26 10:23:14 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-198/+484
* dlltool.c (no_idata4, no_idata5): New. (arm_jtab): Use correct encoding of jump instruction. (usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
1995-10-11Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-58/+153
* dlltool.c (mtable): HOW_ALIGN_LONG, new. (d_ord): Deleted. (d_low_ord, d_high_ord, d_named_funcs): New. (gen_exp_file): Create noname entries correctly. (gen_lib_file): Dump exports alphabetically. (process_duplicates): Count nonamed functions. (fill_ordinals): Keep track of highest ord too. (mangle_defs): Create alphabetically ordered list of names.
1995-10-09Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-186/+235
* dlltool.c (add_underscore): New. (xlate): Use new name. (main, usage): Update.
1995-09-25 * configure.in: Call AC_HEADER_SYS_WAIT.Ian Lance Taylor1-8/+26
* configure: Rebuild. * config.in: Rebuild. * dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include <stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>. Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to include <sys/wait.h> or define the wait macros by hand. Don't declare xmalloc. (gen_lib_file): Don't assume that sprintf returns the number of characters; use strlen instead.
1995-09-13Fix .drectve spelling (was .drective) in several comments.David Edelsohn1-47/+80
1995-08-31 * dlltool.c (run): Add missing 3rd arg to waitpid.David Edelsohn1-11/+9
1995-08-29 Put _iname in idata$7.Steve Chamberlain1-1/+1
1995-08-29Tue Aug 29 13:25:21 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-159/+156
* dlltool.c (rva): Deleted. (rvaafter, rva_before): Use new assembler pseudo. (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing. (gen_exp_file): Don't generate .edata if no need. (gen_lib_file): Don't make timestamp. (workout_prefix): Fix memory initialization bug. (usage): Tidy up, delete many single char options. (main): rva option is gone.
1995-08-22 * dlltool.c (options): image-base is a synonym for rva.Steve Chamberlain1-2/+3
1995-08-20Sun Aug 20 09:59:00 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-125/+365
Modified to generate archives and objects rather than .s files. * dlltool.c (run) New function. (gen_exp_file, gen_lib_file): Use run. (workout_prefix): New. (usage): Document new options. (main): Parse new options.
1995-08-16 * dlltool.c (gen_exp_file): Fix RVA handling.Steve Chamberlain1-21/+17
(rva_s, rva_n): Delete.
1995-08-09 * dlltool.c (mtable): New fields.Steve Chamberlain1-11/+50
(ASM_RVA_BEFORE, ASM_RVA_AFTER): New. (flush_page, gen_lib_file): Use new macros.
1995-07-03Mon Jul 3 14:16:47 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-6/+15
* configure.in (i386-*-win32): New configuration. * dlltool.c (killat, xlate, usage, long_options, main): Understand and cope with -k option.
1995-06-29 * ar.c: (print_contents.c, extract_file, do_quick_append):Steve Chamberlain1-200/+439
Malloc buffers rather than allocate on stack (so it works on NT). * deflex.l: Names can have an @ in them. * dlltool.c: Loads of stuff. Can now generate .imp files which work with NT .dlls.
1995-06-14dlltool.c: Support for internal names too.Steve Chamberlain1-17/+9
1995-06-14Wed Jun 14 13:27:22 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+1016
* deflex.l, defparse.y, dlltool.c: New files. * Makefile.in, configure.in: Support for them. Mon Jun 12 11:27:54 1995 Steve Chamberlain <sac@slash.cygnus.com> * sysdump.c: Include sysdep.h (main): Open input with FOPEN_RB. binutils/7137