[objective-c/c++, testsuite] Fix stubify tests for -fnext-runtime.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 20 Jun 2019 19:15:58 +0000 (19:15 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 20 Jun 2019 19:15:58 +0000 (19:15 +0000)
commitb7a0332ccd21c04a37535c97f04abc4bc28fb321
tree75fcf28505119a6c8e5854919e350681c5501d40
parent91bed1a15a6dfb891b9658532b49f9488b5537f4
[objective-c/c++, testsuite] Fix stubify tests for -fnext-runtime.

These tests were broken in the first place, and more broken following
the change to drop pic symbol stubs unless the linker needs them.

Fixed to work for x86 as well as powerpc and amended the options to
force pic symbol stubs on.

gcc/testsuite/

2019-06-20  Iain Sandoe  <iain@sandoe.co.uk>

* obj-c++.dg/stubify-1.mm: Adjust options and scan-asm checks.
* obj-c++.dg/stubify-2.mm: Likewise.
* objc.dg/stubify-1.m: Likewise.
* objc.dg/stubify-2.m: Likewise.

From-SVN: r272518
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/stubify-1.mm
gcc/testsuite/obj-c++.dg/stubify-2.mm
gcc/testsuite/objc.dg/stubify-1.m
gcc/testsuite/objc.dg/stubify-2.m