This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix uninitialized data in .dynsym


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 b.so --defsym foo=0 a.so --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 b.so --defsym foo=0 -E empty.o

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]