[PATCH/RFC] Fix LD test FAIL: weak symbols on Cygwin

H.J. Lu hjl.tools@gmail.com
Wed Mar 18 00:29:00 GMT 2009


On Tue, Mar 17, 2009 at 3:35 PM, Aaron W. LaFramboise
<aaron98wiridge9@aaronwl.com> wrote:
> I haven't had a chance to look at this in detail.  However, I'm pretty
> certain this used to work on both Cygwin and MinGW, and at some point, its
> gotten broken.
>
> The way to determine the correct behavior is to check what gas was doing the
> last time this didn't fail.
>
> If you aren't in a hurry, I can at least check on these details and get back
> to you on this within a week or so.  If you are in a hurry, binutils as of
> about the beginning of 2005 should work correctly here.
>
> (I'm the one who originally made the weak stuff work properly on PECOFF, and
> the way it was working when I was done with it should represent 'the right
> thing.')
>

FWIW, there is always

FAIL: weak symbols

in ld when configured for i386-cygwin hosted on Linux/ia32. It has been failing
ever since it was enabled by

http://sourceware.org/ml/binutils-cvs/2004-11/msg00052.html


-- 
H.J.



More information about the Binutils mailing list