From 3c03d39d4593eb0fd988e7067bd47fc5a58d4658 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Tue, 11 Nov 2014 23:40:03 +0000 Subject: [PATCH] Bug target/61997 2014-11-11 Andrew Pinski Bug target/61997 * config.gcc (aarch64*-*-*): Set target_gtfiles to include aarch64-builtins.c. * config/aarch64/aarch64-builtins.c: Include gt-aarch64-builtins.h at the end of the file. From-SVN: r217394 --- gcc/ChangeLog | 8 ++++++++ gcc/config.gcc | 1 + gcc/config/aarch64/aarch64-builtins.c | 1 + 3 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5a637686e97..97fae4d721d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2014-11-11 Andrew Pinski + + Bug target/61997 + * config.gcc (aarch64*-*-*): Set target_gtfiles to include + aarch64-builtins.c. + * config/aarch64/aarch64-builtins.c: Include gt-aarch64-builtins.h + at the end of the file. + 2014-11-11 Anthony Brandon Manuel López-Ibáñez diff --git a/gcc/config.gcc b/gcc/config.gcc index 2284b9ee297..0b223a4f30f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -304,6 +304,7 @@ aarch64*-*-*) cpu_type=aarch64 extra_headers="arm_neon.h arm_acle.h" extra_objs="aarch64-builtins.o aarch-common.o" + target_gtfiles="\$(srcdir)/config/aarch64/aarch64-builtins.c" target_has_targetm_common=yes ;; alpha*-*-*) diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c index c0881e64344..239c68edde7 100644 --- a/gcc/config/aarch64/aarch64-builtins.c +++ b/gcc/config/aarch64/aarch64-builtins.c @@ -1473,3 +1473,4 @@ aarch64_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update) #undef VAR10 #undef VAR11 +#include "gt-aarch64-builtins.h" -- 2.30.2