aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-12-16 22:26:18 +0000
committerSegher Boessenkool <segher@kernel.crashing.org>2020-12-16 22:54:51 +0000
commit2a4183234a45ba28db5ce16cf3ccdd70cdef3b7c (patch)
tree8d401a4130cb1f83378eab28e461727862a7831f /gcc/configure.ac
parente38c912700f001ea1c8a32533bedb4c802e38d3f (diff)
downloadgcc-2a4183234a45ba28db5ce16cf3ccdd70cdef3b7c.zip
gcc-2a4183234a45ba28db5ce16cf3ccdd70cdef3b7c.tar.gz
gcc-2a4183234a45ba28db5ce16cf3ccdd70cdef3b7c.tar.bz2
rs6000: Add support for powerpc64le-unknown-freebsd
This implements support for powerpc64le architecture on FreeBSD. Since we don't have powerpcle (32-bit), I did not add support for powerpcle here. This remains to be changed if there is powerpcle support in the future. 2020-12-15 Piotr Kubaj <pkubaj@FreeBSD.org> gcc/ * config.gcc (powerpc*le-*-freebsd*): Add. * configure.ac (powerpc*le-*-freebsd*): Ditto. * configure: Regenerate. * config/rs6000/freebsd64.h (ASM_SPEC_COMMON): Use ENDIAN_SELECT. (DEFAULT_ASM_ENDIAN): Add little endian support. (LINK_OS_FREEBSD_SPEC64): Ditto.
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 062f57f..ee982be 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6274,6 +6274,9 @@ case "$target:$tm_file" in
*-*-linux*)
emul_name="-melf64ppc"
;;
+ *le-*-freebsd*)
+ emul_name="-melf64lppc_fbsd"
+ ;;
*-*-freebsd*)
emul_name="-melf64ppc_fbsd"
;;