Sign in
gnu
/
binutils-gdb
/
bcf43b33cfd3a8415bf272a3ca1af04ec8b9d622
/
.
/
ld
/
emulparams
/
arc-endianness.sh
blob: 9b716bf136b441204461cc196bd610d95af6c5cf [
file
]
# 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"
;;
esac