lkml.org 
[lkml]   [2020]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2020-03-18 15:14    [W:0.167 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site