提交 0d61ed17 编写于 作者: M Maciej W. Rozycki 提交者: Ralf Baechle

ld-version: Drop the 4th and 5th version components

... making upstream development binutils snapshots work as expected,
e.g.:

$ mips64el-linux-ld --version
GNU ld (GNU Binutils) 2.20.1.20100303
[...]
$
Signed-off-by: NMaciej W. Rozycki <macro@imgtec.com>
Acked-by: NMichal Marek <mmarek@suse.cz>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-kbuild@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12537/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 69ca2b81
...@@ -5,6 +5,6 @@ ...@@ -5,6 +5,6 @@
gsub(".*version ", ""); gsub(".*version ", "");
gsub("-.*", ""); gsub("-.*", "");
split($1,a, "."); split($1,a, ".");
print a[1]*100000000 + a[2]*1000000 + a[3]*10000 + a[4]*100 + a[5]; print a[1]*100000000 + a[2]*1000000 + a[3]*10000;
exit exit
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册