summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2017-06-29 10:24:04 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2017-06-29 10:24:04 +0000
commita94c0a13835799f4af454f549be60f5d3999654a (patch)
tree1277f4477513c24d1f74f939676a2678a0d699a1
parent4ed15cac45fb9c92e3f43dc5fdb6ae9810f637b4 (diff)
downloadgcc-a94c0a13835799f4af454f549be60f5d3999654a.tar.gz
[arm] Fix bootstrap - missing initializer in tail entry of autogenerated code
My patch yesterday accidentally missed a hunk that added the update to the tail entry of the autogenerated data structure produced by parsecpu.awk. This causes native bootstraps to fail. This patch adds back the missing hunk. 2017-06-29 Richard Earnshaw <rearnsha@arm.com> * config/arm/parsecpu.awk (gen_comm_data): Add initializer for profile to the dummy entry at the end of the list of architectures. * config/arm/arm-cpu-cdata.h: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249777 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/arm/arm-cpu-cdata.h18
-rw-r--r--gcc/config/arm/parsecpu.awk2
3 files changed, 16 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17feaec7574..af354ccf0a9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2017-06-29 Richard Earnshaw <rearnsha@arm.com>
+
+ * config/arm/parsecpu.awk (gen_comm_data): Add initializer for
+ profile to the dummy entry at the end of the list of architectures.
+ * config/arm/arm-cpu-cdata.h: Regenerated.
+
2017-06-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Michael Collison <michael.collison@arm.com>
diff --git a/gcc/config/arm/arm-cpu-cdata.h b/gcc/config/arm/arm-cpu-cdata.h
index 4528d071259..1cf11499506 100644
--- a/gcc/config/arm/arm-cpu-cdata.h
+++ b/gcc/config/arm/arm-cpu-cdata.h
@@ -1993,6 +1993,14 @@ static const struct cpu_arch_extension arch_opttab_armv7e_m[] = {
"nofp", true, false,
{ ISA_ALL_FP, isa_nobit }
},
+ {
+ "vfpv4-sp-d16", false, true,
+ { ISA_VFPv4, isa_nobit }
+ },
+ {
+ "fpv5-d16", false, true,
+ { ISA_FPv5,ISA_FP_DBL, isa_nobit }
+ },
{ NULL, false, false, {isa_nobit}}
};
@@ -2037,14 +2045,6 @@ static const struct cpu_arch_extension arch_opttab_armv8_1_a[] = {
"nofp", true, false,
{ ISA_ALL_FP, isa_nobit }
},
- {
- "vfpv4-sp-d16", false, true,
- { ISA_VFPv4, isa_nobit }
- },
- {
- "fpv5-d16", false, true,
- { ISA_FPv5,ISA_FP_DBL, isa_nobit }
- },
{ NULL, false, false, {isa_nobit}}
};
@@ -2462,7 +2462,7 @@ const arch_option all_architectures[] =
TARGET_CPU_iwmmxt2,
},
{{NULL, NULL, {isa_nobit}},
- NULL, BASE_ARCH_0, TARGET_CPU_arm_none}
+ NULL, BASE_ARCH_0, 0, TARGET_CPU_arm_none}
};
const arm_fpu_desc all_fpus[] =
diff --git a/gcc/config/arm/parsecpu.awk b/gcc/config/arm/parsecpu.awk
index d38d66435b3..d096bca33b3 100644
--- a/gcc/config/arm/parsecpu.awk
+++ b/gcc/config/arm/parsecpu.awk
@@ -311,7 +311,7 @@ function gen_comm_data () {
}
print " {{NULL, NULL, {isa_nobit}},"
- print " NULL, BASE_ARCH_0, TARGET_CPU_arm_none}"
+ print " NULL, BASE_ARCH_0, 0, TARGET_CPU_arm_none}"
print "};\n"
print "const arm_fpu_desc all_fpus[] ="