diff --git a/arch/xtensa/Kconfig.debug b/arch/xtensa/Kconfig.debug index 53ae08eef86d530a5436de2988872ff95f4b51c0..8430af27de0a67e915ec330d43eb71ce9a7d3f37 100644 --- a/arch/xtensa/Kconfig.debug +++ b/arch/xtensa/Kconfig.debug @@ -14,7 +14,7 @@ config DEBUG_TLB_SANITY config LD_NO_RELAX bool "Disable linker relaxation" - default n + default y help Enable this function to disable link-time optimizations. The default linker behavior is to combine identical literal diff --git a/arch/xtensa/configs/iss_defconfig b/arch/xtensa/configs/iss_defconfig index 6a7593b6784d2074ac8df15e89156a82d46928c8..e4d193e7a30087fba1d8f9153f76917556dcb4aa 100644 --- a/arch/xtensa/configs/iss_defconfig +++ b/arch/xtensa/configs/iss_defconfig @@ -757,3 +757,4 @@ CONFIG_GENERIC_FIND_LAST_BIT=y CONFIG_HAS_IOMEM=y CONFIG_HAS_DMA=y CONFIG_NLATTR=y +CONFIG_LD_NO_RELAX=y