]> gcc.gnu.org Git - 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>
Tue, 2 May 2023 10:10:26 +0000 (12:10 +0200)
commit867024b8905a824c1b59a0b6b4175e6da4040c65
treecc1b56af0003085f345bfeee08f412431b93e1c0
parent835a5796c39dcbd6ca4c167a317853d2a24495ff
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
This page took 0.060911 seconds and 5 git commands to generate.