]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "x86/build: Move _etext to actual end of .text"
authorRoss Zwisler <zwisler@chromium.org>
Mon, 1 Jul 2019 15:52:08 +0000 (09:52 -0600)
committerIngo Molnar <mingo@kernel.org>
Tue, 9 Jul 2019 11:57:31 +0000 (13:57 +0200)
commit8ed3e5b21971f0676117b50bdc8a2067389242a2
tree722b361946b84e68dd4262e55bf7425aebb7356f
parent892097adadbb65e2e331d18ff1ebed6b76395e9c
Revert "x86/build: Move _etext to actual end of .text"

This reverts commit 5f89ff0080df84d26b650a78585c73ea8558b77c.

Per the discussion here:

  https://lkml.kernel.org/r/201906201042.3BF5CD6@keescook

the above referenced commit breaks kernel compilation with old GCC
toolchains as well as current versions of the Gold linker.

Revert it to fix the regression and to keep the ability to compile the
kernel with these tools.

Signed-off-by: Ross Zwisler <zwisler@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Cc: <stable@vger.kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Kees Cook <keescook@chromium.org>
Cc: Johannes Hirte <johannes.hirte@datenkhaos.de>
Cc: Klaus Kusche <klaus.kusche@computerix.info>
Cc: samitolvanen@google.com
Cc: Guenter Roeck <groeck@google.com>
Link: https://lkml.kernel.org/r/20190701155208.211815-1-zwisler@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/vmlinux.lds.S