mirrored from git://gcc.gnu.org/git/gcc.git
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> gcc/ChangeLog: * config.host: Add support for aarch64-*-darwin. * config/aarch64/host-aarch64-darwin.c: New file. * config/aarch64/x-darwin: New file.
- Loading branch information
Showing
3 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
host-aarch64-darwin.o : $(srcdir)/config/aarch64/host-aarch64-darwin.c | ||
$(COMPILE) $< | ||
$(POSTCOMPILE) |