diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2017-04-24 05:31:31 -0700 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2017-04-24 05:31:31 -0700 |
commit | 8b353c47b70568ab9f0cfd619b7a19e931c2b0c8 (patch) | |
tree | ce18542da9842206eab749a872249eab79ecb4ac /ld | |
parent | 957f6b39cab6cac0e4c54e650c7f75109544ac1d (diff) | |
download | gdb-8b353c47b70568ab9f0cfd619b7a19e931c2b0c8.zip gdb-8b353c47b70568ab9f0cfd619b7a19e931c2b0c8.tar.gz gdb-8b353c47b70568ab9f0cfd619b7a19e931c2b0c8.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-sparc/tlssunbin64.dd | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-sparc/tlssunnopic64.dd | 2 | ||||
-rw-r--r-- | 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 |