aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.tgt
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2008-04-15 05:16:51 +0000
committerDavid S. Miller <davem@redhat.com>2008-04-15 05:16:51 +0000
commitf5314dd53d7007f2f04c12661c71512cfa292c9d (patch)
treec62da51ebebd73b3e06ce1759ef1b9d3febed549 /gold/configure.tgt
parent0297aed676b5ec1c7cd9d2085cd4a00b8673392b (diff)
downloadgdb-f5314dd53d7007f2f04c12661c71512cfa292c9d.zip
gdb-f5314dd53d7007f2f04c12661c71512cfa292c9d.tar.gz
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.tgt')
-rw-r--r--gold/configure.tgt26
1 files changed, 22 insertions, 4 deletions
diff --git a/gold/configure.tgt b/gold/configure.tgt
index 93615aa..967db56 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -29,10 +29,12 @@
# canonicalized GNU configuration triplet. It sets the following
# shell variables:
-# targ_obj object file to include in the link, with no extension
-# targ_machine ELF machine code for this target
-# targ_size size of this target--32 or 64
-# targ_big_endian whether the target is big-endian--true or false
+# targ_obj object file to include in the link, with no extension
+# targ_machine ELF machine code for this target
+# targ_size size of this target--32 or 64
+# targ_extra_size extra targ_size setting for the target
+# targ_big_endian whether the target is big-endian--true or false
+# targ_extra_big_endian extra targ_big_endian setting for the target
# If the target is not recognized targ_obj is set to "UNKNOWN".
@@ -49,6 +51,22 @@ x86_64*)
targ_size=64
targ_big_endian=false
;;
+sparc-*)
+ targ_obj=sparc
+ targ_machine=EM_SPARC
+ targ_size=32
+ targ_extra_size=64
+ targ_big_endian=true
+ targ_extra_big_endian=false
+ ;;
+sparc64-*)
+ targ_obj=sparc
+ targ_machine=EM_SPARCV9
+ targ_size=64
+ targ_extra_size=32
+ targ_big_endian=true
+ targ_extra_big_endian=false
+ ;;
*)
targ_obj=UNKNOWN
;;