swh:1:snp:c2847dfd741eae21606027cf29250d1ebcd63fb4
Raw File
Tip revision: 7089db84e356562f8ba737c29e472cc42d530dbc authored by Linus Torvalds on 12 February 2017, 21:03:20 UTC
Linux 4.10-rc8
Tip revision: 7089db8
ld-version.sh
#!/usr/bin/awk -f
# 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