Skip to content

Commit

Permalink
Revert "Set .llvmbc and .llvmcmd sections as allocatable"
Browse files Browse the repository at this point in the history
  • Loading branch information
tmandry authored Oct 23, 2020
1 parent 7bade6e commit 6640a62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_codegen_llvm/src/back/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -936,8 +936,8 @@ unsafe fn embed_bitcode(
llvm::LLVMRustAppendModuleInlineAsm(llmod, asm.as_ptr().cast(), asm.len());
} else {
let asm = "
.section .llvmbc,\"a\"
.section .llvmcmd,\"a\"
.section .llvmbc,\"e\"
.section .llvmcmd,\"e\"
";
llvm::LLVMRustAppendModuleInlineAsm(llmod, asm.as_ptr().cast(), asm.len());
}
Expand Down

0 comments on commit 6640a62

Please sign in to comment.