diff options
author | Brandon Bergren <bdragon@FreeBSD.org> | 2020-10-06 09:19:23 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-10-06 17:09:27 +1030 |
commit | 6afcdeb3581e99e2d4ce06d0034c7c47292aeec1 (patch) | |
tree | 742611b296f94d1680d5d4b06e0872bad3935afd /ld/configure.tgt | |
parent | 0897537869c1b81955140ae4bd693e504ac05016 (diff) | |
download | gdb-6afcdeb3581e99e2d4ce06d0034c7c47292aeec1.zip gdb-6afcdeb3581e99e2d4ce06d0034c7c47292aeec1.tar.gz gdb-6afcdeb3581e99e2d4ce06d0034c7c47292aeec1.tar.bz2 |
PR26667, Add powerpc64le-*-freebsd* support
PR 26667
bfd/
* config.bfd: Add powerpc64le-*-freebsd*.
* configure.ac: Add powerpc_elf64_fbsd_le_vec.
* elf64-ppc.c (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Define for
freebsd.
* targets.c (powerpc_elf64_fbsd_le_vec): Declare.
(_bfd_target_vector): Add it.
* configure: Regenerate.
ld/
* Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64lppc_fbsd.c.
Include $(DEPDIR)/eelf64lppc_fbsd.Pc.
* configure.tgt: Add powerpc64le-*-freebsd*.
* emulparams/elf64lppc_fbsd.sh: New file.
* Makefile.in: Regenerate.
* po/BLD-POTFILES.in: Regenerate.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r-- | ld/configure.tgt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index 32f17d2..7035930 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -636,6 +636,10 @@ powerpc64-*-freebsd*) tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_fbsd=$tdir_elf32ppc ;; +powerpc64le-*-freebsd*) + targ_emul=elf64lppc_fbsd + targ_extra_emuls="elf64lppc" + ;; powerpc-*-vxworks*) targ_emul=elf32ppcvxworks targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" |