MIPS/GAS/testsuite: Disable compact EH #7 tests with OpenBSD targets
authorMaciej W. Rozycki <macro@orcam.me.uk>
Fri, 28 Jul 2023 05:00:36 +0000 (06:00 +0100)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Fri, 28 Jul 2023 05:00:36 +0000 (06:00 +0100)
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
gas/testsuite/gas/mips/compact-eh-el-7.d

index 8c891237feed4aeb800137138689d072f822e7a1..6576e43bbdcded2011580b581ccd92e76f880720 100644 (file)
@@ -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 7296c606e0184f572f903dccc4f9af5fca8e5cae..9a12da7676e5c9b6c37088c3a5e67de0edac4235 100644 (file)
@@ -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.*