[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200318141318.GA20760@hirez.programming.kicks-ass.net>
Date: Wed, 18 Mar 2020 15:13:18 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: tglx@...utronix.de, jpoimboe@...hat.com
Cc: linux-kernel@...r.kernel.org, x86@...nel.org, mhiramat@...nel.org,
mbenes@...e.cz, brgerst@...il.com
Subject: Re: [RFC][PATCH v2 20/19] kbuild/objtool: Add objtool-vmlinux.o pass
On Wed, Mar 18, 2020 at 02:18:45PM +0100, Peter Zijlstra wrote:
>
> This seems to 'work', must be perfect etc..
Uhu.. the moment I ran it on a kernel which has .noinstr.text
> +objtool_link()
> +{
> + local objtoolopt;
> +
> + if [ -n "${CONFIG_VMLINUX_VALIDATION}" ]; then
> + objtoolopt="check"
> + if [ -n "${CONFIG_FRAME_POINTER}" ]; then
I found that that ought to be -z :-)
> + objtoolopt="${objtoolopt} --no-fp"
> + fi
Powered by blists - more mailing lists