================ @@ -4516,9 +4516,9 @@ def fno_direct_access_external_data : Flag<["-"], "fno-direct-access-external-da HelpText<"Use GOT indirection to reference external data symbols">; defm plt : BoolFOption<"plt", CodeGenOpts<"NoPLT">, DefaultFalse, - NegFlag<SetTrue, [], [ClangOption, CC1Option], - "Use GOT indirection instead of PLT to make external function calls (x86 only)">, - PosFlag<SetFalse>>; + NegFlag<SetTrue, [], [ClangOption, CC1Option, FlangOption, FC1Option], + "Use GOT indirection instead of PLT to make external function calls (x86 and AArch64 only)">, + PosFlag<SetFalse, [], [ClangOption, CC1Option, FlangOption, FC1Option]>>; ---------------- eugeneepshteyn wrote:
flang needs only `FlangOption, FC1Option` on `-fplt`. Adding `CC1Option` changes clang too: `clang -cc1 -fplt` is accepted now, where it used to be an unknown argument. https://github.com/llvm/llvm-project/pull/235622 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
