quoting Brian Dessent in message archived at http://www.cygwin.com/ml/cygwin/2008-01/msg00571.html
> auto-import has nothing to do with rebasing and is the default anyway. > The only thing that specifying --enable-auto-import does is disable some > informational messages that are printed during linking if auto imports > are used. Hello, Brian Umm, as you say, auto-import is not really relevant here, but, for the record, --enable-auto-import does a lot more now than just silence warnings. Namely. it unconditionally (and silently) merges readonly data into the writable .data section. ld/Changelog 2007-10-01 Nick Clifton <[EMAIL PROTECTED]> PR linker/4844 * genscripts.sh: Add support for generating a .xa script for use with the --auto-import option. * ld.texinfo: Document the new behaviour of the --auto-import option. * ldint.texinfo: Document new script generation. * emulparams/i386pe.sh (GENERATE_AUTO_IMPORT): Define. * emulparams/i386pe_posix.sh (GENERATE_AUTO_IMPORT): Define. * emulparams/i386pep.sh (GENERATE_AUTO_IMPORT): Define. * emultemp/pe.em (..._get_script): Support the use of the auto import script. * scripttempl/pe.sc: Put the .rdata input sections into the .data output section when creating an auto import script. * scripttempl/pep.sc: Likewise. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/