X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 31 Jan 2008 21:06:19 +1300 From: Danny Smith Subject: Re: About linker otions an rebasing To: Cygwin Message-id: <000001c863e0$2a69cca0$0d4861cb@THOMAS> MIME-version: 1.0 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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/