xtensa: add config option to disable linker relaxation
[sfrench/cifs-2.6.git] / arch / xtensa / Kconfig.debug
index 11c585295dd7b830b0dcab0393ec1f4f4ec3b3f2..be5fb4c6243f06cbad370dce103d15acdbaaa700 100644 (file)
@@ -2,6 +2,15 @@ menu "Kernel hacking"
 
 source "lib/Kconfig.debug"
 
-endmenu
-
+config LD_NO_RELAX
+       bool "Disable linker relaxation"
+       default n
+       help
+         Enable this function to disable link-time optimizations.
+         The default linker behavior is to combine identical literal
+         values to reduce code size and remove unnecessary overhead from
+         assembler-generated 'longcall' sequences.
+         Enabling this option improves the link time but increases the
+         code size, and possibly execution time.
 
+endmenu