path: root/arch/xtensa/Kconfig.debug
diff options
authorChris Zankel <>2014-12-15 21:22:21 -0800
committerChris Zankel <>2014-12-15 23:47:24 -0800
commit1f2fdbd0078cb2ad4251768e8c0e0bb652a2cbd6 (patch)
tree16373284625d37904c78eb861388316035f57db2 /arch/xtensa/Kconfig.debug
parent4255a8e199a00faa29b84c47ad57427dd1412581 (diff)
xtensa: disable link optimization
The default linker behavior is to optimize identical literal values and remove unnecessary overhead. However, because of a bug in the linker, this currently results in an error ('call target out of range'). Disable link-time optimizations per default until there is a fix for the linker and add the option to iss_defconfig. Signed-off-by: Chris Zankel <>
Diffstat (limited to 'arch/xtensa/Kconfig.debug')
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/Kconfig.debug b/arch/xtensa/Kconfig.debug
index 53ae08eef86d..8430af27de0a 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
Enable this function to disable link-time optimizations.
The default linker behavior is to combine identical literal