]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: adjust NOP expectations for RISC-V
authorJan Beulich <jbeulich@suse.com>
Thu, 27 Apr 2023 07:36:55 +0000 (09:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 27 Apr 2023 07:36:55 +0000 (09:36 +0200)
commitd94ca762f6e0e4f117c1a61aa6d6613b2abc1216
tree30646307c4f11d4f9f9d698a6fd5a69fbbd8bdbf
parent95d4c0d2e6318aef88ba0bc607dfc1ec6b7a612f
testsuite: adjust NOP expectations for RISC-V

RISC-V will emit ".option nopic" when -fno-pie is in effect, which
matches the generic pattern. Just like done for Alpha, special-case
RISC-V.

gcc/testsuite/

* c-c++-common/patchable_function_entry-decl.c: Special-case
RISC-V.
* c-c++-common/patchable_function_entry-default.c: Likewise.
* c-c++-common/patchable_function_entry-definition.c: Likewise.
gcc/testsuite/c-c++-common/patchable_function_entry-decl.c
gcc/testsuite/c-c++-common/patchable_function_entry-default.c
gcc/testsuite/c-c++-common/patchable_function_entry-definition.c