https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124547
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 63965 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63965&action=edit gcc16-pr124547-2.patch Untested patch for the rest. Instead of moving those hunks earlier, this just uses gas or gnu_ld instead of the _flag suffixed ones after the . config.gcc. config.gcc starts with gas="$gas_flag" gnu_ld="$gnu_ld_flag" and then only on some targets has gas=yes and/or gnu_ld=yes and some x$gas = xyes (or ditto with gnu_ld or != instead of =). So I think this patch best keeps the desired behavior.
