mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
1a295c62e0
When building with --enable-targets=all the target string is not set to something that matches the pattern arc*-*, and so the script used to decide if we should build big or little endian linker script currently exits with an error. This commit makes little endian linker script be the default, which will be used when building for all targets, this matches the behaviour from before I made the endianness switchable, when we only ever built little endian linker scripts anyway. ld/ChangeLog: * emulparams/arc-endianness.sh: Make little endian default choice.
12 lines
290 B
Bash
12 lines
290 B
Bash
# 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
|