diff options
author | YunQiang Su <yunqiang.su@cipunited.com> | 2023-08-27 21:38:13 -0400 |
---|---|---|
committer | YunQiang Su <yunqiang.su@cipunited.com> | 2023-08-27 23:43:29 -0400 |
commit | cf8565fb2ea42579c50722cbaeafdf71c3d58c66 (patch) | |
tree | c719b1193fc4f7a9b3d8180dddfd9688627ea3fb /gold/configure | |
parent | 8b075babf55dec7a00f7b33c9dff012f7e767a6b (diff) | |
download | fsf-binutils-gdb-cf8565fb2ea42579c50722cbaeafdf71c3d58c66.zip fsf-binutils-gdb-cf8565fb2ea42579c50722cbaeafdf71c3d58c66.tar.gz fsf-binutils-gdb-cf8565fb2ea42579c50722cbaeafdf71c3d58c66.tar.bz2 |
Gold: Add targ_extra_little_endian to configure.ac
This option will be used by architectures which is big endian
by default, while little-endian support is also needed.
Mips(eb) ports are the examples.
Diffstat (limited to 'gold/configure')
-rwxr-xr-x | gold/configure | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/configure b/gold/configure index 5c6fe2a..ccb1f22 100755 --- a/gold/configure +++ b/gold/configure @@ -5266,6 +5266,10 @@ for targ in $target $canon_targets; do -o "$targ_extra_big_endian" = "true"; then targ_32_big=yes fi + if test "$targ_little_endian" = "true" \ + -o "$targ_extra_little_endian" = "true"; then + targ_32_little=yes + fi if test "$targ_big_endian" = "false" \ -o "$targ_extra_big_endian" = "false"; then targ_32_little=yes @@ -5276,6 +5280,10 @@ for targ in $target $canon_targets; do -o "$targ_extra_big_endian" = "true"; then targ_64_big=yes fi + if test "$targ_little_endian" = "true" \ + -o "$targ_extra_little_endian" = "true"; then + targ_64_little=yes + fi if test "$targ_big_endian" = "false" \ -o "$targ_extra_big_endian" = "false"; then targ_64_little=yes |