From 1e3d5096a354b1c6847608016427a4f417c91d09 Mon Sep 17 00:00:00 2001 From: Ian Bolton Date: Tue, 23 Oct 2012 17:27:13 +0000 Subject: [PATCH] AArch64 [8/10] 2012-10-23 Ian Bolton Jim MacArthur Marcus Shawcroft Nigel Stephens Ramana Radhakrishnan Richard Earnshaw Sofiane Naci Stephen Thomas Tejas Belagod Yufeng Zhang * config.host (aarch64*-*-elf, aarch64*-*-linux*): New. * config/aarch64/crti.S: New file. * config/aarch64/crtn.S: New file. * config/aarch64/linux-unwind.h: New file. * config/aarch64/sfp-machine.h: New file. * config/aarch64/sync-cache.c: New file. * config/aarch64/t-aarch64: New file. * config/aarch64/t-softfp: New file. Co-Authored-By: Jim MacArthur Co-Authored-By: Marcus Shawcroft Co-Authored-By: Nigel Stephens Co-Authored-By: Ramana Radhakrishnan Co-Authored-By: Richard Earnshaw Co-Authored-By: Sofiane Naci Co-Authored-By: Stephen Thomas Co-Authored-By: Tejas Belagod Co-Authored-By: Yufeng Zhang From-SVN: r192729 --- libgcc/ChangeLog | 20 ++++++++++++++++++++ libgcc/config.host | 13 +++++++++++++ 2 files changed, 33 insertions(+) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 27c883ff851..32319cc932e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,23 @@ +2012-10-23 Ian Bolton + Jim MacArthur + Marcus Shawcroft + Nigel Stephens + Ramana Radhakrishnan + Richard Earnshaw + Sofiane Naci + Stephen Thomas + Tejas Belagod + Yufeng Zhang + + * config.host (aarch64*-*-elf, aarch64*-*-linux*): New. + * config/aarch64/crti.S: New file. + * config/aarch64/crtn.S: New file. + * config/aarch64/linux-unwind.h: New file. + * config/aarch64/sfp-machine.h: New file. + * config/aarch64/sync-cache.c: New file. + * config/aarch64/t-aarch64: New file. + * config/aarch64/t-softfp: New file. + 2012-10-21 Hans-Peter Nilsson * config/mmix/crti.S: Mark program and data addresses using PRELD. diff --git a/libgcc/config.host b/libgcc/config.host index 8947e13ed33..b6cccc67843 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -83,6 +83,9 @@ m32c*-*-*) cpu_type=m32c tmake_file=t-fdpbit ;; +aarch64*-*-*) + cpu_type=aarch64 + ;; alpha*-*-*) cpu_type=alpha ;; @@ -278,6 +281,16 @@ i[34567]86-*-mingw* | x86_64-*-mingw*) esac case ${host} in +aarch64*-*-elf) + extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" + tmake_file="${tmake_file} ${cpu_type}/t-aarch64" + tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp" + ;; +aarch64*-*-linux*) + md_unwind_header=aarch64/linux-unwind.h + tmake_file="${tmake_file} ${cpu_type}/t-aarch64" + tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp" + ;; alpha*-*-linux*) tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux" extra_parts="$extra_parts crtfastmath.o"