From: Danny Smith <dannysmith@clear.net.nz>
To: Christopher Faylor <me@cgf.cx>, binutils <binutils@sources.redhat.com>
Subject: Re: Patch; let -subsystem option on pe targets actually affect entry symbol
Date: Tue, 04 Oct 2005 07:33:00 -0000 [thread overview]
Message-ID: <000601c5c8b5$71976470$126d65da@DANNY> (raw)
In-Reply-To: <20050928132711.GA13244@trixie.casa.cgf.cx>
----- Original Message -----
From: "Christopher Faylor"
Sent: Thursday, 29 September 2005 02:27
> On Tue, Sep 27, 2005 at 10:59:50PM +1200, Danny Smith wrote:
> >However, I believe this may resurrect some old problems on cygwin, which
> >does not provide a WinMainCRTStartup fumction. There used to be
> >instructions in cygwin users guide on how to work-around this (ie, when
> >setting windows subsystem either add an explict -e _mainCRTStartup or
> >add a stub WinMainCRTStartup that just calls the console entry symbol),
> >but those instruction have been removed.
>
> It sounds like, for cygwin, the simple solution for this, is to just include
> a WinMainCRTStartup function which calls _manCRTStartup, right?
>
> cgf
Corrina's winsup commit to add a WinMainCRTStartup alias to cygwin's crt0.c
gets rid of the cygwin
--subsystem windows warnings.
Is the patch now okay to commit?
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
default entry symbol to ENTRY here.
* scripttempl/pe.sc: Not here.
Danny
next prev parent reply other threads:[~2005-10-04 7:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-27 15:04 Danny Smith
2005-09-28 12:32 ` Alan Modra
2005-09-28 14:39 ` Christopher Faylor
2005-09-28 22:03 ` Danny Smith
2005-10-04 7:33 ` Danny Smith [this message]
2005-10-04 13:54 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000601c5c8b5$71976470$126d65da@DANNY' \
--to=dannysmith@clear.net.nz \
--cc=binutils@sources.redhat.com \
--cc=dannysmith@users.sourceforge.net \
--cc=me@cgf.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).