[committed,03/16] MIPS/GAS/testsuite: Disable compact EH #7 tests with OpenBSD targets

Message ID alpine.DEB.2.21.2307271555380.10240@angie.orcam.me.uk
State Unresolved
Headers
Series MIPS: Revert the change of `mipsisa64*-*-linux*' semantics |

Checks

Context Check Description
snail/binutils-gdb-check warning Git am fail log

Commit Message

Maciej W. Rozycki July 28, 2023, 5:06 a.m. UTC
  Compact EH #7 tests use output templates that are not suitable for the 
n64 ABI, which `mips64*-*-openbsd*' targets use by default, because the 
contents of the sections examined are expected to be differnt.  Disable 
the tests then, removing these regressions:

mips64-openbsd  -FAIL: Compact EH EB #7 with personality id and fallback FDE
mips64-openbsd  -FAIL: Compact EH EL #7 with personality id and fallback FDE
mips64el-openbsd  -FAIL: Compact EH EB #7 with personality id and fallback FDE
mips64el-openbsd  -FAIL: Compact EH EL #7 with personality id and fallback FDE

Suitable corresponding tests for the n64 ABI can be added separately.

	gas/
	* testsuite/gas/mips/compact-eh-eb-7.d: Exclude for 
	`mips64*-*-openbsd*'.
	* testsuite/gas/mips/compact-eh-el-7.d: Likewise.
---
 gas/testsuite/gas/mips/compact-eh-eb-7.d |    1 +
 gas/testsuite/gas/mips/compact-eh-el-7.d |    1 +
 2 files changed, 2 insertions(+)

binutils-mips-gas-test-compact-eh-n64.diff
  

Patch

Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-7.d
===================================================================
--- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-eb-7.d
+++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-7.d
@@ -2,6 +2,7 @@ 
 #name: Compact EH EB #7 with personality id and fallback FDE
 #source: compact-eh-7.s
 #as: -EB -mno-pdr
+#notarget: mips64*-*-openbsd*
 
 .*:     file format.*
 
Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-7.d
===================================================================
--- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-el-7.d
+++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-7.d
@@ -2,6 +2,7 @@ 
 #name: Compact EH EL #7 with personality id and fallback FDE
 #source: compact-eh-7.s
 #as: -EL -mno-pdr
+#notarget: mips64*-*-openbsd*
 
 .*:     file format.*