src/bfd ChangeLog elf-bfd.h elf.c

jakub@sourceware.org jakub@sourceware.org
Fri Feb 2 21:10:00 GMT 2007


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jakub@sourceware.org	2007-02-02 21:10:50

Modified files:
	bfd            : ChangeLog elf-bfd.h elf.c 

Log message:
	* elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
	* elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
	(struct elf_symbol): Change first member into union.
	(elf_sort_elf_symbol): Compare pointers to internal syms rather than
	internal syms.  Only compare st_shndx fields.
	(elf_create_symbuf): New function.
	(bfd_elf_match_symbols_in_sections): Use it.  If symbufs are available
	for bfds, use a binary search, otherwise don't qsort symbols
	unnecessarily only to select which symbols are for the particular
	shndx.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.3729&r2=1.3730
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.224&r2=1.225
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.373&r2=1.374



More information about the Binutils-cvs mailing list