aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.tgt
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-04-08 16:57:51 +0930
committerAlan Modra <amodra@gmail.com>2019-04-10 13:27:29 +0930
commit12400dcc0f3a4be8d1d165dc2b3a9f0bb9b579f0 (patch)
tree76e5bfaf40fc0f88664461409de69e04b018a0a5 /gas/configure.tgt
parent789ce185ac3353ed5bc21dd8ea70a8094e4876d5 (diff)
downloadgdb-12400dcc0f3a4be8d1d165dc2b3a9f0bb9b579f0.zip
gdb-12400dcc0f3a4be8d1d165dc2b3a9f0bb9b579f0.tar.gz
gdb-12400dcc0f3a4be8d1d165dc2b3a9f0bb9b579f0.tar.bz2
te-cloudabi.h
This patch is aimed a fixing large numbers of x86_64-cloudabi failures caused by gas selecting the wrong target name. * config/te-cloudabi.h: New file. * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI rather than TARGET_OS to select cloudabi. * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI. * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r--gas/configure.tgt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt
index e342acb..2d08c09 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -423,7 +423,7 @@ case ${generic_target} in
z8k-*-coff | z8k-*-sim) fmt=coff ;;
*-*-aout | *-*-scout) fmt=aout ;;
- *-*-cloudabi*) fmt=elf ;;
+ *-*-cloudabi*) fmt=elf em=cloudabi ;;
*-*-dragonfly*) fmt=elf em=dragonfly ;;
*-*-freebsd* | *-*-kfreebsd*-gnu) fmt=elf em=freebsd ;;
*-*-generic) fmt=generic ;;