te-cloudabi.h
authorAlan Modra <amodra@gmail.com>
Mon, 8 Apr 2019 07:27:51 +0000 (16:57 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 10 Apr 2019 03:57:29 +0000 (13:27 +0930)
commit12400dcc0f3a4be8d1d165dc2b3a9f0bb9b579f0
tree76e5bfaf40fc0f88664461409de69e04b018a0a5
parent789ce185ac3353ed5bc21dd8ea70a8094e4876d5
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.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/config/tc-i386.h
gas/config/te-cloudabi.h [new file with mode: 0644]
gas/configure.tgt