Sign in
fuchsia
/
third_party
/
binutils-gdb
/
2e4c6e84f13a22844c59708990e53a337ad60c0e
/
.
/
ld
/
emulparams
/
arc-endianness.sh
blob: 7a66deede30352565086b075e37b4b0637a4b5d0 [
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