OSDN Git Service

[PATCH] scripts : ver_linux does not report recent binutils version
authorWilly TARREAU <willy@pcw.(none)>
Sun, 7 May 2006 19:53:31 +0000 (21:53 +0200)
committerWilly TARREAU <willy@pcw.(none)>
Sun, 7 May 2006 19:53:31 +0000 (21:53 +0200)
commit010896bc1ea1b8183dc0fbf6c4ec5fb6c86843d3
tree9b2fa4d5de9b718cedc589aeda368832a9d122f9
parent53767b06aebcfb9ee5255ceed4f41467f4734e8d
[PATCH] scripts : ver_linux does not report recent binutils version

The 'ver_linux' script expects 'ld' to output a line starting with
'BFD', while recent versions of 'ld' print 'GNU ld'. The effect is
that binutils version is not listed in reports based on ver_linux.

The following trivial fix makes it do the right thing as 2.6 does.
Initially reported by Joshua Kwan. Tested and works.

Signed-off-by: Willy Tarreau <willy@w.ods.org>
- Willy
scripts/ver_linux