This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: binutils patch [Was: Re: ncurses announcement - trial run]
The updated binutils.README is available here:
http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/dll-stuff/binutils.README-new
it reflects the recent changes in the binutils CVS, as well as the
recently posted "make enable-auto-import default" patch. (I've attached
that again, for convenience).
When you get a chance, Chris, give it a go.
--Chuck
2001-09-21 Charles Wilson <cwilson@ece.gatech.edu>
* emultempl/pe.em(gld_${EMULATION_NAME}_before_parse):
make --enable-auto-import the default
(gld_${EMULATION_NAME}_list_options): indicate default
status
Index: ld/emultempl/pe.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/pe.em,v
retrieving revision 1.52
diff -u -r1.52 old/ld/emultempl/pe.em new/ld/emultempl/pe.em
--- old/ld/emultempl/pe.em 2001/09/18 10:10:21 1.52
+++ new/ld/emultempl/pe.em 2001/09/21 06:09:51
@@ -173,7 +174,7 @@
#ifdef DLL_SUPPORT
config.dynamic_link = true;
config.has_shared = 1;
-/* link_info.pei386_auto_import = true; */
+ link_info.pei386_auto_import = true;
#if (PE_DEF_SUBSYSTEM == 9) || (PE_DEF_SUBSYSTEM == 2)
#if defined TARGET_IS_mipspe || defined TARGET_IS_armpe
@@ -347,7 +348,7 @@
fprintf (file, _(" importlib, use <string><basename>.dll \n"));
fprintf (file, _(" in preference to lib<basename>.dll \n"));
fprintf (file, _(" --enable-auto-import Do sophistcated linking of _sym to \n"));
- fprintf (file, _(" __imp_sym for DATA references\n"));
+ fprintf (file, _(" __imp_sym for DATA references (default)\n"));
fprintf (file, _(" --disable-auto-import Do not auto-import DATA items from DLLs\n"));
fprintf (file, _(" --enable-extra-pe-debug Enable verbose debug output when building\n"));
fprintf (file, _(" or linking to DLLs (esp. auto-import)\n"));