|
@@ -403,6 +403,10 @@ def rust_gen_target(d, thing, wd, arch):
|
|
tspec['llvm-abiname'] = d.getVar('TUNE_RISCV_ABI')
|
|
tspec['llvm-abiname'] = d.getVar('TUNE_RISCV_ABI')
|
|
if "loongarch64" in tspec['llvm-target']:
|
|
if "loongarch64" in tspec['llvm-target']:
|
|
tspec['llvm-abiname'] = "lp64d"
|
|
tspec['llvm-abiname'] = "lp64d"
|
|
|
|
+ if "powerpc64le" in tspec['llvm-target']:
|
|
|
|
+ tspec['llvm-abiname'] = "elfv2"
|
|
|
|
+ if "powerpc64" in tspec['llvm-target']:
|
|
|
|
+ tspec['llvm-abiname'] = "elfv1"
|
|
tspec['vendor'] = "unknown"
|
|
tspec['vendor'] = "unknown"
|
|
tspec['target-family'] = "unix"
|
|
tspec['target-family'] = "unix"
|
|
tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix)
|
|
tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix)
|