Patchwork [AArch64] Add missing copyright and build dependency for aarch64-simd-builtins.def

login
register
mail settings
Submitter James Greenhalgh
Date Feb. 22, 2013, 2:44 p.m.
Message ID <1361544273-22796-1-git-send-email-james.greenhalgh@arm.com>
Download mbox | patch
Permalink /patch/222537/
State New
Headers show

Comments

James Greenhalgh - Feb. 22, 2013, 2:44 p.m.
Hi,

gcc/config/aarch64/aarch64-simd-builtins.def is missing a copyright header
and is not listed in build dependencies for aarch64-builtins.c.

This patch fixes that.

Is this OK to commit to trunk and aarch64-4.7-branch.

Thanks,
James Greenhalgh

---
gcc/

2013-02-22  James Greenhalgh  <james.greenhalgh@arm.com>

	* config/aarch64/aarch64-simd-builtins.def: Add copyright header.
	* config/aarch64/t-aarch64
	(aarch64-builtins.o): Depend on aarch64-simd-builtins.def.
Marcus Shawcroft - Feb. 22, 2013, 3:46 p.m.
On 22/02/13 14:44, James Greenhalgh wrote:
>
> Hi,
>
> gcc/config/aarch64/aarch64-simd-builtins.def is missing a copyright header
> and is not listed in build dependencies for aarch64-builtins.c.
>
> This patch fixes that.
>
> Is this OK to commit to trunk and aarch64-4.7-branch.
>
> Thanks,
> James Greenhalgh
>
> ---
> gcc/
>
> 2013-02-22  James Greenhalgh  <james.greenhalgh@arm.com>
>
> 	* config/aarch64/aarch64-simd-builtins.def: Add copyright header.
> 	* config/aarch64/t-aarch64
> 	(aarch64-builtins.o): Depend on aarch64-simd-builtins.def.
>


OK

/Marcus

Patch

diff --git a/gcc/config/aarch64/aarch64-simd-builtins.def b/gcc/config/aarch64/aarch64-simd-builtins.def
index 40d8d93..b940ec8 100644
--- a/gcc/config/aarch64/aarch64-simd-builtins.def
+++ b/gcc/config/aarch64/aarch64-simd-builtins.def
@@ -1,3 +1,22 @@ 
+/* Machine description for AArch64 architecture.
+   Copyright (C) 2012-2013 Free Software Foundation, Inc.
+   Contributed by ARM Ltd.
+
+   This file is part of GCC.
+
+   GCC is free software; you can redistribute it and/or modify it
+   under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3, or (at your option)
+   any later version.
+
+   GCC is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with GCC; see the file COPYING3.  If not see
+   <http://www.gnu.org/licenses/>.  */
 
 /* In the list below, the BUILTIN_<ITERATOR> macros should
    correspond to the iterator used to construct the instruction's
diff --git a/gcc/config/aarch64/t-aarch64 b/gcc/config/aarch64/t-aarch64
index ece7e47..61adc29 100644
--- a/gcc/config/aarch64/t-aarch64
+++ b/gcc/config/aarch64/t-aarch64
@@ -27,6 +27,7 @@  $(srcdir)/config/aarch64/aarch64-tune.md: $(srcdir)/config/aarch64/gentune.sh \
 aarch64-builtins.o: $(srcdir)/config/aarch64/aarch64-builtins.c $(CONFIG_H) \
   $(SYSTEM_H) coretypes.h $(TM_H) \
   $(RTL_H) $(TREE_H) expr.h $(TM_P_H) $(RECOG_H) langhooks.h \
-  $(DIAGNOSTIC_CORE_H) $(OPTABS_H)
+  $(DIAGNOSTIC_CORE_H) $(OPTABS_H) \
+  $(srcdir)/config/aarch64/aarch64-simd-builtins.def
 	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
 		$(srcdir)/config/aarch64/aarch64-builtins.c