Re: [RFC] gcc feature request: Moving blocks into sections

Steven Rostedt
2013-08-07T00:45:09Z

On Tue, 2013-08-06 at 16:43 -0400, Steven Rostedt wrote:
> On Tue, 2013-08-06 at 16:33 -0400, Mathieu Desnoyers wrote:
>
> > Steve, perhaps you could add a mode to your binary rewriting program
> > that counts the number of 2-byte vs 5-byte jumps found, and if possible
> > get a breakdown of those per subsystem ?
>
> I actually started doing that, as I was curious to how many were being
> changed as well.

I didn't add it to the update program as that runs on each individual
object (needs to handle modules). But I put in the start up code a
counter to see what types were converted:

[ 3.387362] short jumps: 106
[ 3.390277] long jumps: 330

Thus, approximately 25%. Not bad.

-- Steve