We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b80eaa commit 1d14f7aCopy full SHA for 1d14f7a
arm/TargetPrinter.ml
@@ -579,7 +579,12 @@ struct
579
| _ -> "armv7");
580
fprintf oc " .fpu %s\n"
581
(if Opt.vfpv3 then "vfpv3-d16" else "vfpv2");
582
- fprintf oc " .%s\n" (if !Clflags.option_mthumb then "thumb" else "arm");
+ fprintf oc " .eabi_attribute Tag_ABI_VFP_args, %d\n"
583
+ (match Configuration.abi with
584
+ | "hardfloat" -> 1
585
+ | _ -> 0);
586
+ fprintf oc " .%s\n"
587
+ (if !Clflags.option_mthumb then "thumb" else "arm");
588
if !Clflags.option_g then begin
589
section oc Section_text;
590
cfi_section oc
0 commit comments