Searched refs:archstring (Results 1 – 2 of 2) sorted by relevance
43 archstring=""51 archstring=$(readelf --arch-specific "$elf" | grep "Value: rv" | cut -d: -f2)53 archstring=$(readelf --arch-specific "$elf" | grep Tag_RISCV_arch | cut -d: -f2 | tr -d '"')56 if [ -z "$archstring" ]; then60 if [ "${archstring#*rv64}" != "$archstring" ]; then63 elif [ "${archstring#*rv32}" != "$archstring" ]; then67 echo "Unknown architecture for $elf: $archstring" >&273 test "${archstring#*_m}" != "$archstring" && options="$options m"74 test "${archstring#*_a}" != "$archstring" && options="$options a"75 test "${archstring#*_f}" != "$archstring" && options="$options f"[all …]
41 archstring=""49 archstring=$("$readelf" --arch-specific "$elf" | grep "Value: rv" | cut -d: -f2)51 … archstring=$("$readelf" --arch-specific "$elf" | grep Tag_ARC_CPU_name | cut -d: -f2 | tr -d '" ')54 if [ -z "$archstring" ]; then59 cpu=$archstring