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]

Re: Bad patch to elf.c.


On Wed, Oct 11, 2000 at 02:28:03PM +1100, Alan Modra wrote:
> This appears to do the trick.  Rather than hacking global sections syms
> back to local, I decided to hack the symbol type, as this is probably a
> safer change.  Not installed yet.  Can someone check what this does to
> sparc32 and sparc64?
> 
> bfd/ChangeLog
> 	* elflink.h (elf_link_add_object_symbols): Hack global section
> 	syms to STT_NOTYPE.
> 

I don't know if I like this patch since it may put way too many
unnecessary global section name symbols to the dynamic symbol table.
Please keep in mind there may be many, many, many linkonce sections in
C++ binaries. At the ia64 ABI meeting, we discussed how to deal with
running out of the 16bit section index. You can guess how many linkonce
sections that may imply.


H.J.

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