projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69ca2b8
)
ld-version: Drop the 4th and 5th version components
author
Maciej W. Rozycki
<
[email protected]
>
Thu, 11 Feb 2016 14:25:43 +0000
(14:25 +0000)
committer
Ralf Baechle
<
[email protected]
>
Fri, 13 May 2016 12:02:05 +0000
(14:02 +0200)
... 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: Maciej W. Rozycki <
[email protected]
>
Acked-by: Michal Marek <
[email protected]
>
Cc: Michael S. Tsirkin <
[email protected]
>
Cc: James Hogan <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12537/
Signed-off-by: Ralf Baechle <
[email protected]
>
scripts/ld-version.sh
patch
|
blob
|
history
diff --git
a/scripts/ld-version.sh
b/scripts/ld-version.sh
index 7bfe9fa1c8dc6db8d6c4415fbf0d26e66477e42e..d135882e2c40936753c0dc7ffb0362d95532d2c3 100755
(executable)
--- a/
scripts/ld-version.sh
+++ b/
scripts/ld-version.sh
@@
-5,6
+5,6
@@
gsub(".*version ", "");
gsub("-.*", "");
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
}