File gcc48-aarch64-pr61997.patch of Package gcc48.2996

From 43f550c2da43270be12f5ef54d32e0215f42e98b Mon Sep 17 00:00:00 2001
From: pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 11 Nov 2014 23:40:03 +0000
Subject: [PATCH] AArch64: Backport fix for Bug target/61997

2014-11-11  Andrew Pinski  <apinski@cavium.com>

        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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217394 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/config.gcc                        | 1 +
 gcc/config/aarch64/aarch64-builtins.c | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 57a415b..6a6b9a9 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -313,6 +313,7 @@ aarch64*-*-*)
 	need_64bit_hwint=yes
 	extra_headers="arm_neon.h"
 	extra_objs="aarch64-builtins.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 b2901db..8337dcb 100644
--- a/gcc/config/aarch64/aarch64-builtins.c
+++ b/gcc/config/aarch64/aarch64-builtins.c
@@ -1292,3 +1292,6 @@ aarch64_builtin_vectorized_function (tree fndecl, tree type_out, tree type_in)
 }
 #undef AARCH64_CHECK_BUILTIN_MODE
 #undef AARCH64_FIND_FRINT_VARIANT
+
+
+#include "gt-aarch64-builtins.h"
-- 
2.5.1