ld: Skip bootstrap tests for -fprofile-generate=
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Oct 2020 13:10:08 +0000 (06:10 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Oct 2020 14:03:59 +0000 (07:03 -0700)
commit6faad766e7515fe1b7e57d9d2857a9b661a98481
treebd89ad84fc9f9bb5732baaf4fea6c35d69dbd4af
parent1bd57575dcb693d7fbda49bee44e81c20d1be7bf
ld: Skip bootstrap tests for -fprofile-generate=

Make plug_opt available to all linker tests.  Skip bootstrap tests when
linker is compiled with -fprofile-generate=.

* testsuite/ld-plugin/lto.exp (plug_opt): Moved to ...
* testsuite/config/default.exp (plug_opt): Here.  New.
* testsuite/ld-bootstrap/bootstrap.exp: Skip when linker is
compiled with -fprofile-generate=.
ld/ChangeLog
ld/testsuite/config/default.exp
ld/testsuite/ld-bootstrap/bootstrap.exp
ld/testsuite/ld-plugin/lto.exp