aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-04-25 10:27:16 +0930
committerAlan Modra <amodra@gcc.gnu.org>2013-04-25 10:27:16 +0930
commitb9a7eb5db359083cf873210e5e525677c583f75a (patch)
tree655ced866b891c8b722de3e93c488c9a3492bc31 /libgcc
parent87f7337481faf2ad038847155a0cb4fa6872dc77 (diff)
downloadgcc-b9a7eb5db359083cf873210e5e525677c583f75a.zip
gcc-b9a7eb5db359083cf873210e5e525677c583f75a.tar.gz
gcc-b9a7eb5db359083cf873210e5e525677c583f75a.tar.bz2
config.host: Match little-endian powerpc-linux.
libgcc/ * config.host: Match little-endian powerpc-linux. gcc/ * config.gcc: Support little-endian powerpc-linux targets. * config/rs6000/linux.h (LINK_OS_LINUX_EMUL): Define. (LINK_OS_LINUX_SPEC): Define. * config/rs6000/linuxspe.h (TARGET_DEFAULT): Preserve MASK_LITTLE_ENDIAN. * config/rs6000/default64.h (TARGET_DEFAULT): Likewise. * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Likewise. * config/rs6000/linux64.h (OPTION_LITTLE_ENDIAN): Don't zero. (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Define. (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Use above. * config/rs6000/rs6000.c (output_toc): Don't use .tc for TARGET_ELF. Correct fp word order for little-endian. Don't shift toc entries smaller than a word for little-endian. * config/rs6000/rs6000.md (bswaphi2, bswapsi2 split): Comment. (bswapdi2 splits): Correct low-part subreg for little-endian. Remove wrong BYTES_BIG_ENDIAN tests, and rename vars to remove low/high where such is correct only for be. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Allow little-endian for -mcall-aixdesc. From-SVN: r198273
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/config.host2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index dbbd902..d6a3c83 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-25 Alan Modra <amodra@gmail.com>
+
+ * config.host: Match little-endian powerpc-linux.
+
2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
* config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
diff --git a/libgcc/config.host b/libgcc/config.host
index 4f1a5bd..5e0f5ce 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -882,7 +882,7 @@ powerpc-*-rtems*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
;;
-powerpc-*-linux* | powerpc64-*-linux*)
+powerpc*-*-linux*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-softfp-sfdf t-softfp-excl t-dfprules rs6000/t-ppc64-fp t-softfp t-slibgcc-libgcc"
extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o"
md_unwind_header=rs6000/linux-unwind.h