Lines Matching +full:fedora +full:- +full:release
2 # SPDX-License-Identifier: GPL-2.0
4 # Print the linker name and its version in a 5 or 6-digit form.
7 set -e
9 # Convert the version string x.y.z to a canonical 5 or 6-digit form.
13 set -- $1
19 echo $((10000 * $1 + 100 * ${2:-0} + ${3:-0}))
24 # Get the first line of the --version output.
27 set -- $(LC_ALL=C "$@" --version)
31 set -- $1
33 min_tool_version=$(dirname $0)/min-tool-version.sh
35 if [ "$1" = GNU -a "$2" = ld ]; then
36 shift $(($# - 1))
41 elif [ "$1" = GNU -a "$2" = gold ]; then
45 while [ $# -gt 1 -a "$1" != "LLD" ]; do
61 # release number (like Fedora's "2.34-4.fc32") or punctuation (like LLD briefly
64 version=${version%%[!0-9.]*}
69 if [ "$cversion" -lt "$min_cversion" ]; then