diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-08-18 22:29:51 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-11-05 20:52:42 +0000 |
commit | 834c8749ced550af3f17ebae4072fb7dfb90d271 (patch) | |
tree | b0467691e803bd5af4c6301e290947d56d6a9d22 /gcc/config.host | |
parent | 7a300b413a62e1989bd89064fd5594aabe371d3a (diff) | |
download | gcc-834c8749ced550af3f17ebae4072fb7dfb90d271.zip gcc-834c8749ced550af3f17ebae4072fb7dfb90d271.tar.gz gcc-834c8749ced550af3f17ebae4072fb7dfb90d271.tar.bz2 |
Darwin, aarch64 : Initial support for the self-host driver.
At present, there is no special action needed for aarch64-darwin
this just pulls in generic Darwin code.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:
* config.host: Add support for aarch64-*-darwin.
* config/aarch64/host-aarch64-darwin.c: New file.
* config/aarch64/x-darwin: New file.
Diffstat (limited to 'gcc/config.host')
-rw-r--r-- | gcc/config.host | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config.host b/gcc/config.host index 0a02c33..81ff7ed 100644 --- a/gcc/config.host +++ b/gcc/config.host @@ -99,7 +99,8 @@ case ${host} in esac case ${host} in - aarch64*-*-freebsd* | aarch64*-*-linux* | aarch64*-*-fuchsia*) + aarch64*-*-freebsd* | aarch64*-*-linux* | aarch64*-*-fuchsia* |\ + aarch64*-*-darwin*) case ${target} in aarch64*-*-*) host_extra_gcc_objs="driver-aarch64.o" @@ -251,6 +252,10 @@ case ${host} in host_extra_gcc_objs="${host_extra_gcc_objs} driver-mingw32.o" host_lto_plugin_soname=liblto_plugin.dll ;; + aarch64*-*-darwin*) + out_host_hook_obj="${out_host_hook_obj} host-aarch64-darwin.o" + host_xmake_file="${host_xmake_file} aarch64/x-darwin" + ;; i[34567]86-*-darwin* | x86_64-*-darwin*) out_host_hook_obj="${out_host_hook_obj} host-i386-darwin.o" host_xmake_file="${host_xmake_file} i386/x-darwin" |