mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS fixes from Ralf Baechle: "This is the final pull request for MIPS for 4.4. It fixes: - scripts/ld-version.sh parsing of ld version numbers that contain large numbers as components. - fix parsing of version numbers as used by Fedora's ld. Currently scripts/ld-version.sh is only being used by MIPS" [ This obviously missed 4.4, so getting merged now in the merge window for 4.5 instead ] * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: ld-version: Fix it on Fedora Fix ld-version.sh to handle large 3rd version part
This commit is contained in:
commit
c5c80bd923
2 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,9 @@
|
|||
# extract linker version number from stdin and turn into single number
|
||||
{
|
||||
gsub(".*)", "");
|
||||
gsub(".*version ", "");
|
||||
gsub("-.*", "");
|
||||
split($1,a, ".");
|
||||
print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5];
|
||||
print a[1]*100000000 + a[2]*1000000 + a[3]*10000 + a[4]*100 + a[5];
|
||||
exit
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue