diff options
| author | bors <bors@rust-lang.org> | 2021-09-20 07:21:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-09-20 07:21:05 +0000 |
| commit | db1fb85cff63ad5fffe435e17128f99f9e1d970c (patch) | |
| tree | ca06ae6710ea86d1f428d321a0cafaa5f2dbf083 /compiler/rustc_llvm/src/lib.rs | |
| parent | e71925aab9e28ce35363e3fdef27ca011ac6a1dc (diff) | |
| parent | 5d22b1afe2ff3adb9903cb71ff386828c16fd805 (diff) | |
| download | rust-db1fb85cff63ad5fffe435e17128f99f9e1d970c.tar.gz rust-db1fb85cff63ad5fffe435e17128f99f9e1d970c.zip | |
Auto merge of #88321 - glaubitz:m68k-linux, r=wesleywiser
Add initial support for m68k This patch series adds initial support for m68k making use of the new M68k backend introduced with LLVM-13. Additional changes will be needed to be able to actually use the backend for this target.
Diffstat (limited to 'compiler/rustc_llvm/src/lib.rs')
| -rw-r--r-- | compiler/rustc_llvm/src/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/src/lib.rs b/compiler/rustc_llvm/src/lib.rs index 122627eb500..2f199989d3b 100644 --- a/compiler/rustc_llvm/src/lib.rs +++ b/compiler/rustc_llvm/src/lib.rs @@ -91,6 +91,14 @@ pub fn initialize_available_targets() { LLVMInitializeAVRAsmParser ); init_target!( + llvm_component = "m68k", + LLVMInitializeM68kTargetInfo, + LLVMInitializeM68kTarget, + LLVMInitializeM68kTargetMC, + LLVMInitializeM68kAsmPrinter, + LLVMInitializeM68kAsmParser + ); + init_target!( llvm_component = "mips", LLVMInitializeMipsTargetInfo, LLVMInitializeMipsTarget, |
