https://github.com/torvalds/linux
Raw File
Tip revision: 394aeaf6d35dd9202c9d12875fafcdeeb6ea40e4 authored by Dinu-pixel on 23 October 2019, 09:55:24 UTC
Update README
Tip revision: 394aeaf
ld-version.sh
#!/usr/bin/awk -f
# SPDX-License-Identifier: GPL-2.0
# extract linker version number from stdin and turn into single number
	{
	gsub(".*\\)", "");
	gsub(".*version ", "");
	gsub("-.*", "");
	split($1,a, ".");
	print a[1]*100000000 + a[2]*1000000 + a[3]*10000;
	exit
	}
back to top