diff options
Diffstat (limited to 'packages/gcc/11.2.0/0009-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch')
-rw-r--r-- | packages/gcc/11.2.0/0009-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/packages/gcc/11.2.0/0009-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch b/packages/gcc/11.2.0/0009-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch index b237d9d..ab73edb 100644 --- a/packages/gcc/11.2.0/0009-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch +++ b/packages/gcc/11.2.0/0009-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch @@ -14,18 +14,16 @@ gcc/ChangeLog: * config/aarch64/host-aarch64-darwin.c: New file. * config/aarch64/x-darwin: New file. --- - gcc/config.host | 7 ++++- - gcc/config/aarch64/host-aarch64-darwin.c | 33 ++++++++++++++++++++++++ - gcc/config/aarch64/x-darwin | 3 +++ + gcc/config.host | 7 +++++- + gcc/config/aarch64/host-aarch64-darwin.c | 33 +++++++++++++++++++++++++++++++ + gcc/config/aarch64/x-darwin | 3 ++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 gcc/config/aarch64/host-aarch64-darwin.c create mode 100644 gcc/config/aarch64/x-darwin -diff --git a/gcc/config.host b/gcc/config.host -index 0a02c33cc80..81ff7ed1043 100644 --- a/gcc/config.host +++ b/gcc/config.host -@@ -99,7 +99,8 @@ case ${host} in +@@ -99,7 +99,8 @@ esac case ${host} in @@ -35,7 +33,7 @@ index 0a02c33cc80..81ff7ed1043 100644 case ${target} in aarch64*-*-*) host_extra_gcc_objs="driver-aarch64.o" -@@ -251,6 +252,10 @@ case ${host} in +@@ -251,6 +252,10 @@ host_extra_gcc_objs="${host_extra_gcc_objs} driver-mingw32.o" host_lto_plugin_soname=liblto_plugin.dll ;; @@ -46,9 +44,6 @@ index 0a02c33cc80..81ff7ed1043 100644 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" -diff --git a/gcc/config/aarch64/host-aarch64-darwin.c b/gcc/config/aarch64/host-aarch64-darwin.c -new file mode 100644 -index 00000000000..d70f2df3bf1 --- /dev/null +++ b/gcc/config/aarch64/host-aarch64-darwin.c @@ -0,0 +1,33 @@ @@ -85,15 +80,9 @@ index 00000000000..d70f2df3bf1 + 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 00000000000..6d788d5e89c --- /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) --- -2.34.1 - |