aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/mm/uffd-common.h
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2024-03-19 17:37:46 -0700
committerAndrew Morton <akpm@linux-foundation.org>2024-03-26 11:07:23 -0700
commit549aa9678a0b3981d4821bf244579d9937650562 (patch)
tree7cb14b0cca3861db9360c5c0a6f141717027b9a2 /tools/testing/selftests/mm/uffd-common.h
parent30af24facf0aed12dec23bdf6eac6a907f88306a (diff)
downloadlinux-549aa9678a0b3981d4821bf244579d9937650562.tar.gz
hexagon: vmlinux.lds.S: handle attributes section
After the linked LLVM change, the build fails with CONFIG_LD_ORPHAN_WARN_LEVEL="error", which happens with allmodconfig: ld.lld: error: vmlinux.a(init/main.o):(.hexagon.attributes) is being placed in '.hexagon.attributes' Handle the attributes section in a similar manner as arm and riscv by adding it after the primary ELF_DETAILS grouping in vmlinux.lds.S, which fixes the error. Link: https://lkml.kernel.org/r/20240319-hexagon-handle-attributes-section-vmlinux-lds-s-v1-1-59855dab8872@kernel.org Fixes: 113616ec5b64 ("hexagon: select ARCH_WANT_LD_ORPHAN_WARN") Link: https://github.com/llvm/llvm-project/commit/31f4b329c8234fab9afa59494d7f8bdaeaefeaad Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Brian Cain <bcain@quicinc.com> Cc: Bill Wendling <morbo@google.com> Cc: Justin Stitt <justinstitt@google.com> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/mm/uffd-common.h')
0 files changed, 0 insertions, 0 deletions