]> git.openpandora.org Git - pandora-kernel.git/commitdiff
xtensa: disable link optimization
authorChris Zankel <chris@zankel.net>
Tue, 16 Dec 2014 05:22:21 +0000 (21:22 -0800)
committerChris Zankel <chris@zankel.net>
Tue, 16 Dec 2014 07:47:24 +0000 (23:47 -0800)
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>
arch/xtensa/Kconfig.debug
arch/xtensa/configs/iss_defconfig

index 53ae08eef86d530a5436de2988872ff95f4b51c0..8430af27de0a67e915ec330d43eb71ce9a7d3f37 100644 (file)
@@ -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
Simple merge