diff options
author | David S. Miller <davem@redhat.com> | 2008-04-15 05:16:51 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2008-04-15 05:16:51 +0000 |
commit | f5314dd53d7007f2f04c12661c71512cfa292c9d (patch) | |
tree | c62da51ebebd73b3e06ce1759ef1b9d3febed549 /gold/configure.ac | |
parent | 0297aed676b5ec1c7cd9d2085cd4a00b8673392b (diff) | |
download | fsf-binutils-gdb-f5314dd53d7007f2f04c12661c71512cfa292c9d.zip fsf-binutils-gdb-f5314dd53d7007f2f04c12661c71512cfa292c9d.tar.gz fsf-binutils-gdb-f5314dd53d7007f2f04c12661c71512cfa292c9d.tar.bz2 |
toplevel/
* configure.ac: Add sparc*-*-* to gold supported targets.
* configure: Regenerate.
gold/
* sparc.cc: New file.
* Makefile.am (TARGETSOURCES): Add sparc.cc
(ALL_TARGETOBJS): Add sparc.$(OBJEXT)
* configure.tgt: Document targ_extra_size and
targ_extra_big_endian. Add entries for sparc-* and
sparc64-*.
* configure.ac: Handle targ_extra_size and
targ_extra_big_endian.
* Makefile.in: Rebuild.
* configure: Likewise.
* po/POTFILES.in: Likewise.
* po/gold.pot: Likewise.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r-- | gold/configure.ac | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/gold/configure.ac b/gold/configure.ac index dd9ad8a..793784e 100644 --- a/gold/configure.ac +++ b/gold/configure.ac @@ -107,24 +107,25 @@ for targ in $target $canon_targets; do AC_MSG_ERROR("unsupported target $targ") else targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)" - if test "$targ_size" = "32"; then - if test "$targ_big_endian" = "false"; then - targ_32_little=yes - elif test "$targ_big_endian" = "true"; then - targ_32_big=yes - else - AC_MSG_ERROR("bad configure.tgt endian $targ_big_endian") - fi - elif test "$targ_size" = "64"; then - if test "$targ_big_endian" = "false"; then - targ_64_little=yes - elif test "$targ_big_endian" = "true"; then - targ_64_big=yes - else - AC_MSG_ERROR("bad configure.tgt endian $targ_big_endian") - fi - else - AC_MSG_ERROR("bad configure.tgt size $targ_size") + if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then + if test "$targ_big_endian" = "true" \ + -o "$targ_extra_big_endian" = "true"; then + targ_32_big=yes + fi + if test "$targ_big_endian" = "false" \ + -o "$targ_extra_big_endian" = "false"; then + targ_32_little=yes + fi + fi + if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then + if test "$targ_big_endian" = "true" \ + -o "$targ_extra_big_endian" = "true"; then + targ_64_big=yes + fi + if test "$targ_big_endian" = "false" \ + -o "$targ_extra_big_endian" = "false"; then + targ_64_little=yes + fi fi if test "$target" = "$targ"; then |