Rollup merge of #78307 - rust-lang:revert-77961-embed-bitcode, r=tmandry
Revert "Set .llvmbc and .llvmcmd sections as allocatable" Reverts rust-lang/rust#77961, see discussion starting from https://github.com/rust-lang/rust/pull/77961#issuecomment-712313902
This commit is contained in:
commit
1ac137be93
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user