RFA: Don't canonicalize STT_SECTION syms

Daniel Jacobowitz drow@false.org
Sat Dec 11 04:34:00 GMT 2004


On Sat, Dec 11, 2004 at 02:50:43PM +1030, Alan Modra wrote:
> On Fri, Dec 10, 2004 at 10:19:29AM -0500, Daniel Jacobowitz wrote:
> > so I assume there is more.
> 
> Yeah.
> 
> bfd/ChangeLog
> 	* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that
> 	canonical sections syms have a name.

Could you explain why this change is necessary?  It's not going back to
the same place we were before, and I find this...

> -0+00 l    d  foo	0+0 
> +0+00 l    d  foo	0+0 (|foo)

to be pretty confusing, since IIRC an undefined reference to foo
shouldn't be resolved to that symbol, if the ELF symbol's name is
empty.

-- 
Daniel Jacobowitz



More information about the Binutils mailing list