Sign in
gnu
/
binutils-gdb
/
76b43c9b5c2b275cbf4f927bfc25984410cb5dd5
/
.
/
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