profiling library smaller than non-profiling, while it contains more symbols. Why?

Robert Bonomi bonomi at mail.r-bonomi.com
Fri Jul 13 02:24:24 UTC 2012


> Date: Thu, 12 Jul 2012 23:52:18 +0100
> From: Anton Shterenlikht <mexas at bristol.ac.uk>
> Subject: Re: profiling library smaller than non-profiling,
> 	while it contains more symbols. Why?
>
> Also, the library compiled on amd64 has lots more
> symbols than if compiled on ia64.

This is _not_ unexpected with different processor architectures, and thus
different instruction sets.

Speculation: the values lfor the .LC* variables look like bit-masks -- it 
may be that ia64 has opcodes that allow immediate operannds, obviating
the need for a 'data' consntat in memory.

"Something" in the source causes different processor-specific code to be
generated -- one processor uses 'data' constants, the other doesn't.




More information about the freebsd-questions mailing list