summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/configs
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2014-12-15 21:22:21 -0800
committerChris Zankel <chris@zankel.net>2014-12-15 23:47:24 -0800
commit1f2fdbd0078cb2ad4251768e8c0e0bb652a2cbd6 (patch)
tree16373284625d37904c78eb861388316035f57db2 /arch/xtensa/configs
parent4255a8e199a00faa29b84c47ad57427dd1412581 (diff)
downloadlinux-1f2fdbd0078cb2ad4251768e8c0e0bb652a2cbd6.tar.gz
linux-1f2fdbd0078cb2ad4251768e8c0e0bb652a2cbd6.tar.bz2
linux-1f2fdbd0078cb2ad4251768e8c0e0bb652a2cbd6.zip
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 <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/configs')
-rw-r--r--arch/xtensa/configs/iss_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/configs/iss_defconfig b/arch/xtensa/configs/iss_defconfig
index 6a7593b6784d..e4d193e7a300 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