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: [patch] ld speedup 1/3 (suffix merge)


On Thu, Sep 18, 2003 at 05:22:12PM +0200, Jakub Jelinek wrote:
> This patch seems to do all the string merging as current CVS merge.c
> only if alignment == entsize (well, in that case it might create the
> section even entsize bytes smaller by merging '\0' into some string).

I should note that alignment > entsize merging is important.
On IA-32 just strings longer or equal to 32 bytes get alignment > 1,
but on lots of other arches each string is aligned to typically 4 or 8
bytes.
.debug_str (ie. largest user of string merging these days) is entsize 1
alignment 1 on all arches though.

	Jakub


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