This is the mail archive of the
mailing list for the Cygwin project.
Re: A serious bug of "ld --enable-auto-import"
On Sat, Aug 25, 2001 at 09:22:11PM -0400, Charles Wilson wrote:
>AIDA Shinra wrote:
>> I found a bug of ld(included in binutils 20010802-1).
>> Following is a simple test program.
>Confirmed bug. I dunno where the bug is coming from, or how to fix
>I think the linker is ignoring the '+12' in this asm:
>ld sees "_hwstr1" in the .o and blindly plunks in the address (via
>__imp__hwstr1 and the auto-import magic) *without* adding the 12. I'll
>dig into this -- unless Paul beats me to it. Paul? Paauulll?
I forwarded this bug to binutils.
Dunno if Paul will see it there or not but I thought it was more likely
the binutils developers might be able to track this down.
As soon as there is a patch forthcoming, I'll make a new release of binutils.
This seems like a pretty serious bug.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html