aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-04-25 13:22:52 +0000
committerAlan Modra <amodra@gmail.com>2013-04-25 13:22:52 +0000
commit49926cd0c84887c581110fb2a471b21ff19048d2 (patch)
treefb156663c8852d8df60fe238414df2f614b10aea /gold
parentc65e009ff7057cbf2261bb1f8d0c2e2361b9f045 (diff)
downloadgdb-49926cd0c84887c581110fb2a471b21ff19048d2.zip
gdb-49926cd0c84887c581110fb2a471b21ff19048d2.tar.gz
gdb-49926cd0c84887c581110fb2a471b21ff19048d2.tar.bz2
bfd/
* config.bfd: Add powerpc64le-linux. gas/ * configure.in: Allow little-endian linux. * configure: Regenerate. gold/ * configure.tgt: Add powerpcle and powerpc64le. ld/ * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c. (eelf32lppclinux.c): New rule. * Makefile.in: Regenerate. * configure.tgt: Merge powerpc-linux and other powerpc-elf targets with corresponding little-endian targets. * emulparams/elf32lppc.sh: Update comment. * emulparams/elf32lppclinux.sh: New.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/configure.tgt16
2 files changed, 20 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 67d7571..9fd5ded 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-25 Alan Modra <amodra@gmail.com>
+
+ * configure.tgt: Add powerpcle and powerpc64le.
+
2013-04-22 Alan Modra <amodra@gmail.com>
PR gold/15355
diff --git a/gold/configure.tgt b/gold/configure.tgt
index 504de2f..d61647e 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -104,6 +104,14 @@ powerpc-*)
targ_big_endian=true
targ_extra_big_endian=false
;;
+powerpcle-*)
+ targ_obj=powerpc
+ targ_machine=EM_PPC
+ targ_size=32
+ targ_extra_size=64
+ targ_big_endian=false
+ targ_extra_big_endian=true
+ ;;
powerpc64-*)
targ_obj=powerpc
targ_machine=EM_PPC64
@@ -112,6 +120,14 @@ powerpc64-*)
targ_big_endian=true
targ_extra_big_endian=false
;;
+powerpc64le-*)
+ targ_obj=powerpc
+ targ_machine=EM_PPC64
+ targ_size=64
+ targ_extra_size=32
+ targ_big_endian=false
+ targ_extra_big_endian=true
+ ;;
armeb*-*-*|armbe*-*-*)
targ_obj=arm
targ_extra_obj=arm-reloc-property