Fix uninitialized data in .dynsym

Alan Modra
Tue Jul 10 00:33:00 GMT 2007

On Mon, Jul 09, 2007 at 04:25:29PM -0700, H.J. Lu wrote:
> I don't think it is right. When you do
> ld -shared -o --defsym foo=0 --version-script a.ver -E
> shouldn't foo be dynamic?

Yes, it should.  So should the following, but I wasn't going to reject
Joseph's patch just because he didn't fix all the bugs involved.

ld -shared -o --defsym foo=0 -E empty.o

Alan Modra
Australia Development Lab, IBM

More information about the Binutils mailing list