public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* environ is autofiltered from dll export list?
@ 2006-05-24  7:38 Pedro Alves
  2006-05-24 13:38 ` Dave Korn
  0 siblings, 1 reply; 8+ messages in thread
From: Pedro Alves @ 2006-05-24  7:38 UTC (permalink / raw)
  To: binutils

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 }
};

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-06-23 12:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24  7:38 environ is autofiltered from dll export list? Pedro Alves
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

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).