1
Fork 0

Add new target armv7-unknown-linux-uclibceabihf

Co-authored-by: Jonah Petri <jonah@petri.us>
This commit is contained in:
Yannick Koehler 2021-09-14 20:50:35 -04:00 committed by Jonah Petri
parent d7539a6af0
commit 11381a5a3a
9 changed files with 37 additions and 6 deletions

View file

@ -176,6 +176,7 @@ pub fn get_fn(cx: &CodegenCx<'ll, 'tcx>, instance: Instance<'tcx>) -> &'ll Value
if cx.use_dll_storage_attrs
&& tcx.is_dllimport_foreign_item(instance_def_id)
&& tcx.sess.target.env != "gnu"
&& tcx.sess.target.env != "uclibc"
{
llvm::LLVMSetDLLStorageClass(llfn, llvm::DLLStorageClass::DllImport);
}