[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] ld -shared resolves strong ref to defined weak sym as 0?
From: |
Roland McGrath |
Subject: |
Re: [BUG] ld -shared resolves strong ref to defined weak sym as 0? |
Date: |
Mon, 22 Dec 2003 15:09:37 -0500 (EST) |
> If you do objdump -R on x.so, you will see that there is a R_386_PC32
> reloc. When the dynamic linker sees that reloc, it will resolve it to
> the correct address. So this shared library should execute fine.
It turns out I was flummoxed by an objdump bug. With -d -R, it
mysteriously fails to show the relocs and so I thought there were none.
Looking with readelf revealed the truth, and then objdump -R (without -d)
did show them. I think Jakub may have fixed the objdump bug already.