41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
--- a/gcc/config.gcc
|
|
+++ b/gcc/config.gcc
|
|
@@ -1189,7 +1189,7 @@
|
|
esac
|
|
|
|
case ${target} in
|
|
-aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
|
|
+aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems* | aarch64*-*-montauk*)
|
|
tm_file="${tm_file} elfos.h newlib-stdint.h"
|
|
tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-errata.h aarch64/aarch64-elf-raw.h"
|
|
tmake_file="${tmake_file} aarch64/t-aarch64"
|
|
@@ -1204,6 +1204,11 @@
|
|
tm_file="${tm_file} aarch64/rtems.h rtems.h"
|
|
tmake_file="${tmake_file} aarch64/t-aarch64-rtems"
|
|
;;
|
|
+ aarch64-*-montauk*)
|
|
+ tm_file="${tm_file} aarch64/montauk.h"
|
|
+ # As for x86_64-montauk: the libc has no stdint.h of its own.
|
|
+ use_gcc_stdint=provide
|
|
+ ;;
|
|
esac
|
|
case $target in
|
|
aarch64_be-*)
|
|
--- a/libgcc/config.host
|
|
+++ b/libgcc/config.host
|
|
@@ -418,6 +418,14 @@
|
|
tmake_file="${tmake_file} t-dfprules"
|
|
md_unwind_header=aarch64/aarch64-unwind.h
|
|
;;
|
|
+aarch64*-*-montauk*)
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtfastmath.o"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
|
|
+ tmake_file="${tmake_file} t-dfprules"
|
|
+ md_unwind_header=aarch64/aarch64-unwind.h
|
|
+ ;;
|
|
aarch64*-*-freebsd*)
|
|
extra_parts="$extra_parts crtfastmath.o"
|
|
tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|