aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorBrandon Bergren <bdragon@FreeBSD.org>2020-10-06 09:19:23 +1030
committerAlan Modra <amodra@gmail.com>2020-10-06 17:09:27 +1030
commit6afcdeb3581e99e2d4ce06d0034c7c47292aeec1 (patch)
tree742611b296f94d1680d5d4b06e0872bad3935afd /ld/emulparams
parent0897537869c1b81955140ae4bd693e504ac05016 (diff)
downloadgdb-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/emulparams')
-rw-r--r--ld/emulparams/elf64lppc_fbsd.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/emulparams/elf64lppc_fbsd.sh b/ld/emulparams/elf64lppc_fbsd.sh
new file mode 100644
index 0000000..5e70ab6
--- /dev/null
+++ b/ld/emulparams/elf64lppc_fbsd.sh
@@ -0,0 +1,6 @@
+source_sh ${srcdir}/emulparams/elf64lppc.sh
+source_sh ${srcdir}/emulparams/elf_fbsd.sh
+
+OUTPUT_FORMAT="elf64-powerpcle-freebsd"
+DEFAULT_PLT_STATIC_CHAIN=1
+