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

Ojaswin Mujoo ojaswin at linux.ibm.com
Wed Jan 4 18:03:07 AEDT 2023


On Tue, Jan 03, 2023 at 04:32:18PM +0100, Andreas Schwab wrote:
> 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).
> 
I see, in that case I agree that we can strip out the date part and
treat it as x.y.0. 

I'll wait a bit to see if there are any other comments and then send out
a v2.

Thanks,
ojaswin
> -- 
> 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