[ARC] Add Tag_ARC_ATR_version.
authorclaziss <claziss@synopsys.com>
Mon, 6 Aug 2018 13:41:32 +0000 (16:41 +0300)
committerClaudiu Zissulescu <claziss@gmail.com>
Mon, 6 Aug 2018 13:41:32 +0000 (16:41 +0300)
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.

43 files changed:
bfd/ChangeLog
bfd/elf32-arc.c
binutils/ChangeLog
binutils/readelf.c
gas/ChangeLog
gas/config/tc-arc.c
gas/testsuite/gas/arc/attr-arc600.d
gas/testsuite/gas/arc/attr-arc600_mul32x16.d
gas/testsuite/gas/arc/attr-arc600_norm.d
gas/testsuite/gas/arc/attr-arc601.d
gas/testsuite/gas/arc/attr-arc601_mul32x16.d
gas/testsuite/gas/arc/attr-arc601_mul64.d
gas/testsuite/gas/arc/attr-arc601_norm.d
gas/testsuite/gas/arc/attr-arc700.d
gas/testsuite/gas/arc/attr-arcem.d
gas/testsuite/gas/arc/attr-archs.d
gas/testsuite/gas/arc/attr-autodetect-1.d
gas/testsuite/gas/arc/attr-cpu-a601.d
gas/testsuite/gas/arc/attr-cpu-a700.d
gas/testsuite/gas/arc/attr-cpu-em.d
gas/testsuite/gas/arc/attr-cpu-hs.d
gas/testsuite/gas/arc/attr-em.d
gas/testsuite/gas/arc/attr-em4.d
gas/testsuite/gas/arc/attr-em4_dmips.d
gas/testsuite/gas/arc/attr-em4_fpuda.d
gas/testsuite/gas/arc/attr-em4_fpus.d
gas/testsuite/gas/arc/attr-hs.d
gas/testsuite/gas/arc/attr-hs34.d
gas/testsuite/gas/arc/attr-hs38.d
gas/testsuite/gas/arc/attr-hs38_linux.d
gas/testsuite/gas/arc/attr-mul64.d
gas/testsuite/gas/arc/attr-name.d
gas/testsuite/gas/arc/attr-nps400.d
gas/testsuite/gas/arc/attr-override-mcpu.d
gas/testsuite/gas/arc/attr-quarkse_em.d
include/ChangeLog
include/elf/arc.h
ld/ChangeLog
ld/testsuite/ld-arc/attr-merge-0.d
ld/testsuite/ld-arc/attr-merge-1.d
ld/testsuite/ld-arc/attr-merge-2.d
ld/testsuite/ld-arc/attr-merge-3.d
ld/testsuite/ld-arc/attr-merge-5.d

index 95fe0eef0715f22637f0790715e890e3d0ff83e4..6b5481c2d459401771995c3b8362a5bd25b819b8 100644 (file)
@@ -1,3 +1,8 @@
+2018-08-06  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * elf32-arc.c (arc_elf_merge_attributes): Handle
+       Tag_ARC_ATR_version.
+
 2018-08-05  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (ADDI_R12_R11, ADDI_R12_R12, LIS_R12),
index a48ef0ca15fb1effb0d0aea0538515bfc817c98d..aaa2c3b9907f30c2be5d4e5884ea4c2a9ef3a5d8 100644 (file)
@@ -578,6 +578,7 @@ arc_elf_merge_attributes (bfd *ibfd, struct bfd_link_info *info)
   bfd_boolean result = TRUE;
   const char *sec_name = get_elf_backend_data (ibfd)->obj_attrs_section;
   char *tagname = NULL;
+  int offset = 0;
 
   /* Skip the linker stubs file.  This preserves previous behavior
      of accepting unknown attributes in the first input file - but
@@ -805,6 +806,11 @@ arc_elf_merge_attributes (bfd *ibfd, struct bfd_link_info *info)
          /* It is handled in Tag_ARC_CPU_base.  */
          break;
 
+       case Tag_ARC_ATR_version:
+         if (out_attr[i].i == 0)
+           out_attr[i].i = in_attr[i].i;
+         break;
+
        default:
          result
            = result && _bfd_elf_merge_unknown_attribute_low (ibfd, obfd, i);
index d7648eff785facc74388c306eebb78afa201b4da..9fce7b672136d54153878556ed873fb090b0defd 100644 (file)
@@ -1,3 +1,7 @@
+2018-08-06  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
+
 2018-08-03  Nick Clifton  <nickc@redhat.com>
 
        * objcopy.c (merge_gnu_build_notes): Delete empty notes.  Merge
index 90dbdf7e2b492ad7cbde8c358ae4e80c1e78f1df..8a61db64595eece2ce4bf204864beb219a5841e7 100644 (file)
@@ -14246,6 +14246,12 @@ display_arc_attribute (unsigned char * p,
       printf ("  Tag_ARC_ISA_mpy_option: %d\n", val);
       break;
 
+    case Tag_ARC_ATR_version:
+      val = read_uleb128 (p, &len, end);
+      p += len;
+      printf ("  Tag_ARC_ATR_version: %d\n", val);
+      break;
+
     default:
       return display_tag_value (tag & 1, p, end);
     }
index a97edcde54525ef4153dfb808d43062067a890a6..9c764c7f3101947d19cd44addf3f681f8805cd73 100644 (file)
@@ -1,3 +1,38 @@
+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
index 3fc907a163a96652389b51fd640ddb7625c6d485..7bf30816c09c1b4df389efc44fdc2090cdc73968 100644 (file)
@@ -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;
index 07eecc6a0d93e08cacf54b8229a9649356c5144b..db252f81cd98cc2fad7f12e243cb793cb7983164 100644 (file)
@@ -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
index 6ca411d3ee07fd0787cd0dfb04f9a45bda351c11..b88839dea604db77d6cfd00f6815d36badd41f24 100644 (file)
@@ -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
index 2ff0a71b4ffa79ae52dde10e659a131b0dfa9cef..58dd43ee5cc73669a41c3aaf44c6448417efbf4e 100644 (file)
@@ -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
index f8fb744f80ddc13f76434e1086e7d013cfd3ac51..7c660569e91416e7d6bb5e477425c79f013bd967 100644 (file)
@@ -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
index 81042762432f2e7f833327e97b64ef70de3c0c7b..9fff7508e3567bdac2c0d107f5b84d5d6398daa7 100644 (file)
@@ -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
index 998547652f953c22f3acc2acbc1221a81a5b3c39..96ff6961a42ac738618d05dbb75441e5c413ec3b 100644 (file)
@@ -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
index 18131dcb65f669622503c29e2bd9d786dbc8d3a2..6019a12f841f4da827d30207fb86d86d4355836e 100644 (file)
@@ -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
index cc4dc38ccccd20d22e5430d2193f05ae56dbdfe4..41a5f740c6ff65612c477cc9179e0deb0128b3ae 100644 (file)
@@ -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
index da9747387fc856e2e8d2b77b605ab54b6c24f050..25a6958bd7f7f95e9e4b7cf165b89154cc327bbc 100644 (file)
@@ -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
index c0d2e6350c56335ebc3693ea4fce94d7326a69c1..a32d76ea42b7ece0830b514c725c02072259bf32 100644 (file)
@@ -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
index bbe85254984963d6bb0bfff7815ee437ea9d6bc9..73352c9e5671b6cc388c261d73cb6b0ca0e91b6c 100644 (file)
@@ -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
index 33a2f3147d28a3f31c9d820aaabfadece1473062..97c1f91d4c5e84b5a5896aef214a5431304bc856 100644 (file)
@@ -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
index db69adecc6277c3c7c138ce7096865a004b42bd4..41c0c67a5aeb03efd258cab8d14be315c00c7677 100644 (file)
@@ -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
index c635bd5ad74b3856ae302460578b41d25e862a94..5b26025ce0ce2b9e8ac579cca215154d53a79a20 100644 (file)
@@ -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
index 4de82ad7d7a23e0a16b0864a04cbf261d9f7d056..aa8a3e66b687eab1aabb6ec12c50b4ff62f2398e 100644 (file)
@@ -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
index a322ff6581408fb610c3c9b23fc4beead2ca36c1..94e365ac694b5af79459712430d8c654c7d9ed40 100644 (file)
@@ -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
index bbc6e676f05ae4fbe17cd81976f5ddc63131f9b5..32d312fdad45cac1e77b6a0594f42db4fb630b62 100644 (file)
@@ -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
index 4d923bdb98c696875ae31db3bb16a6a9421c577b..1973db27bcd58777a95e3c8ab5f1e1e2672d3f76 100644 (file)
@@ -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
index 432315a34cf8bc3c4b87b16f804bc462a9b6a113..2ff3f66701ea74134918d8ff63d5d9c0f8a9bcd3 100644 (file)
@@ -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
index b658e2aa57da438e2eeae1844023b5e067649907..e5cdb914d841ac508568b1d4c6c0479c2afc3575 100644 (file)
@@ -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
index 8486214918e0c5a3364083b14a9e86e4c67faf03..716635bef2ea77b7b607579d91612f52dc227f1c 100644 (file)
@@ -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
index 8b92ec6a9cb3f416dc19e649ac6be6befba937e1..2bf6a12de4b5a410dda61fbdfc8b4c62163e22df 100644 (file)
@@ -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
index 89724313a9b0b19dc6fc4c634df1f27c19036f32..915ccdd4d6439b2396d02e7324da99c2cefd169b 100644 (file)
@@ -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
index a695f29dfa611582b3bb8429678b4eccc7522634..41b5eda788ad2db8ccac5b17f6c8c2f8a4d32318 100644 (file)
@@ -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
index 5fc75ff96530f74b6985629b4c90f81047822619..81cb72244f561ec1fec67fbc4993007a5b556417 100644 (file)
@@ -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
index ff9a34bb9ba6deb8c719fb55a4fca712515f6d1d..25e3ce823b081e78515b740aacff34cbcfd895f2 100644 (file)
@@ -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
index 15009cedf0b7844073e4d144dcf6b2dddacc50fd..403d04635b1d3cc337168ef14357ffdcdb23e607 100644 (file)
@@ -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
index 67241e99df729bf6600d66041aed2f016faaabf8..a8a88e4463f4ecac9d25e49a562ba2656f831dbe 100644 (file)
@@ -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
index 64c85c3e681232811f43089a40a3a206c714e8ce..3f433c4d55755c43b77feda1362f40b00f7a6bfa 100644 (file)
@@ -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
index e36dd49b050d31b2a030734d2a4a3ccd3b1e2a4f..d75f11c944f007cc4b13e6bfd1843715aa5285d6 100644 (file)
@@ -1,3 +1,7 @@
+2018-08-06  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * elf/arc.h (Tag_ARC_ATR_version): New tag.
+
 2018-08-06  Claudiu Zissulescu  <claziss@synopsys.com>
 
        * opcode/arc.h (ARC_OPCODE_ARCV1): Define.
index 85617fc0c9fcc2dbb058343d139ec0d6794cb278..72eaf1be164585dc2b1495a6cfa631c6cad02116 100644 (file)
@@ -83,7 +83,8 @@ enum {
   Tag_ARC_ABI_double_size,
   Tag_ARC_ISA_config,
   Tag_ARC_ISA_apex,
-  Tag_ARC_ISA_mpy_option
+  Tag_ARC_ISA_mpy_option,
+  Tag_ARC_ATR_version = 20
 };
 
 /* Values for the Tag_ARC_cpu_base attribute.  */
index 62ba53007777120222aa03deb9c7911e5648a81d..04f19ce082aa33dcd563a7f654ae4598ff45ec8e 100644 (file)
@@ -1,3 +1,11 @@
+2018-08-06  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.
+
 2018-08-05  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-powerpc/ext.d,
index 2c3a9091a970867284eb8fde076e987e46ddde09..eda47ade282b1b89572492d2a34ad6ef0651ba2b 100644 (file)
@@ -10,3 +10,4 @@ File Attributes
   Tag_ARC_CPU_name: "em"
   Tag_ARC_ABI_osver: v4
   Tag_ARC_ISA_config: "CD"
+  Tag_ARC_ATR_version: 1
index e2e804d78a98be733d94f34e41f00a371542cedb..e4ef91993dff299d041304fa7e89937071e9fc5d 100644 (file)
@@ -10,3 +10,4 @@ File Attributes
   Tag_ARC_CPU_name: "em"
   Tag_ARC_ABI_osver: v4
   Tag_ARC_ISA_config: "CD,DPFP,SPFP"
+  Tag_ARC_ATR_version: 1
index 4c6898e3c5e5023eb177332df664593420c9d0b4..9d57d4857e2c6e749c16ef6df3e8a459b7f32b8b 100644 (file)
@@ -10,3 +10,4 @@ File Attributes
   Tag_ARC_CPU_name: "em"
   Tag_ARC_ABI_osver: v5
   Tag_ARC_ISA_config: "CD"
+  Tag_ARC_ATR_version: 1
index 00d6de08cc1f3089aeaf11e01567bf07d6f370c2..bac898f1e8f62e87af4b412107c85ce2ea2d4400 100644 (file)
@@ -10,3 +10,4 @@ File Attributes
   Tag_ARC_CPU_name: "archs"
   Tag_ARC_ABI_osver: v4
   Tag_ARC_ISA_config: "CD,FPUS"
+  Tag_ARC_ATR_version: 1
index f08b76240913ec8adcda5920af07e63d22c114e6..3f661bec0dadb2a919e6b2843dc5664bc258caef 100644 (file)
@@ -11,3 +11,4 @@ File Attributes
   Tag_ARC_ABI_osver: v4
   Tag_ARC_ISA_config: "CD,FPUDA,BS"
   Tag_ARC_ISA_mpy_option: 6
+  Tag_ARC_ATR_version: 1