Re: [PATCH] ld-version: Drop the 4th and 5th version components

From: Michal Marek
Date: Thu Feb 11 2016 - 10:53:24 EST


On 2016-02-11 15:25, Maciej W. Rozycki wrote:
> ... making upstream development binutils snapshots work as expected,
> e.g.:
>
> $ mips64el-linux-ld --version
> GNU ld (GNU Binutils) 2.20.1.20100303
> [...]
> $
>
> Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxx>

fwiw, Acked-by: Michal Marek <mmarek@xxxxxxx>


> NB comments in scripts/Kbuild.include around `ld-version' have not been
> accordingly updated in the course of changes made to `ld-version.sh' and
> they still need such an update, unless we right-shift the version code
> calculated back by 4 decimal digits, which I hesitated doing here for
> simplicity. What was the original reason to add the 4th and 5th
> components?

No idea, but I don't think we will ever need this level of detail. So
yes, the script and its only in-tree user could be updated to divide the
numbers by 10000.

Michal