@@ -2602,8 +2602,6 @@ static void CollectArgsForIntegratedAssembler(Compilation &C,
26022602 bool Crel = false , ExperimentalCrel = false ;
26032603 bool ImplicitMapSyms = false ;
26042604 bool UseRelaxRelocations = C.getDefaultToolChain ().useRelaxRelocations ();
2605- bool UseAPXRelaxRelocations =
2606- C.getDefaultToolChain ().useAPXRelaxRelocations ();
26072605 bool UseNoExecStack = false ;
26082606 bool Msa = false ;
26092607 const char *MipsTargetFeature = nullptr ;
@@ -2665,12 +2663,6 @@ static void CollectArgsForIntegratedAssembler(Compilation &C,
26652663 checkArg (IsELF, {" yes" , " no" });
26662664 continue ;
26672665 }
2668- if (Equal.first == " -mapx-relax-relocations" ||
2669- Equal.first == " --mapx-relax-relocations" ) {
2670- UseAPXRelaxRelocations = Equal.second == " yes" ;
2671- checkArg (IsELF, {" yes" , " no" });
2672- continue ;
2673- }
26742666 if (Value == " -msse2avx" ) {
26752667 CmdArgs.push_back (" -msse2avx" );
26762668 continue ;
@@ -2882,8 +2874,6 @@ static void CollectArgsForIntegratedAssembler(Compilation &C,
28822874 CmdArgs.push_back (" -mmsa" );
28832875 if (!UseRelaxRelocations)
28842876 CmdArgs.push_back (" -mrelax-relocations=no" );
2885- if (UseAPXRelaxRelocations)
2886- CmdArgs.push_back (" -mapx-relax-relocations=yes" );
28872877 if (UseNoExecStack)
28882878 CmdArgs.push_back (" -mnoexecstack" );
28892879 if (MipsTargetFeature != nullptr ) {
0 commit comments