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