Re: [PATCH] Fix ld-version.sh to handle large 3rd version part

2015-12-27 Thread Andi Kleen
On Sat, Dec 26, 2015 at 10:47:52PM +, James Hogan wrote: > The ld-version.sh script doesn't handle versions with large (>= 10) 3rd > version components, because the 2nd component is only multiplied by 10 > times that of the 3rd component. > > For example the following version string: > GNU ld

Re: [PATCH] Fix ld-version.sh to handle large 3rd version part

2015-12-27 Thread Guenter Roeck
On Sat, Dec 26, 2015 at 10:47:52PM +, James Hogan wrote: > The ld-version.sh script doesn't handle versions with large (>= 10) 3rd > version components, because the 2nd component is only multiplied by 10 > times that of the 3rd component. > > For example the following version string: > GNU ld

[PATCH] Fix ld-version.sh to handle large 3rd version part

2015-12-26 Thread James Hogan
The ld-version.sh script doesn't handle versions with large (>= 10) 3rd version components, because the 2nd component is only multiplied by 10 times that of the 3rd component. For example the following version string: GNU ld (Codescape GNU Tools 2015.06-05 for MIPS MTI Linux) 2.24.90 gives a bogu