aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorclaziss <claziss@synopsys.com>2018-08-06 16:41:32 +0300
committerClaudiu Zissulescu <claziss@gmail.com>2018-08-06 16:41:32 +0300
commitdb1e1b45b417dc3e7d37f401828afa18328d8508 (patch)
tree106793af4c43a402ce3303a1763ae78a10d986b4 /gas
parentb6523c37fb52fc38da6e152328341caffd793749 (diff)
downloadgdb-db1e1b45b417dc3e7d37f401828afa18328d8508.zip
gdb-db1e1b45b417dc3e7d37f401828afa18328d8508.tar.gz
gdb-db1e1b45b417dc3e7d37f401828afa18328d8508.tar.bz2
[ARC] Add Tag_ARC_ATR_version.
Add a new tag (Tag_ARC_ATR_version) used to indicate if current attributes are interpreted in GNU way. This attribute is used by Synopsys custom compiler to correctly identify and interpret the object attributes section as generated by GNU tools. gas/ 2017-08-02 Claudiu Zissulescu <claziss@synopsys.com> * config/tc-arc.c (arc_set_public_attributes): Add Tag_ARC_ATR_version. (arc_convert_symbolic_attribute): Likewise. * testsuite/gas/arc/attr-arc600.d: Update test. * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise. * testsuite/gas/arc/attr-arc600_norm.d: Likewise. * testsuite/gas/arc/attr-arc601.d: Likewise. * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise. * testsuite/gas/arc/attr-arc601_mul64.d: Likewise. * testsuite/gas/arc/attr-arc601_norm.d: Likewise. * testsuite/gas/arc/attr-arc700.d: Likewise. * testsuite/gas/arc/attr-arcem.d: Likewise. * testsuite/gas/arc/attr-archs.d: Likewise. * testsuite/gas/arc/attr-autodetect-1.d: Likewise. * testsuite/gas/arc/attr-cpu-a601.d: Likewise. * testsuite/gas/arc/attr-cpu-a700.d: Likewise. * testsuite/gas/arc/attr-cpu-em.d: Likewise. * testsuite/gas/arc/attr-cpu-hs.d: Likewise. * testsuite/gas/arc/attr-em.d: Likewise. * testsuite/gas/arc/attr-em4.d: Likewise. * testsuite/gas/arc/attr-em4_dmips.d: Likewise. * testsuite/gas/arc/attr-em4_fpuda.d: Likewise. * testsuite/gas/arc/attr-em4_fpus.d: Likewise. * testsuite/gas/arc/attr-hs.d: Likewise. * testsuite/gas/arc/attr-hs34.d: Likewise. * testsuite/gas/arc/attr-hs38.d: Likewise. * testsuite/gas/arc/attr-hs38_linux.d: Likewise. * testsuite/gas/arc/attr-mul64.d: Likewise. * testsuite/gas/arc/attr-name.d: Likewise. * testsuite/gas/arc/attr-nps400.d: Likewise. * testsuite/gas/arc/attr-override-mcpu.d: Likewise. * testsuite/gas/arc/attr-quarkse_em.d: Likewise. bfd/ 2017-08-02 Claudiu Zissulescu <claziss@synopsys.com> * elf32-arc.c (arc_elf_merge_attributes): Handle Tag_ARC_ATR_version. binutils/ 2017-08-02 Claudiu Zissulescu <claziss@synopsys.com> * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version. include/ 2017-08-02 Claudiu Zissulescu <claziss@synopsys.com> * elf/arc.h (Tag_ARC_ATR_version): New tag. ld/ 2017-08-02 Claudiu Zissulescu <claziss@synopsys.com> * testsuite/ld-arc/attr-merge-0.d: Update test. * testsuite/ld-arc/attr-merge-1.d: Likewise. * testsuite/ld-arc/attr-merge-2.d: Likewise. * testsuite/ld-arc/attr-merge-3.d: Likewise. * testsuite/ld-arc/attr-merge-5.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog35
-rw-r--r--gas/config/tc-arc.c6
-rw-r--r--gas/testsuite/gas/arc/attr-arc600.d1
-rw-r--r--gas/testsuite/gas/arc/attr-arc600_mul32x16.d1
-rw-r--r--gas/testsuite/gas/arc/attr-arc600_norm.d1
-rw-r--r--gas/testsuite/gas/arc/attr-arc601.d1
-rw-r--r--gas/testsuite/gas/arc/attr-arc601_mul32x16.d1
-rw-r--r--gas/testsuite/gas/arc/attr-arc601_mul64.d1
-rw-r--r--gas/testsuite/gas/arc/attr-arc601_norm.d1
-rw-r--r--gas/testsuite/gas/arc/attr-arc700.d1
-rw-r--r--gas/testsuite/gas/arc/attr-arcem.d1
-rw-r--r--gas/testsuite/gas/arc/attr-archs.d1
-rw-r--r--gas/testsuite/gas/arc/attr-autodetect-1.d1
-rw-r--r--gas/testsuite/gas/arc/attr-cpu-a601.d1
-rw-r--r--gas/testsuite/gas/arc/attr-cpu-a700.d1
-rw-r--r--gas/testsuite/gas/arc/attr-cpu-em.d1
-rw-r--r--gas/testsuite/gas/arc/attr-cpu-hs.d1
-rw-r--r--gas/testsuite/gas/arc/attr-em.d1
-rw-r--r--gas/testsuite/gas/arc/attr-em4.d1
-rw-r--r--gas/testsuite/gas/arc/attr-em4_dmips.d1
-rw-r--r--gas/testsuite/gas/arc/attr-em4_fpuda.d1
-rw-r--r--gas/testsuite/gas/arc/attr-em4_fpus.d1
-rw-r--r--gas/testsuite/gas/arc/attr-hs.d1
-rw-r--r--gas/testsuite/gas/arc/attr-hs34.d1
-rw-r--r--gas/testsuite/gas/arc/attr-hs38.d1
-rw-r--r--gas/testsuite/gas/arc/attr-hs38_linux.d1
-rw-r--r--gas/testsuite/gas/arc/attr-mul64.d1
-rw-r--r--gas/testsuite/gas/arc/attr-name.d1
-rw-r--r--gas/testsuite/gas/arc/attr-nps400.d1
-rw-r--r--gas/testsuite/gas/arc/attr-override-mcpu.d1
-rw-r--r--gas/testsuite/gas/arc/attr-quarkse_em.d1
31 files changed, 69 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a97edcd..9c764c7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,40 @@
2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
+ * config/tc-arc.c (arc_set_public_attributes): Add
+ Tag_ARC_ATR_version.
+ (arc_convert_symbolic_attribute): Likewise.
+ * testsuite/gas/arc/attr-arc600.d: Update test.
+ * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
+ * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
+ * testsuite/gas/arc/attr-arc601.d: Likewise.
+ * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
+ * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
+ * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
+ * testsuite/gas/arc/attr-arc700.d: Likewise.
+ * testsuite/gas/arc/attr-arcem.d: Likewise.
+ * testsuite/gas/arc/attr-archs.d: Likewise.
+ * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
+ * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
+ * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
+ * testsuite/gas/arc/attr-cpu-em.d: Likewise.
+ * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
+ * testsuite/gas/arc/attr-em.d: Likewise.
+ * testsuite/gas/arc/attr-em4.d: Likewise.
+ * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
+ * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
+ * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
+ * testsuite/gas/arc/attr-hs.d: Likewise.
+ * testsuite/gas/arc/attr-hs34.d: Likewise.
+ * testsuite/gas/arc/attr-hs38.d: Likewise.
+ * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
+ * testsuite/gas/arc/attr-mul64.d: Likewise.
+ * testsuite/gas/arc/attr-name.d: Likewise.
+ * testsuite/gas/arc/attr-nps400.d: Likewise.
+ * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
+ * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
+
+2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
+
* config/tc-arc.c (find_opcode_match): Accept uppercase aux-regs
names.
* testsuite/gas/arc/ld2.d: Update test.
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 3fc907a..7bf3081 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -5014,6 +5014,9 @@ arc_set_public_attributes (void)
/* Tag_ARC_ABI_tls. */
arc_set_attribute_int (Tag_ARC_ABI_tls, tls_option);
+
+ /* Tag_ARC_ATR_version. */
+ arc_set_attribute_int (Tag_ARC_ATR_version, 1);
}
/* Add the default contents for the .ARC.attributes section. */
@@ -5058,7 +5061,8 @@ int arc_convert_symbolic_attribute (const char *name)
T (Tag_ARC_ABI_double_size),
T (Tag_ARC_ISA_config),
T (Tag_ARC_ISA_apex),
- T (Tag_ARC_ISA_mpy_option)
+ T (Tag_ARC_ISA_mpy_option),
+ T (Tag_ARC_ATR_version)
#undef T
};
unsigned int i;
diff --git a/gas/testsuite/gas/arc/attr-arc600.d b/gas/testsuite/gas/arc/attr-arc600.d
index 07eecc6..db252f8 100644
--- a/gas/testsuite/gas/arc/attr-arc600.d
+++ b/gas/testsuite/gas/arc/attr-arc600.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc600"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-arc600_mul32x16.d b/gas/testsuite/gas/arc/attr-arc600_mul32x16.d
index 6ca411d..b88839d 100644
--- a/gas/testsuite/gas/arc/attr-arc600_mul32x16.d
+++ b/gas/testsuite/gas/arc/attr-arc600_mul32x16.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc600_mul32x16"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-arc600_norm.d b/gas/testsuite/gas/arc/attr-arc600_norm.d
index 2ff0a71..58dd43e 100644
--- a/gas/testsuite/gas/arc/attr-arc600_norm.d
+++ b/gas/testsuite/gas/arc/attr-arc600_norm.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc600_norm"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-arc601.d b/gas/testsuite/gas/arc/attr-arc601.d
index f8fb744..7c66056 100644
--- a/gas/testsuite/gas/arc/attr-arc601.d
+++ b/gas/testsuite/gas/arc/attr-arc601.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc601"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-arc601_mul32x16.d b/gas/testsuite/gas/arc/attr-arc601_mul32x16.d
index 8104276..9fff750 100644
--- a/gas/testsuite/gas/arc/attr-arc601_mul32x16.d
+++ b/gas/testsuite/gas/arc/attr-arc601_mul32x16.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc601_mul32x16"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-arc601_mul64.d b/gas/testsuite/gas/arc/attr-arc601_mul64.d
index 9985476..96ff696 100644
--- a/gas/testsuite/gas/arc/attr-arc601_mul64.d
+++ b/gas/testsuite/gas/arc/attr-arc601_mul64.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc601_mul64"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-arc601_norm.d b/gas/testsuite/gas/arc/attr-arc601_norm.d
index 18131dc..6019a12 100644
--- a/gas/testsuite/gas/arc/attr-arc601_norm.d
+++ b/gas/testsuite/gas/arc/attr-arc601_norm.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc601_norm"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-arc700.d b/gas/testsuite/gas/arc/attr-arc700.d
index cc4dc38..41a5f74 100644
--- a/gas/testsuite/gas/arc/attr-arc700.d
+++ b/gas/testsuite/gas/arc/attr-arc700.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC7xx
Tag_ARC_CPU_name: "arc700"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-arcem.d b/gas/testsuite/gas/arc/attr-arcem.d
index da97473..25a6958 100644
--- a/gas/testsuite/gas/arc/attr-arcem.d
+++ b/gas/testsuite/gas/arc/attr-arcem.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARCEM
Tag_ARC_CPU_name: "arcem"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-archs.d b/gas/testsuite/gas/arc/attr-archs.d
index c0d2e63..a32d76e 100644
--- a/gas/testsuite/gas/arc/attr-archs.d
+++ b/gas/testsuite/gas/arc/attr-archs.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "archs"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-autodetect-1.d b/gas/testsuite/gas/arc/attr-autodetect-1.d
index bbe8525..73352c9 100644
--- a/gas/testsuite/gas/arc/attr-autodetect-1.d
+++ b/gas/testsuite/gas/arc/attr-autodetect-1.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_ABI_pic: GNU
Tag_ARC_ABI_tls: r25
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-cpu-a601.d b/gas/testsuite/gas/arc/attr-cpu-a601.d
index 33a2f31..97c1f91 100644
--- a/gas/testsuite/gas/arc/attr-cpu-a601.d
+++ b/gas/testsuite/gas/arc/attr-cpu-a601.d
@@ -6,3 +6,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc601"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-cpu-a700.d b/gas/testsuite/gas/arc/attr-cpu-a700.d
index db69ade..41c0c67 100644
--- a/gas/testsuite/gas/arc/attr-cpu-a700.d
+++ b/gas/testsuite/gas/arc/attr-cpu-a700.d
@@ -6,3 +6,4 @@ File Attributes
Tag_ARC_CPU_base: ARC7xx
Tag_ARC_CPU_name: "arc700"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-cpu-em.d b/gas/testsuite/gas/arc/attr-cpu-em.d
index c635bd5..5b26025 100644
--- a/gas/testsuite/gas/arc/attr-cpu-em.d
+++ b/gas/testsuite/gas/arc/attr-cpu-em.d
@@ -6,3 +6,4 @@ File Attributes
Tag_ARC_CPU_base: ARCEM
Tag_ARC_CPU_name: "em"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-cpu-hs.d b/gas/testsuite/gas/arc/attr-cpu-hs.d
index 4de82ad..aa8a3e6 100644
--- a/gas/testsuite/gas/arc/attr-cpu-hs.d
+++ b/gas/testsuite/gas/arc/attr-cpu-hs.d
@@ -7,3 +7,4 @@ File Attributes
Tag_ARC_CPU_name: "hs"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-em.d b/gas/testsuite/gas/arc/attr-em.d
index a322ff6..94e365a 100644
--- a/gas/testsuite/gas/arc/attr-em.d
+++ b/gas/testsuite/gas/arc/attr-em.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARCEM
Tag_ARC_CPU_name: "em"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-em4.d b/gas/testsuite/gas/arc/attr-em4.d
index bbc6e67..32d312f 100644
--- a/gas/testsuite/gas/arc/attr-em4.d
+++ b/gas/testsuite/gas/arc/attr-em4.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "em4"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-em4_dmips.d b/gas/testsuite/gas/arc/attr-em4_dmips.d
index 4d923bd..1973db2 100644
--- a/gas/testsuite/gas/arc/attr-em4_dmips.d
+++ b/gas/testsuite/gas/arc/attr-em4_dmips.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "em4_dmips"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-em4_fpuda.d b/gas/testsuite/gas/arc/attr-em4_fpuda.d
index 432315a..2ff3f66 100644
--- a/gas/testsuite/gas/arc/attr-em4_fpuda.d
+++ b/gas/testsuite/gas/arc/attr-em4_fpuda.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "em4_fpuda"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD,FPUDA"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-em4_fpus.d b/gas/testsuite/gas/arc/attr-em4_fpus.d
index b658e2a..e5cdb91 100644
--- a/gas/testsuite/gas/arc/attr-em4_fpus.d
+++ b/gas/testsuite/gas/arc/attr-em4_fpus.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "em4_fpus"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-hs.d b/gas/testsuite/gas/arc/attr-hs.d
index 8486214..716635b 100644
--- a/gas/testsuite/gas/arc/attr-hs.d
+++ b/gas/testsuite/gas/arc/attr-hs.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "hs"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-hs34.d b/gas/testsuite/gas/arc/attr-hs34.d
index 8b92ec6..2bf6a12 100644
--- a/gas/testsuite/gas/arc/attr-hs34.d
+++ b/gas/testsuite/gas/arc/attr-hs34.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "hs34"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-hs38.d b/gas/testsuite/gas/arc/attr-hs38.d
index 8972431..915ccdd 100644
--- a/gas/testsuite/gas/arc/attr-hs38.d
+++ b/gas/testsuite/gas/arc/attr-hs38.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "hs38"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-hs38_linux.d b/gas/testsuite/gas/arc/attr-hs38_linux.d
index a695f29..41b5eda 100644
--- a/gas/testsuite/gas/arc/attr-hs38_linux.d
+++ b/gas/testsuite/gas/arc/attr-hs38_linux.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "hs38_linux"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-mul64.d b/gas/testsuite/gas/arc/attr-mul64.d
index 5fc75ff..81cb722 100644
--- a/gas/testsuite/gas/arc/attr-mul64.d
+++ b/gas/testsuite/gas/arc/attr-mul64.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_base: ARC6xx
Tag_ARC_CPU_name: "arc600_mul64"
Tag_ARC_ABI_osver: v4
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-name.d b/gas/testsuite/gas/arc/attr-name.d
index ff9a34b..25e3ce8 100644
--- a/gas/testsuite/gas/arc/attr-name.d
+++ b/gas/testsuite/gas/arc/attr-name.d
@@ -20,3 +20,4 @@ File Attributes
Tag_ARC_ISA_config: "CD,FPUDA"
Tag_ARC_ISA_apex: "QUARKSE"
Tag_ARC_ISA_mpy_option: 6
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-nps400.d b/gas/testsuite/gas/arc/attr-nps400.d
index 15009ce..403d046 100644
--- a/gas/testsuite/gas/arc/attr-nps400.d
+++ b/gas/testsuite/gas/arc/attr-nps400.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "nps400"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "NPS400"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-override-mcpu.d b/gas/testsuite/gas/arc/attr-override-mcpu.d
index 67241e9..a8a88e4 100644
--- a/gas/testsuite/gas/arc/attr-override-mcpu.d
+++ b/gas/testsuite/gas/arc/attr-override-mcpu.d
@@ -8,3 +8,4 @@ File Attributes
Tag_ARC_CPU_name: "archs"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD"
+ Tag_ARC_ATR_version: 1
diff --git a/gas/testsuite/gas/arc/attr-quarkse_em.d b/gas/testsuite/gas/arc/attr-quarkse_em.d
index 64c85c3..3f433c4 100644
--- a/gas/testsuite/gas/arc/attr-quarkse_em.d
+++ b/gas/testsuite/gas/arc/attr-quarkse_em.d
@@ -9,3 +9,4 @@ File Attributes
Tag_ARC_CPU_name: "quarkse_em"
Tag_ARC_ABI_osver: v4
Tag_ARC_ISA_config: "CD,DPFP,SPFP"
+ Tag_ARC_ATR_version: 1