public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: binutils <binutils@sources.redhat.com>
Subject: Re: Patch; let -subsystem option on pe targets actually affect entry symbol
Date: Tue, 04 Oct 2005 13:54:00 -0000	[thread overview]
Message-ID: <20051004135418.GA15598@trixie.casa.cgf.cx> (raw)
In-Reply-To: <000601c5c8b5$71976470$126d65da@DANNY>

On Tue, Oct 04, 2005 at 08:30:04PM +1300, Danny Smith wrote:
>----- 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?
>
>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.

Yes.

cgf

      reply	other threads:[~2005-10-04 13:54 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
2005-10-04 13:54     ` Christopher Faylor [this message]

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=20051004135418.GA15598@trixie.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@cygwin.com \
    --cc=binutils@sources.redhat.com \
    /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).