aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorMatthew Green <mrg@eterna.com.au>2019-06-17 14:43:11 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2019-06-17 14:43:11 +0000
commitf32f75858a14e7b304df7a71dae15d75081b0deb (patch)
tree02586d019f74d3b896d2d2f5b98a9bb3bbaf1d75 /libgcc
parent360a758ec81936f87978d6422677bb759202e47c (diff)
downloadgcc-f32f75858a14e7b304df7a71dae15d75081b0deb.zip
gcc-f32f75858a14e7b304df7a71dae15d75081b0deb.tar.gz
gcc-f32f75858a14e7b304df7a71dae15d75081b0deb.tar.bz2
[netbsd][aarch64] add netbsd/aarch64 target
Initial support for AArch64 running NetBSD. Matthew Green <mrg@eterna.com.au> Maya Rashish <coypu@sdf.org> gcc: * config.gcc (aarch64*-*-netbsd*): New target. * config/aarch64/aarch64-netbsd.h: New file. * config/aarch64/t-aarch64-netbsd: Likewise. libgcc: * config.host (aarch64*-*-netbsd*): New case. Co-Authored-By: Maya Rashish <coypu@sdf.org> From-SVN: r272387
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config.host6
2 files changed, 11 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index fee8b38..934733d 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-17 Matthew Green <mrg@eterna.com.au>
+ Maya Rashish <coypu@sdf.org>
+
+ * config.host (aarch64*-*-netbsd*): New case.
+
2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/msp430/slli.S (__mspabi_sllll): New library function for
diff --git a/libgcc/config.host b/libgcc/config.host
index 0574b4d..e6a834b 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -359,6 +359,12 @@ aarch64*-*-freebsd*)
tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
md_unwind_header=aarch64/freebsd-unwind.h
;;
+aarch64*-*-netbsd*)
+ extra_parts="$extra_parts crtfastmath.o"
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
+ md_unwind_header=aarch64/aarch64-unwind.h
+ ;;
aarch64*-*-fuchsia*)
tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp"