Restartable sequences: self-tests
[deliverable/linux.git] / scripts / ld-version.sh
CommitLineData
ccbef167
AK
1#!/usr/bin/awk -f
2# extract linker version number from stdin and turn into single number
3 {
4b7b1ef2 4 gsub(".*\\)", "");
8083013f
MT
5 gsub(".*version ", "");
6 gsub("-.*", "");
ccbef167 7 split($1,a, ".");
0d61ed17 8 print a[1]*100000000 + a[2]*1000000 + a[3]*10000;
ccbef167
AK
9 exit
10 }
This page took 0.113092 seconds and 5 git commands to generate.