Skip to content

Commit

Permalink
MIPS/GAS/testsuite: Disable compact EH #7 tests with OpenBSD targets
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
maciej-w-rozycki committed Jul 28, 2023
1 parent f625926 commit 2b4a60a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gas/testsuite/gas/mips/compact-eh-eb-7.d
Original file line number Diff line number Diff line change
Expand Up @@ -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.*

Expand Down
1 change: 1 addition & 0 deletions gas/testsuite/gas/mips/compact-eh-el-7.d
Original file line number Diff line number Diff line change
Expand Up @@ -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.*

Expand Down

0 comments on commit 2b4a60a

Please sign in to comment.