[PATCH 2.4] scripts: Support output of new ld
From: Joshua Kwan
Date: Sat Sep 18 2004 - 01:59:25 EST
Hello,
This is one in a handful of small patches that I'll be sending along in
the near future. This patch allows scripts/ver_linux to find out the ld
version for versions of ld that have different output on 'ld -v' (new
ones have "GNU" at the beginning.)
Marcelo, please apply.
Signed-off-by: Joshua Kwan <joshk@xxxxxxxxxxxxxxx>
--
Joshua Kwan
--- a/scripts/ver_linux 2004-09-05 01:31:23.000000000 -0700
+++ b/scripts/ver_linux 2004-09-05 01:31:47.000000000 -0700
@@ -22,7 +22,8 @@
'/GNU Make/{print "Gnu make ",$NF}'
ld -v 2>&1 | awk -F\) '{print $1}' | awk \
- '/BFD/{print "binutils ",$NF}'
+ '/BFD/{print "binutils ",$NF}
+ /^GNU/{print "binutils ",$4}'
fdformat --version | awk -F\- '{print "util-linux ", $NF}'
Attachment:
signature.asc
Description: Digital signature