This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [ARC] Update ld tests.


ld/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/ld-arc/tls_gd-01.d: Update test.
	* testsuite/ld-arc/arclinux-nps.d: Add cpu option.
---
 ld/ChangeLog                       | 5 +++++
 ld/testsuite/ld-arc/arclinux-nps.d | 2 +-
 ld/testsuite/ld-arc/tls_gd-01.d    | 4 ++--
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 840983b41d..e7471149db 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-09  Claudiu Zissulescu  <claziss@synopsys.com>
+
+	* testsuite/ld-arc/tls_gd-01.d: Update test.
+	* testsuite/ld-arc/arclinux-nps.d: Add cpu option.
+
 2018-11-09  Marc  <marc@groundctl.com>
 
 	PR 23872
diff --git a/ld/testsuite/ld-arc/arclinux-nps.d b/ld/testsuite/ld-arc/arclinux-nps.d
index 5ccd7fccb4..bff8f9f30c 100644
--- a/ld/testsuite/ld-arc/arclinux-nps.d
+++ b/ld/testsuite/ld-arc/arclinux-nps.d
@@ -1,5 +1,5 @@
 #source: arclinux-nps.s
-#as: -mnps400
+#as: -mcpu=arc700 -mnps400
 #ld: -marclinux_nps
 #objdump: -dr
 
diff --git a/ld/testsuite/ld-arc/tls_gd-01.d b/ld/testsuite/ld-arc/tls_gd-01.d
index 19943856ce..1b9a718789 100644
--- a/ld/testsuite/ld-arc/tls_gd-01.d
+++ b/ld/testsuite/ld-arc/tls_gd-01.d
@@ -10,5 +10,5 @@
 Disassembly of section \.text:
 
 [0-9a-f]+ <__start>:
- [0-9a-f]+:	2700 7f80 0000 2080 	add	r0,pcl,0x2080
- [0-9a-f]+:	2700 7f80 0000 2080 	add	r0,pcl,0x2080
+ [0-9a-f]+:	2700 7f80 0000 2080 	add	r0,pcl,0x2080\s+;2224 <baz>
+ [0-9a-f]+:	2700 7f80 0000 2080 	add	r0,pcl,0x2080\s+;222c <bar>
-- 
2.19.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]