01 Dec, 2020

1 commit

  • ld.lld 10.0.1 spews a bunch of various warnings about .rela sections,
    along with a few others. Newer versions of ld.lld do not have these
    warnings. As a result, do not add '--orphan-handling=warn' to
    LDFLAGS_vmlinux if ld.lld's version is not new enough.

    Link: https://github.com/ClangBuiltLinux/linux/issues/1187
    Link: https://github.com/ClangBuiltLinux/linux/issues/1193
    Reported-by: Arvind Sankar
    Reported-by: kernelci.org bot
    Reported-by: Mark Brown
    Reviewed-by: Kees Cook
    Signed-off-by: Nathan Chancellor
    Reviewed-by: Nick Desaulniers
    Signed-off-by: Masahiro Yamada

    Nathan Chancellor