[PATCH v2 2/3] gas: add a means to programmatically determine the assembler version
Michael Matz
matz@suse.de
Tue Jun 24 12:49:38 GMT 2025
Hello,
On Tue, 24 Jun 2025, Jan Beulich wrote:
> Are we happy with at most two decimal digits in minor and sub-minor
> version numbers, as BFD_VERSION has it?
I think we should be. Once the minor version digits run out in in 2052
(given two releases per year), maybe it's indeed time for bumping the
major version to 3 :-) (And hey, the major version has an unlimited
number of digits; not in a fixed-width representation of course, but
generally)
> The version2 test would certainly be nice to run for non-ELF as well,
> yet I can't seem to be able to think of a way to sensibly arrange for
> that (checking for the absence of any _other_ symbols).
If these were dg tests, one could use dg-bogus and dg-prune to do stuff,
but as dump tests I don't see one either.
Ciao,
Michael.
More information about the Binutils
mailing list