This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [1.7] rebaseall doesn't solve the problem
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 2 Mar 2009 13:07:56 +0100
- Subject: Re: [1.7] rebaseall doesn't solve the problem
- References: <499F6682.1090204@cwilson.fastmail.fm> <20090224100616.GC6035@calimero.vinschen.de> <49A85971.6070300@cwilson.fastmail.fm> <20090228104337.GG19887@calimero.vinschen.de> <49A986B4.2080501@cwilson.fastmail.fm> <20090228195127.GA26646@ednor.casa.cgf.cx> <20090228202850.GB8503@calimero.vinschen.de>
- Reply-to: cygwin at cygwin dot com
On Feb 28 21:28, Corinna Vinschen wrote:
> On Feb 28 14:51, Christopher Faylor wrote:
> > On Sat, Feb 28, 2009 at 01:47:16PM -0500, Charles Wilson wrote:
> > >Corinna Vinschen wrote:
> > >> If so, I'm wondering if setting the TS-aware flag shouldn't become
> > >> default in GCC. What do you say, Dave? Would that be possible?
> > >
> > >I'd probably wait on that for the /next/ release (e.g. after 4.3.2-2),
> > >[...]
> > >Maybe the aslr functionality is different enough -- and useful in enough
> > >contexts that differ from rebasing -- that instead of incorporating
> > >'call aslr TOO' into rebaseall, there should be a separate 'aslrall' script?
> >
> > It should be trivial to add this to binutils. Doesn't it ultimately
> > belong in ld and (maybe) objcopy?
>
> Yes, that should be done in ld.
>
> > I can add this now but I don't think it should be the default just yet.
>
> If the TS-aware flag actually helps to avoid the tsappcmp.dll bug, then
> I think the flag should be set by ld by default for Cygwin apps.
Btw., I just noticed that the Visual C++ Linker sets the TS-aware flag
by default, see http://msdn.microsoft.com/en-us/library/01cfys9z.aspx
It would probably be very helpful in the long run if ld had some generic
option to set any of the Windows-specific header flags at build time.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/