weak and strong aliases for global data fail
Peter S. Mazinger
ps.m@gmx.net
Tue May 23 00:12:00 GMT 2006
On Wed, 17 May 2006, Peter S. Mazinger wrote:
Could anyone tell me if this is a binutils bug (tested 2.16.1/2.16.92) or
I should send it to the gcc list (tested with 3.4.6). It seems to me that
it is rather an ld bug.
Thanks, Peter
> Hello!
>
> Attached tests show a case, when a final binary is OK if
> compiled w/ -fPIC (or -fPIE, it does not have to be ET_DYN, but can be),
> else it fails if using aliases (both weak and strong) for global data.
>
> Sorry for the "big" test cases, I couldn't make them smaller.
>
> Peter
>
>
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the Binutils
mailing list