From 8b353c47b70568ab9f0cfd619b7a19e931c2b0c8 Mon Sep 17 00:00:00 2001 From: "Jose E. Marchesi" Date: Mon, 24 Apr 2017 05:31:31 -0700 Subject: [PATCH] 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 * 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. --- 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 c6daa9a1333..9ab31fa1fbc 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2017-04-24 Jose E. Marchesi + + * 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 PR ld/21402 diff --git a/ld/testsuite/ld-sparc/tlssunbin64.dd b/ld/testsuite/ld-sparc/tlssunbin64.dd index cd7db1c55fd..bc6b76152c0 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 af4918c686a..cd872f2df39 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 5e94858182d..00dbc20c84f 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 -- 2.30.2