RFC: Should the linker support '--fast' and if so, what should it do ?
Jan Beulich
jbeulich@suse.com
Thu Apr 9 09:09:52 GMT 2026
On 09.04.2026 11:03, Nick Clifton wrote:
> OK, attached is version 3 of the patch. It adds "-O default" as means
> to reset the optimization behaviour back to the default, and just for
> completeness it also adds "-O fast" as an alias for "-O 0".
May I suggest s/fast/quick/ or some such, to avoid ambiguity with "optimize
for speed" (of the output executable)?
Apart from that I expect it was deliberate to not further harden that part
of command line option handling (as per the previously indicated weaknesses)?
If so, I'll try to remember to tidy that some afterwards.
Jan
More information about the Binutils
mailing list