Arm64: simplify Crypto arch extension handling
[deliverable/binutils-gdb.git] / ld / emulparams / arc-endianness.sh
index 4d6158b84fc425188d4c7442ab8ef3e5ac873d70..9b716bf136b441204461cc196bd610d95af6c5cf 100644 (file)
@@ -1,10 +1,11 @@
+# Select an appropriate endinaness based on the value of target.  When
+# building for all targets we select little endian, which is what the
+# '*' pattern is for.
 case ${target} in
     arceb-*)
-        ARC_ENDIAN="big"
-        ;;
-    arc-*)
-        ARC_ENDIAN="little"
-        ;;
-    *)
-        exit 1
+       ARC_ENDIAN="big"
+       ;;
+    arc-* | * )
+       ARC_ENDIAN="little"
+       ;;
 esac
This page took 0.023058 seconds and 4 git commands to generate.