diff options
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 180ea33164dc..11d349561ece 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -450,6 +450,27 @@ config CC_STACKPROTECTOR_STRONG | |||
450 | 450 | ||
451 | endchoice | 451 | endchoice |
452 | 452 | ||
453 | config THIN_ARCHIVES | ||
454 | bool | ||
455 | help | ||
456 | Select this if the architecture wants to use thin archives | ||
457 | instead of ld -r to create the built-in.o files. | ||
458 | |||
459 | config LD_DEAD_CODE_DATA_ELIMINATION | ||
460 | bool | ||
461 | help | ||
462 | Select this if the architecture wants to do dead code and | ||
463 | data elimination with the linker by compiling with | ||
464 | -ffunction-sections -fdata-sections and linking with | ||
465 | --gc-sections. | ||
466 | |||
467 | This requires that the arch annotates or otherwise protects | ||
468 | its external entry points from being discarded. Linker scripts | ||
469 | must also merge .text.*, .data.*, and .bss.* correctly into | ||
470 | output sections. Care must be taken not to pull in unrelated | ||
471 | sections (e.g., '.text.init'). Typically '.' in section names | ||
472 | is used to distinguish them from label names / C identifiers. | ||
473 | |||
453 | config HAVE_ARCH_WITHIN_STACK_FRAMES | 474 | config HAVE_ARCH_WITHIN_STACK_FRAMES |
454 | bool | 475 | bool |
455 | help | 476 | help |