Sign in
gnu
/
binutils-gdb
/
38b03d23c7c7e6a9f8f27a9899fd0a84587c379e
/
.
/
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