[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/977] ld test weak fails on cygwin
From: |
dave dot korn dot cygwin at gmail dot com |
Subject: |
[Bug ld/977] ld test weak fails on cygwin |
Date: |
19 Mar 2009 01:51:02 -0000 |
------- Additional Comments From dave dot korn dot cygwin at gmail dot com
2009-03-19 01:51 -------
(In reply to comment #4)
> This bug may be related the the already fixed Bug #3041 about weak symbols on
> a.out targets.
Ah, thanks for the pointer! It looks like we're ok on point #1 (the reloc
against a weak symbol being converted to an offset from the section base symbol,
that's not happening on x86/PE) and I'm half-way through recreating your patch
#3 (In md_apply_fix(): Always put zero values into frags referencing a weak
symbol).
>There is still a bug when the reference to the weak symbol contains an offset.
>With my previous patch, the offset is unconditionnaly set to 0.
Heh, you ran up into the problem that I am anticipating finding next!
Thanks a lot Vincent, you seem to have discovered and solved the exact same
problem on m68k and your patches will be very useful for me :)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=977
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.