[PATCH] x86-64: Remove CONFIG_REORDER
The option never worked well and functionlist wasn't well maintained. Also it made the build very slow on many binutils version. So just remove it. Cc: arjan@linux.intel.com Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
parent
a106009bdf
commit
2136220d00
4 changed files with 0 additions and 1296 deletions
|
@ -660,14 +660,6 @@ config CC_STACKPROTECTOR_ALL
|
||||||
|
|
||||||
source kernel/Kconfig.hz
|
source kernel/Kconfig.hz
|
||||||
|
|
||||||
config REORDER
|
|
||||||
bool "Function reordering"
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
This option enables the toolchain to reorder functions for a more
|
|
||||||
optimal TLB usage. If you have pretty much any version of binutils,
|
|
||||||
this can increase your kernel build time by roughly one minute.
|
|
||||||
|
|
||||||
config K8_NB
|
config K8_NB
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on AGP_AMD64 || IOMMU || (PCI && NUMA)
|
depends on AGP_AMD64 || IOMMU || (PCI && NUMA)
|
||||||
|
|
|
@ -40,7 +40,6 @@ cflags-y += -m64
|
||||||
cflags-y += -mno-red-zone
|
cflags-y += -mno-red-zone
|
||||||
cflags-y += -mcmodel=kernel
|
cflags-y += -mcmodel=kernel
|
||||||
cflags-y += -pipe
|
cflags-y += -pipe
|
||||||
cflags-kernel-$(CONFIG_REORDER) += -ffunction-sections
|
|
||||||
cflags-y += -Wno-sign-compare
|
cflags-y += -Wno-sign-compare
|
||||||
cflags-y += -fno-asynchronous-unwind-tables
|
cflags-y += -fno-asynchronous-unwind-tables
|
||||||
ifneq ($(CONFIG_DEBUG_INFO),y)
|
ifneq ($(CONFIG_DEBUG_INFO),y)
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -30,9 +30,6 @@ SECTIONS
|
||||||
/* First the code that has to be first for bootstrapping */
|
/* First the code that has to be first for bootstrapping */
|
||||||
*(.bootstrap.text)
|
*(.bootstrap.text)
|
||||||
_stext = .;
|
_stext = .;
|
||||||
/* Then all the functions that are "hot" in profiles, to group them
|
|
||||||
onto the same hugetlb entry */
|
|
||||||
#include "functionlist"
|
|
||||||
/* Then the rest */
|
/* Then the rest */
|
||||||
*(.text)
|
*(.text)
|
||||||
SCHED_TEXT
|
SCHED_TEXT
|
||||||
|
|
Loading…
Reference in a new issue