Revert "Set .llvmbc and .llvmcmd sections as allocatable"
This commit is contained in:
parent
7bade6ef73
commit
6640a62e0e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue