• Masahiro Yamada's avatar
    gcov: remove CONFIG_GCOV_FORMAT_AUTODETECT · 6a61b70b
    Masahiro Yamada authored
    CONFIG_GCOV_FORMAT_AUTODETECT compiles either gcc_3_4.c or gcc_4_7.c
    according to your GCC version.
    
    We can achieve the equivalent behavior by setting reasonable dependency
    with the knowledge of the compiler version.
    
    If GCC older than 4.7 is used, GCOV_FORMAT_3_4 is the default, but users
    are still allowed to select GCOV_FORMAT_4_7 in case the newer format is
    back-ported.
    
    On the other hand, If GCC 4.7 or newer is used, there is no reason to
    use GCOV_FORMAT_3_4, so it should be hidden.
    
    If you downgrade the compiler to GCC 4.7 or older, oldconfig/syncconfig
    will display a prompt for the choice because GCOV_FORMAT_3_4 becomes
    visible as a new symbol.
    Signed-off-by: 's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Acked-by: 's avatarPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
    Reviewed-by: 's avatarKees Cook <keescook@chromium.org>
    6a61b70b
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
base.c Loading commit data...
fs.c Loading commit data...
gcc_3_4.c Loading commit data...
gcc_4_7.c Loading commit data...
gcov.h Loading commit data...