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 | |
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')
-rw-r--r-- | gcc/config/aarch64/host-aarch64-darwin.c | 33 | ||||
-rw-r--r-- | gcc/config/aarch64/x-darwin | 3 |
2 files changed, 36 insertions, 0 deletions
diff --git a/gcc/config/aarch64/host-aarch64-darwin.c b/gcc/config/aarch64/host-aarch64-darwin.c new file mode 100644 index 0000000..d70f2df --- /dev/null +++ b/gcc/config/aarch64/host-aarch64-darwin.c @@ -0,0 +1,33 @@ +/* aarch64/arm64-darwin host-specific hook definitions. + +Copyright The GNU Toolchain Authors. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + +#define IN_TARGET_CODE 1 + +#include "config.h" +#include "system.h" +#include "coretypes.h" +#include "hosthooks.h" +#include "hosthooks-def.h" +#include "config/host-darwin.h" + +/* Darwin doesn't do anything special for arm64/aarch64 hosts; this file + exists just to include the generic config/host-darwin.h. */ + +const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER; diff --git a/gcc/config/aarch64/x-darwin b/gcc/config/aarch64/x-darwin new file mode 100644 index 0000000..6d788d5 --- /dev/null +++ b/gcc/config/aarch64/x-darwin @@ -0,0 +1,3 @@ +host-aarch64-darwin.o : $(srcdir)/config/aarch64/host-aarch64-darwin.c + $(COMPILE) $< + $(POSTCOMPILE) |