This is the mail archive of the binutils@sources.redhat.com 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: RFA: Don't canonicalize STT_SECTION syms


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


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