Re: [PATCH 0/3] ftrace: handle kernel code remove

From: Ingo Molnar
Date: Fri Aug 15 2008 - 06:15:32 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> > the problem is that i'm building a 32-bit kernel on a 64-bit host,
> > and the scripts/recordmcount.pl script does not create the temporary
> > object files in the proper (32-bit) output ELF format.
>
> the crude hack below got me going for now - but this needs a proper
> solution.

updated hack - it now works on 64-bit too.

( Btw., whoever came up with those fantastic variations of BFD,
architecture name and ELF format names and sprinkled them around
various tools with different command line switches and variants and
underscore versus dash names, must not be let near any serious
open-source code base again, until the end of his life. )

Ingo

------------->