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

Maciej W. Rozycki macro@orcam.me.uk
Fri Jul 28 05:06:42 GMT 2023


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
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.*
 


More information about the Binutils mailing list