This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: ld/2218: Weak undefined symbol doesn't work properly with PIE
On Mon, Feb 20, 2006 at 12:09:10PM -0800, H. J. Lu wrote:
>
> I am checking this patch to test weak undefined data. I will
> fix ia64 backend.
>
>
> H.J.
> ----
> 2006-02-20 H.J. Lu <hongjiu.lu@intel.com>
>
> PR ld/2218
> * ld-pie/pie.exp: Add the weak undefined data test.
>
> * ld-pie/weakundef-data.c: New file.
Please check in pie.exp that -pie is supported by compiling and linking
a simple "int(main){return 0;}". Not all compilers support -pie, and
not all systems have Scrt0.o installed.
--
Alan Modra
IBM OzLabs - Linux Technology Centre