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

2023-01-03 Thread Ojaswin Mujoo
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 [mmdd]. As an approximation, discard the dd and > > parts and keep the mm part in the versio

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

2023-01-03 Thread Andreas Schwab
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 [mmdd]. As an approximation, discard the dd and > parts and keep the mm part in the version. I don't think any part of the date should be mixed into the computed v