]>
Commit | Line | Data |
---|---|---|
598e2d33 | 1 | #!/usr/bin/awk -f |
b5142f28 | 2 | # SPDX-License-Identifier: GPL-2.0 |
598e2d33 MY |
3 | # extract linker version number from stdin and turn into single number |
4 | { | |
b5142f28 HS |
5 | gsub(".*\\)", ""); |
6 | gsub(".*version ", ""); | |
7 | gsub("-.*", ""); | |
598e2d33 | 8 | split($1,a, "."); |
b5142f28 | 9 | print a[1]*100000000 + a[2]*1000000 + a[3]*10000; |
598e2d33 MY |
10 | exit |
11 | } |