| Date | Wed, 18 Mar 2020 15:13:18 +0100 | From | Peter Zijlstra <> | 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
|