Skip to content

Commit 1ac137b

Browse files
Rollup merge of #78307 - rust-lang:revert-77961-embed-bitcode, r=tmandry
Revert "Set .llvmbc and .llvmcmd sections as allocatable" Reverts #77961, see discussion starting from #77961 (comment)
2 parents da48646 + 6640a62 commit 1ac137b

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_codegen_llvm/src/back

1 file changed

+2
-2
lines changed

Diff for: compiler/rustc_codegen_llvm/src/back/write.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -936,8 +936,8 @@ unsafe fn embed_bitcode(
936936
llvm::LLVMRustAppendModuleInlineAsm(llmod, asm.as_ptr().cast(), asm.len());
937937
} else {
938938
let asm = "
939-
.section .llvmbc,\"a\"
940-
.section .llvmcmd,\"a\"
939+
.section .llvmbc,\"e\"
940+
.section .llvmcmd,\"e\"
941941
";
942942
llvm::LLVMRustAppendModuleInlineAsm(llmod, asm.as_ptr().cast(), asm.len());
943943
}

0 commit comments

Comments
 (0)