aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.tgt
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2008-06-12 17:02:17 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>2008-06-12 17:02:17 +0000
commit42cacb20eda4f660223eba0739fcb6820bab65a4 (patch)
tree258dabf090dc1d9597d34af7080cc5659fd36302 /gold/configure.tgt
parent8da8e50a53177b4b6cd0818bdf581db02c3fb74b (diff)
downloadgdb-42cacb20eda4f660223eba0739fcb6820bab65a4.zip
gdb-42cacb20eda4f660223eba0739fcb6820bab65a4.tar.gz
gdb-42cacb20eda4f660223eba0739fcb6820bab65a4.tar.bz2
2008-06-12 David Edelsohn <edelsohn@gnu.org>
David S. Miller <davem@davemloft.net> * powerpc.cc: New file. * Makefile.am (TARGETSOURCES): Add powerpc.cc (ALL_TARGETOBJS): Add powerpc.$(OBJEXT) * configure.tgt: Add entries for powerpc-* and powerpc64-*. * Makefile.in: Rebuild.
Diffstat (limited to 'gold/configure.tgt')
-rw-r--r--gold/configure.tgt16
1 files changed, 16 insertions, 0 deletions
diff --git a/gold/configure.tgt b/gold/configure.tgt
index 70427d5..6bf49bc 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -76,6 +76,22 @@ sparc64-*)
targ_big_endian=true
targ_extra_big_endian=false
;;
+powerpc-*)
+ targ_obj=powerpc
+ targ_machine=EM_PPC
+ targ_size=32
+ targ_extra_size=64
+ targ_big_endian=true
+ targ_extra_big_endian=false
+ ;;
+powerpc64-*)
+ targ_obj=ppc64
+ targ_machine=EM_PPC64
+ targ_size=64
+ targ_extra_size=32
+ targ_big_endian=true
+ targ_extra_big_endian=false
+ ;;
*)
targ_obj=UNKNOWN
;;