From: Pedro Alves <pedro_alves@portugalmail.pt>
To: binutils@sourceware.org
Subject: environ is autofiltered from dll export list?
Date: Wed, 24 May 2006 07:38:00 -0000 [thread overview]
Message-ID: <4473782A.4090008@portugalmail.pt> (raw)
Hi all,
char** environ is explicitly disabled from dll exporting in pe-dll.c's
autofilters. Why is it? I tried to look in the archives,
back when the auto-importing was introduced, but couldn't find the
rationale.
Should every dll have its own environ?
Also, while looking at it, why are _fmode, _impure_ptr,
cygwin_attach_dll, cygwin_premain0, cygwin_premain1, cygwin_premain2,
cygwin_premain3 and environ in the autofilter_symbolprefixlist[] instead
of the autofilter_symbollist[]? Probably an oversight.
Cheers,
Pedro Alves
from pe-dll.c:
static autofilter_entry_type autofilter_symbolprefixlist[] =
{
{ "__imp", 5 },
/* Do __imp_ explicitly to save time. */
(...)
{ "_impure_ptr", 11 },
{ "cygwin_attach_dll", 17 },
{ "cygwin_premain0", 15 },
{ "cygwin_premain1", 15 },
{ "cygwin_premain2", 15 },
{ "cygwin_premain3", 15 },
{ "environ", 7 },
{ NULL, 0 }
};
next reply other threads:[~2006-05-23 21:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 7:38 Pedro Alves [this message]
2006-05-24 13:38 ` Dave Korn
2006-05-24 14:33 ` Pedro Alves
2006-05-25 1:18 ` Christopher Faylor
2006-05-25 3:18 ` Dave Korn
2006-05-25 22:49 ` Pedro Alves
2006-06-23 12:16 ` Nick Clifton
2006-06-23 14:01 ` Pedro Alves
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=4473782A.4090008@portugalmail.pt \
--to=pedro_alves@portugalmail.pt \
--cc=binutils@sourceware.org \
/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).