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 /bfd/targets.c | |
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 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index 35492b9..b188009 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -838,6 +838,7 @@ extern const bfd_target powerpc_elf32_vxworks_vec; extern const bfd_target powerpc_elf64_vec; extern const bfd_target powerpc_elf64_le_vec; extern const bfd_target powerpc_elf64_fbsd_vec; +extern const bfd_target powerpc_elf64_fbsd_le_vec; extern const bfd_target powerpc_xcoff_vec; extern const bfd_target pru_elf32_vec; extern const bfd_target riscv_elf32_vec; @@ -1224,6 +1225,7 @@ static const bfd_target * const _bfd_target_vector[] = &powerpc_elf64_vec, &powerpc_elf64_le_vec, &powerpc_elf64_fbsd_vec, + &powerpc_elf64_fbsd_le_vec, #endif #if 0 /* This has the same magic number as RS/6000. */ |