• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisiónf33026a96558ba9231ad91eb989ea6f347a15899 (tree)
Tiempo2015-07-21 17:43:35
AutorMatthew Wahab <matthew.wahab@arm....>
CommiterJiong Wang

Log Message

[ARM] Support correctly spelled ARMv6KZ architecture names

2015-07-20 Matthew Wahab <matthew.wahab@arm.com>

gas/

    • NEWS: Mention corrected spelling of armv6kz.
    • config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
      ARM_ARCH_V6KZ.
      (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
    • doc/c-arm.texi: Replace "armv6zk" with "armv6kz".

gas/testsuite

    • gas/arm/attr-march-armv6kz.d: New.
    • gas/arm/attr-march-armv6kzt2.d: New.

include/opcode

    • arm.h (ARM_AEXT_V6ZK): Rename to ARM_AEXT_V6KZ.
      (ARM_AEXT_V6ZKT2): Rename to ARM_AEXT_V6KZT2.
      (ARM_ARCH_V6ZK): Rename to ARM_ARCH_V6KZ.
      (ARM_ARCH_V6ZKT2): Rename to ARM_ARCH_V6KZT2.

Cambiar Resumen

Diferencia incremental

--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,11 @@
1+2015-07-20 Matthew Wahab <matthew.wahab@arm.com>
2+
3+ * NEWS: Mention corrected spelling of armv6kz.
4+ * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
5+ ARM_ARCH_V6KZ.
6+ (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
7+ * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
8+
19 2015-07-16 Jiong Wang <jiong.wang@arm.com>
210
311 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -2,6 +2,9 @@
22
33 Changes in 2.26:
44
5+* Added the correctly spelled -march=armv6kz, for ARMv6KZ support. The
6+ previous spelling, -march=armv6zk, is still accepted.
7+
58 * Support for the ARMv8.1 architecture has been added to the Aarch64 port.
69 Support for the individual ARMv8.1 Adv.SIMD, LOR and PAN architecture
710 extensions has also been added to the Aarch64 port.
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -24748,8 +24748,8 @@ static const struct arm_cpu_option_table arm_cpus[] =
2474824748 ARM_CPU_OPT ("mpcorenovfp", ARM_ARCH_V6K, FPU_NONE, "MPCore"),
2474924749 ARM_CPU_OPT ("arm1156t2-s", ARM_ARCH_V6T2, FPU_NONE, NULL),
2475024750 ARM_CPU_OPT ("arm1156t2f-s", ARM_ARCH_V6T2, FPU_ARCH_VFP_V2, NULL),
24751- ARM_CPU_OPT ("arm1176jz-s", ARM_ARCH_V6ZK, FPU_NONE, NULL),
24752- ARM_CPU_OPT ("arm1176jzf-s", ARM_ARCH_V6ZK, FPU_ARCH_VFP_V2, NULL),
24751+ ARM_CPU_OPT ("arm1176jz-s", ARM_ARCH_V6KZ, FPU_NONE, NULL),
24752+ ARM_CPU_OPT ("arm1176jzf-s", ARM_ARCH_V6KZ, FPU_ARCH_VFP_V2, NULL),
2475324753 ARM_CPU_OPT ("cortex-a5", ARM_ARCH_V7A_MP_SEC,
2475424754 FPU_NONE, "Cortex-A5"),
2475524755 ARM_CPU_OPT ("cortex-a7", ARM_ARCH_V7VE, FPU_ARCH_NEON_VFP_V4,
@@ -24851,11 +24851,17 @@ static const struct arm_arch_option_table arm_archs[] =
2485124851 ARM_ARCH_OPT ("armv6j", ARM_ARCH_V6, FPU_ARCH_VFP),
2485224852 ARM_ARCH_OPT ("armv6k", ARM_ARCH_V6K, FPU_ARCH_VFP),
2485324853 ARM_ARCH_OPT ("armv6z", ARM_ARCH_V6Z, FPU_ARCH_VFP),
24854- ARM_ARCH_OPT ("armv6zk", ARM_ARCH_V6ZK, FPU_ARCH_VFP),
24854+ /* The official spelling of this variant is ARMv6KZ, the name "armv6zk" is
24855+ kept to preserve existing behaviour. */
24856+ ARM_ARCH_OPT ("armv6kz", ARM_ARCH_V6KZ, FPU_ARCH_VFP),
24857+ ARM_ARCH_OPT ("armv6zk", ARM_ARCH_V6KZ, FPU_ARCH_VFP),
2485524858 ARM_ARCH_OPT ("armv6t2", ARM_ARCH_V6T2, FPU_ARCH_VFP),
2485624859 ARM_ARCH_OPT ("armv6kt2", ARM_ARCH_V6KT2, FPU_ARCH_VFP),
2485724860 ARM_ARCH_OPT ("armv6zt2", ARM_ARCH_V6ZT2, FPU_ARCH_VFP),
24858- ARM_ARCH_OPT ("armv6zkt2", ARM_ARCH_V6ZKT2, FPU_ARCH_VFP),
24861+ /* The official spelling of this variant is ARMv6KZ, the name "armv6zkt2" is
24862+ kept to preserve existing behaviour. */
24863+ ARM_ARCH_OPT ("armv6kzt2", ARM_ARCH_V6KZT2, FPU_ARCH_VFP),
24864+ ARM_ARCH_OPT ("armv6zkt2", ARM_ARCH_V6KZT2, FPU_ARCH_VFP),
2485924865 ARM_ARCH_OPT ("armv6-m", ARM_ARCH_V6M, FPU_ARCH_VFP),
2486024866 ARM_ARCH_OPT ("armv6s-m", ARM_ARCH_V6SM, FPU_ARCH_VFP),
2486124867 ARM_ARCH_OPT ("armv7", ARM_ARCH_V7, FPU_ARCH_VFP),
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -210,7 +210,7 @@ names are recognized:
210210 @code{armv6j},
211211 @code{armv6k},
212212 @code{armv6z},
213-@code{armv6zk},
213+@code{armv6kz},
214214 @code{armv6-m},
215215 @code{armv6s-m},
216216 @code{armv7},
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
1+2015-07-20 Matthew Wahab <matthew.wahab@arm.com>
2+
3+ * gas/arm/attr-march-armv6kz.d: New.
4+ * gas/arm/attr-march-armv6kzt2.d: New.
5+
16 2015-07-16 Jiong Wang <jiong.wang@arm.com>
27
38 * gas/aarch64/reloc-tlsldm-1.s: New testcase.
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-march-armv6kz.d
@@ -0,0 +1,14 @@
1+# name: attributes for -march=armv6kz
2+# source: blank.s
3+# as: -march=armv6kz
4+# readelf: -A
5+# This test is only valid on EABI based ports.
6+# target: *-*-*eabi* *-*-nacl*
7+
8+Attribute Section: aeabi
9+File Attributes
10+ Tag_CPU_name: "6KZ"
11+ Tag_CPU_arch: v6KZ
12+ Tag_ARM_ISA_use: Yes
13+ Tag_THUMB_ISA_use: Thumb-1
14+ Tag_Virtualization_use: TrustZone
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-march-armv6kzt2.d
@@ -0,0 +1,14 @@
1+# name: attributes for -march=armv6kzt2
2+# source: blank.s
3+# as: -march=armv6kzt2
4+# readelf: -A
5+# This test is only valid on EABI based ports.
6+# target: *-*-*eabi* *-*-nacl*
7+
8+Attribute Section: aeabi
9+File Attributes
10+ Tag_CPU_name: "6KZT2"
11+ Tag_CPU_arch: v6T2
12+ Tag_ARM_ISA_use: Yes
13+ Tag_THUMB_ISA_use: Thumb-2
14+ Tag_Virtualization_use: TrustZone
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,10 @@
1+2015-07-20 Matthew Wahab <matthew.wahab@arm.com>
2+
3+ * arm.h (ARM_AEXT_V6ZK): Rename to ARM_AEXT_V6KZ.
4+ (ARM_AEXT_V6ZKT2): Rename to ARM_AEXT_V6KZT2.
5+ (ARM_ARCH_V6ZK): Rename to ARM_ARCH_V6KZ.
6+ (ARM_ARCH_V6ZKT2): Rename to ARM_ARCH_V6KZT2.
7+
18 2015-07-03 Alan Modra <amodra@gmail.com>
29
310 * ppc.h (PPC_OPCODE_750, PPC_OPCODE_7450, PPC_OPCODE_860): Define.
--- a/include/opcode/arm.h
+++ b/include/opcode/arm.h
@@ -111,13 +111,13 @@
111111 #define ARM_AEXT_V6 (ARM_AEXT_V5TEJ | ARM_EXT_V6)
112112 #define ARM_AEXT_V6K (ARM_AEXT_V6 | ARM_EXT_V6K)
113113 #define ARM_AEXT_V6Z (ARM_AEXT_V6K | ARM_EXT_SEC)
114-#define ARM_AEXT_V6ZK (ARM_AEXT_V6K | ARM_EXT_SEC)
114+#define ARM_AEXT_V6KZ (ARM_AEXT_V6K | ARM_EXT_SEC)
115115 #define ARM_AEXT_V6T2 (ARM_AEXT_V6 \
116116 | ARM_EXT_V6T2 | ARM_EXT_V6_NOTM | ARM_EXT_THUMB_MSR \
117117 | ARM_EXT_V6_DSP )
118118 #define ARM_AEXT_V6KT2 (ARM_AEXT_V6T2 | ARM_EXT_V6K)
119119 #define ARM_AEXT_V6ZT2 (ARM_AEXT_V6T2 | ARM_EXT_SEC)
120-#define ARM_AEXT_V6ZKT2 (ARM_AEXT_V6T2 | ARM_EXT_V6K | ARM_EXT_SEC)
120+#define ARM_AEXT_V6KZT2 (ARM_AEXT_V6T2 | ARM_EXT_V6K | ARM_EXT_SEC)
121121 #define ARM_AEXT_V7_ARM (ARM_AEXT_V6KT2 | ARM_EXT_V7 | ARM_EXT_BARRIER)
122122 #define ARM_AEXT_V7A (ARM_AEXT_V7_ARM | ARM_EXT_V7A)
123123 #define ARM_AEXT_V7VE (ARM_AEXT_V7A | ARM_EXT_DIV | ARM_EXT_ADIV \
@@ -236,11 +236,11 @@
236236 #define ARM_ARCH_V6 ARM_FEATURE_CORE_LOW (ARM_AEXT_V6)
237237 #define ARM_ARCH_V6K ARM_FEATURE_CORE_LOW (ARM_AEXT_V6K)
238238 #define ARM_ARCH_V6Z ARM_FEATURE_CORE_LOW (ARM_AEXT_V6Z)
239-#define ARM_ARCH_V6ZK ARM_FEATURE_CORE_LOW (ARM_AEXT_V6ZK)
239+#define ARM_ARCH_V6KZ ARM_FEATURE_CORE_LOW (ARM_AEXT_V6KZ)
240240 #define ARM_ARCH_V6T2 ARM_FEATURE_CORE_LOW (ARM_AEXT_V6T2)
241241 #define ARM_ARCH_V6KT2 ARM_FEATURE_CORE_LOW (ARM_AEXT_V6KT2)
242242 #define ARM_ARCH_V6ZT2 ARM_FEATURE_CORE_LOW (ARM_AEXT_V6ZT2)
243-#define ARM_ARCH_V6ZKT2 ARM_FEATURE_CORE_LOW (ARM_AEXT_V6ZKT2)
243+#define ARM_ARCH_V6KZT2 ARM_FEATURE_CORE_LOW (ARM_AEXT_V6KZT2)
244244 #define ARM_ARCH_V6M ARM_FEATURE_CORE_LOW (ARM_AEXT_V6M)
245245 #define ARM_ARCH_V6SM ARM_FEATURE_CORE_LOW (ARM_AEXT_V6SM)
246246 #define ARM_ARCH_V7 ARM_FEATURE_CORE_LOW (ARM_AEXT_V7)