[PATCH] x86: restrict gas'es recognition of -s to Solaris
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Thu Nov 21 12:51:52 GMT 2024
Hi Jan,
> When there for Solaris compatibility only, also recognize it only there.
> This way the option becomes available for other possible uses.
I wonder if this is the best possible way to handle this:
* -s is only present for Solaris as compatiblity. At least gcc doesn't
use it at all.
* Besides, gcc has done away with Stabs and gdb is following suite (or
has already), so Stabs become increasingly irrelevant.
* Keeping the (effectively unused) option on Solaris, but using it for
something else would mean that `something else' isn't available on
Solaris. Just a guarantee for user confusion, I believe.
In short, I wonder if it wouldn't be better to just reject -s everywhere
instead.
WDYT?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Binutils
mailing list