Index: head/contrib/llvm/projects/libunwind/src/UnwindRegistersRestore.S =================================================================== --- head/contrib/llvm/projects/libunwind/src/UnwindRegistersRestore.S +++ head/contrib/llvm/projects/libunwind/src/UnwindRegistersRestore.S @@ -527,3 +527,5 @@ ret // jump to ra #endif + + .section .note.GNU-stack,"",@progbits Index: head/contrib/llvm/projects/libunwind/src/UnwindRegistersSave.S =================================================================== --- head/contrib/llvm/projects/libunwind/src/UnwindRegistersSave.S +++ head/contrib/llvm/projects/libunwind/src/UnwindRegistersSave.S @@ -469,3 +469,5 @@ /* RISCVTODO */ #endif + + .section .note.GNU-stack,"",@progbits