rs6000: Add support for powerpc64le-unknown-freebsd
authorPiotr Kubaj <pkubaj@FreeBSD.org>
Wed, 16 Dec 2020 22:26:18 +0000 (22:26 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Wed, 16 Dec 2020 22:54:51 +0000 (22:54 +0000)
commit2a4183234a45ba28db5ce16cf3ccdd70cdef3b7c
tree8d401a4130cb1f83378eab28e461727862a7831f
parente38c912700f001ea1c8a32533bedb4c802e38d3f
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.
gcc/config.gcc
gcc/config/rs6000/freebsd64.h
gcc/configure
gcc/configure.ac