[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-77a1619947ab31564aed54621d5b1e34af9b395d@git.kernel.org>
Date: Tue, 2 Jul 2019 12:13:52 -0700
From: tip-bot for Ross Zwisler <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: klaus.kusche@...puterix.info, groeck@...gle.com,
zwisler@...omium.org, linux-kernel@...r.kernel.org,
mingo@...nel.org, keescook@...omium.org, groeck@...omium.org,
johannes.hirte@...enkhaos.de, hpa@...or.com, bp@...en8.de,
tglx@...utronix.de, zwisler@...gle.com
Subject: [tip:x86/urgent] Revert "x86/build: Move _etext to actual end of
.text"
Commit-ID: 77a1619947ab31564aed54621d5b1e34af9b395d
Gitweb: https://git.kernel.org/tip/77a1619947ab31564aed54621d5b1e34af9b395d
Author: Ross Zwisler <zwisler@...omium.org>
AuthorDate: Mon, 1 Jul 2019 09:52:08 -0600
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Tue, 2 Jul 2019 21:09:44 +0200
Revert "x86/build: Move _etext to actual end of .text"
This reverts commit 392bef709659abea614abfe53cf228e7a59876a4.
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@...gle.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Reviewed-by: Guenter Roeck <groeck@...omium.org>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Kees Cook <keescook@...omium.org>
Cc: Johannes Hirte <johannes.hirte@...enkhaos.de>
Cc: Klaus Kusche <klaus.kusche@...puterix.info>
Cc: samitolvanen@...gle.com
Cc: Guenter Roeck <groeck@...gle.com>
Link: https://lkml.kernel.org/r/20190701155208.211815-1-zwisler@google.com
---
arch/x86/kernel/vmlinux.lds.S | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 0850b5149345..4d1517022a14 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -141,10 +141,10 @@ SECTIONS
*(.text.__x86.indirect_thunk)
__indirect_thunk_end = .;
#endif
- } :text = 0x9090
- /* End of text section */
- _etext = .;
+ /* End of text section */
+ _etext = .;
+ } :text = 0x9090
NOTES :text :note
Powered by blists - more mailing lists