This is the mail archive of the
mailing list for the binutils project.
Re: ELF/m68k visibility handling in shared libraries
On Tue, Dec 03, 2002 at 04:31:05PM -0800, Richard Henderson wrote:
> On Wed, Dec 04, 2002 at 09:26:59AM +1030, Alan Modra wrote:
> > See the elf_backend_hide_symbol call in elf_link_add_object_symbols,
> > which is where check_relocs is called. Not all visibility changes
> > happen later.
> I suppose. But given that we have to check again at the end,
> I don't see the point of checking earlier.
After looking at the patch in detail, I see that the
ELF_LINK_FORCED_LOCAL checks are just to avoid a record_dynamic_symbol
call. The real question is why does the 68k backend require this
call at all? Other than that, the patch looks OK.
IBM OzLabs - Linux Technology Centre