This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] ld: fix regressions with rett instructions in sparc tests.
- From: Jose E.Marchesi <jemarch at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 24 Apr 2017 12:39:31 -0000
- Subject: [binutils-gdb] ld: fix regressions with rett instructions in sparc tests.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8b353c47b70568ab9f0cfd619b7a19e931c2b0c8
commit 8b353c47b70568ab9f0cfd619b7a19e931c2b0c8
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Mon Apr 24 05:31:31 2017 -0700
ld: fix regressions with rett instructions in sparc tests.
A few tests in the ld testsuite were expecting the disassembler to
emit `rett' instructions in V9. This patch updates the tests to
expect `return' instead.
ld/ChangeLog:
2017-04-24 Jose E. Marchesi <jose.marchesi@oracle.com>
* testsuite/ld-sparc/tlssunbin64.dd: Expect `return' instructions
instead of `rett' in V9.
* testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
* testsuite/ld-sparc/tlssunpic64.dd: Likewise.
Diff:
---
ld/ChangeLog | 7 +++++++
ld/testsuite/ld-sparc/tlssunbin64.dd | 2 +-
ld/testsuite/ld-sparc/tlssunnopic64.dd | 2 +-
ld/testsuite/ld-sparc/tlssunpic64.dd | 2 +-
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c6daa9a..9ab31fa 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2017-04-24 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * testsuite/ld-sparc/tlssunbin64.dd: Expect `return' instructions
+ instead of `rett' in V9.
+ * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
+ * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
+
2017-04-21 H.J. Lu <hongjiu.lu@intel.com>
PR ld/21402
diff --git a/ld/testsuite/ld-sparc/tlssunbin64.dd b/ld/testsuite/ld-sparc/tlssunbin64.dd
index cd7db1c..bc6b761 100644
--- a/ld/testsuite/ld-sparc/tlssunbin64.dd
+++ b/ld/testsuite/ld-sparc/tlssunbin64.dd
@@ -165,7 +165,7 @@ Disassembly of section .text:
+10125c: 01 00 00 00 nop *
+101260: 01 00 00 00 nop *
+101264: 01 00 00 00 nop *
- +101268: 81 cf e0 08 rett %i7 \+ 8
+ +101268: 81 cf e0 08 return %i7 \+ 8
+10126c: 01 00 00 00 nop *
#...
diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.dd b/ld/testsuite/ld-sparc/tlssunnopic64.dd
index af4918c..cd872f2 100644
--- a/ld/testsuite/ld-sparc/tlssunnopic64.dd
+++ b/ld/testsuite/ld-sparc/tlssunnopic64.dd
@@ -83,6 +83,6 @@ Disassembly of section .text:
+1118: 01 00 00 00 nop *
+111c: 01 00 00 00 nop *
+1120: 01 00 00 00 nop *
- +1124: 81 cf e0 08 rett %i7 \+ 8
+ +1124: 81 cf e0 08 return %i7 \+ 8
+1128: 01 00 00 00 nop *
#pass
diff --git a/ld/testsuite/ld-sparc/tlssunpic64.dd b/ld/testsuite/ld-sparc/tlssunpic64.dd
index 5e94858..00dbc20 100644
--- a/ld/testsuite/ld-sparc/tlssunpic64.dd
+++ b/ld/testsuite/ld-sparc/tlssunpic64.dd
@@ -215,6 +215,6 @@ Disassembly of section .text:
+1320: 01 00 00 00 nop *
+1324: 01 00 00 00 nop *
+1328: 01 00 00 00 nop *
- +132c: 81 cf e0 08 rett %i7 \+ 8
+ +132c: 81 cf e0 08 return %i7 \+ 8
+1330: 01 00 00 00 nop *
#pass