bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-argp-version-etc failures on mac


From: Bruno Haible
Subject: Re: test-argp-version-etc failures on mac
Date: Wed, 12 Aug 2009 16:13:38 +0200
User-agent: KMail/1.9.9

Eric Blake wrote:
> >     * lib/argp-ba.c (argp_program_bug_address): Explicitly zero-initialize
> >     on non-ELF systems.
> 
> Cygwin is a non-ELF system, but does not need the explicit initialization.
>  Is there a tighter condition we could use that would pick up just the
> MacOS situation, without penalizing PE-COFF systems?

The "penalty" is extremely small. We are talking about 4 bytes in this segment
or in that segment.

> I haven't checked whether gcc on cygwin is smart enough to put
> zero-initialized data in .bss in spite of the explicit initialization

Yes it is.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]