[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081121074428.GC28447@linux-sh.org>
Date: Fri, 21 Nov 2008 16:44:29 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
linuxppc-dev@...abs.org, Matt Fleming <mjf@...too.org>,
Jim Radford <radford@...vanix.net>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 1/3] sh: dynamic ftrace support.
On Thu, Nov 20, 2008 at 03:34:16PM -0500, Steven Rostedt wrote:
> +} elsif ($arch eq "sh") {
> + $section_regex = "Disassembly of section\\s+(\\S+):";
> + $function_regex = "^([0-9a-fA-F]+)\\s+<(.*?)>:";
> + $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\smcount\$";
> + $type = ".long";
> +
> + # force flags for this arch
> + $ld .= " -m shlelf_linux";
> + $objcopy .= " -O elf32-sh-linux";
> + $cc .= " -m32";
> +
Note that if the $alignment changes are in this version, you will also
need to add an $alignment = 2; for sh. That was in Matt's original patch,
but I stripped the alignment line out in the commit given that it was not
yet present in the mainline version of the script.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists