aboutsummaryrefslogtreecommitdiff
path: root/ld
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 /ld
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 'ld')
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/testsuite/ld-arc/attr-merge-0.d1
-rw-r--r--ld/testsuite/ld-arc/attr-merge-1.d1
-rw-r--r--ld/testsuite/ld-arc/attr-merge-2.d1
-rw-r--r--ld/testsuite/ld-arc/attr-merge-3.d1
-rw-r--r--ld/testsuite/ld-arc/attr-merge-5.d1
6 files changed, 13 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 62ba530..04f19ce 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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,
diff --git a/ld/testsuite/ld-arc/attr-merge-0.d b/ld/testsuite/ld-arc/attr-merge-0.d
index 2c3a909..eda47ad 100644
--- a/ld/testsuite/ld-arc/attr-merge-0.d
+++ b/ld/testsuite/ld-arc/attr-merge-0.d
@@ -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
diff --git a/ld/testsuite/ld-arc/attr-merge-1.d b/ld/testsuite/ld-arc/attr-merge-1.d
index e2e804d..e4ef919 100644
--- a/ld/testsuite/ld-arc/attr-merge-1.d
+++ b/ld/testsuite/ld-arc/attr-merge-1.d
@@ -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
diff --git a/ld/testsuite/ld-arc/attr-merge-2.d b/ld/testsuite/ld-arc/attr-merge-2.d
index 4c6898e..9d57d48 100644
--- a/ld/testsuite/ld-arc/attr-merge-2.d
+++ b/ld/testsuite/ld-arc/attr-merge-2.d
@@ -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
diff --git a/ld/testsuite/ld-arc/attr-merge-3.d b/ld/testsuite/ld-arc/attr-merge-3.d
index 00d6de0..bac898f 100644
--- a/ld/testsuite/ld-arc/attr-merge-3.d
+++ b/ld/testsuite/ld-arc/attr-merge-3.d
@@ -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
diff --git a/ld/testsuite/ld-arc/attr-merge-5.d b/ld/testsuite/ld-arc/attr-merge-5.d
index f08b762..3f661be 100644
--- a/ld/testsuite/ld-arc/attr-merge-5.d
+++ b/ld/testsuite/ld-arc/attr-merge-5.d
@@ -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