delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/31/03:06:49

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 <dannysmith AT clear DOT net DOT nz>
Subject: Re: About linker otions an rebasing
To: Cygwin <cygwin AT cygwin DOT com>
Message-id: <000001c863e0$2a69cca0$0d4861cb@THOMAS>
MIME-version: 1.0
X-Mailer: Microsoft Outlook, Build 10.0.2627
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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  <nickc AT redhat DOT com>

	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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019