From 10e636d21ea3e704dca34a6393fdefd1e90f07c8 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Fri, 4 Sep 2009 01:22:19 +0000 Subject: 2009-09-04 Timo Kreuzer * dlltool.c (delayimp_name): Add new global variable (usage, long_options, main): Add new option "-y" / "--output-delaylib" (struct mac): Add fields how_dljtab_size, how_dljtab_roff1, how_dljtab_roff2, how_dljtab, trampoline. (i386_dljtab): Add binary stub for x86 delay import. (i386_trampoline): Add text assembly stub for x86 delay import. (mtable): Add delay import data for M386 and MX86 only. (make_delay_head): New function. (make_one_lib_file): New arg delay creates delay-load import stub. (gen_lib_file): New arg delay likewise. (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise. (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import. (make_tail): Convert hard TABS embedded in strings to "\t" escapes. * NEWS: Mention new feature. Also fix whitespace. * doc/binutils.texi: Updated dlltool documentation. --- binutils/NEWS | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'binutils/NEWS') diff --git a/binutils/NEWS b/binutils/NEWS index b3fd137..894c735 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,7 +1,13 @@ -*- text -*- +* Add support for delay importing to dlltool. Use the --output-delaylib + switch to create a delay-import library. The resulting app will load the dll + as soon as the first function is called. It will link to __delayLoadHelper2() + from the static delayimp library, which will import LoadLibraryA and + GetProcAddress from kernel32. + * Add a new command line option, --insn-width=WIDTH, to objdump to specify -number of bytes to be displayed on a single line when disassembling -instructions. + number of bytes to be displayed on a single line when disassembling + instructions. * Readelf can now display the relocated contents of a section as a sequence of bytes via the --relocated-dump= command line option. -- cgit v1.1