This is the mail archive of the binutils@sourceware.org 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: PATCH: Use a hash table for 26X linker speedup


Hi Paul,

It's still quite slow with this patch. unrecord_section_with_arm_elf_section_data has the same problem.

Good point.


The attached patch uses the cache for this as well, and avoids leaving last_entry pointing a free'd object.

Also a very good point.


I have applied your patch together with an extra comment describing why we set last_found to entry->prev, since I felt that it was not entirely obvious.

Cheers
  Nick

2005-10-19 Paul Brook <paul@codesourcery.com>

	* elf32-arm.c (find_arm_elf_section_entry): New function.
	(get_arm_elf_section_data,
	unrecord_section_with_arm_elf_section_data): Use it.


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