Main-line Linux kernel tree http://www.kernel.org
Go to file
Josh Poimboeuf 753da4179d objtool: Remove --lto and --vmlinux in favor of --link
The '--lto' option is a confusing way of telling objtool to do stack
validation despite it being a linked object.  It's no longer needed now
that an explicit '--stackval' option exists.  The '--vmlinux' option is
also redundant.

Remove both options in favor of a straightforward '--link' option which
identifies a linked object.

Also, implicitly set '--link' with a warning if the user forgets to do
so and we can tell that it's a linked object.  This makes it easier for
manual vmlinux runs.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lkml.kernel.org/r/dcd3ceffd15a54822c6183e5766d21ad06082b45.1650300597.git.jpoimboe@redhat.com
2022-04-22 12:32:05 +02:00
arch objtool: Add HAVE_NOINSTR_VALIDATION 2022-04-22 12:32:05 +02:00
block
certs
crypto
Documentation
drivers xen: branch for v5.18-rc3 2022-04-17 10:29:10 -07:00
fs
include objtool: Rename "VMLINUX_VALIDATION" -> "NOINSTR_VALIDATION" 2022-04-22 12:32:04 +02:00
init
ipc
kernel objtool: Add CONFIG_OBJTOOL 2022-04-22 12:32:03 +02:00
lib objtool: Add HAVE_NOINSTR_VALIDATION 2022-04-22 12:32:05 +02:00
LICENSES
mm
net
samples
scripts objtool: Remove --lto and --vmlinux in favor of --link 2022-04-22 12:32:05 +02:00
security
sound
tools objtool: Remove --lto and --vmlinux in favor of --link 2022-04-22 12:32:05 +02:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: Add x86 unwinding entry 2022-04-19 21:58:47 +02:00
Makefile objtool: Add CONFIG_OBJTOOL 2022-04-22 12:32:03 +02:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.