Index: clang/lib/Driver/ToolChains/Fuchsia.cpp =================================================================== --- clang/lib/Driver/ToolChains/Fuchsia.cpp +++ clang/lib/Driver/ToolChains/Fuchsia.cpp @@ -90,6 +90,7 @@ std::string CPU = getCPUName(D, Args, Triple); if (CPU.empty() || CPU == "generic" || CPU == "cortex-a53") CmdArgs.push_back("--fix-cortex-a53-843419"); + CmdArgs.push_back("--execute-only"); } CmdArgs.push_back("--eh-frame-hdr"); Index: clang/test/Driver/fuchsia.c =================================================================== --- clang/test/Driver/fuchsia.c +++ clang/test/Driver/fuchsia.c @@ -41,7 +41,7 @@ // CHECK: "-pie" // CHECK: "--build-id" // CHECK: "--hash-style=gnu" -// CHECK-AARCH64: "--fix-cortex-a53-843419" +// CHECK-AARCH64: "--fix-cortex-a53-843419" "--execute-only" // CHECK: "-dynamic-linker" "ld.so.1" // CHECK-RISCV64: "-X" // CHECK: Scrt1.o