[PATCH] powerpc: Fix a wrong version calculation issue in ld_version

Andreas Schwab schwab at linux-m68k.org
Wed Jan 4 02:32:18 AEDT 2023


On Jan 03 2023, Ojaswin Mujoo wrote:

> If version is of the form x.y.z and length(z) == 8, then most probably
> it is a date [yyyymmdd]. As an approximation, discard the dd and yyyy
> parts and keep the mm part in the version.

I don't think any part of the date should be mixed into the computed
version.  It just means that it's a snapshot from after the 2.37
release, so it should be treated like 2.37 (no further releases has been
made from this branch).

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Linuxppc-dev mailing list