]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: testsuite: scfi: adjust COFI testcase
authorIndu Bhagat <indu.bhagat@oracle.com>
Fri, 26 Jan 2024 18:29:38 +0000 (10:29 -0800)
committerIndu Bhagat <indu.bhagat@oracle.com>
Fri, 26 Jan 2024 19:31:17 +0000 (11:31 -0800)
commit16cbeae1b2757dd661ef936a505c6b3818a52853
tree85df538a36a57fb2957b22e73638a4a5fa9f810d
parent1b06334552f33015a6293571e9381d43dec3a5d3
x86: testsuite: scfi: adjust COFI testcase

The testcase for change of flow instructions in its current shape is not
doing much: it checks that SCFI issues an appropriate warning.  The same
warning is covered by another testcase (scfi-unsupported-cfg-1); It is
better to test the ginsn translation instead, for these 'change of flow
instructions'.

gas/testsuite/
* gas/scfi/x86_64/scfi-cofi-1.s: Moved to...
* gas/scfi/x86_64/ginsn-cofi-1.s: ...here.
* gas/scfi/x86_64/scfi-x86-64.exp: Adjust tests.
* gas/scfi/x86_64/scfi-cofi-1.d: Removed.
* gas/scfi/x86_64/scfi-cofi-1.l: Removed.
* gas/scfi/x86_64/ginsn-cofi-1.l: New test.
gas/testsuite/gas/scfi/x86_64/ginsn-cofi-1.l [new file with mode: 0644]
gas/testsuite/gas/scfi/x86_64/ginsn-cofi-1.s [moved from gas/testsuite/gas/scfi/x86_64/scfi-cofi-1.s with 84% similarity]
gas/testsuite/gas/scfi/x86_64/scfi-cofi-1.d [deleted file]
gas/testsuite/gas/scfi/x86_64/scfi-cofi-1.l [deleted file]
gas/testsuite/gas/scfi/x86_64/scfi-x86-64.exp