Sign in
gnu
/
binutils-gdb
/
777b054cf93ad2525b891ea15bbf8d5cd6a56339
/
.
/
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