diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-05-06 11:39:14 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2024-08-11 00:18:26 +0800 |
commit | 8035619b7313d9503852e1c7c8c06cfddca4d648 (patch) | |
tree | f0a070771a5d53cdb78656ba8bab05c6e5c3136d | |
parent | 331f7d8a393af99afccdb2729d4ab45797fd7a86 (diff) | |
download | gcc-8035619b7313d9503852e1c7c8c06cfddca4d648.zip gcc-8035619b7313d9503852e1c7c8c06cfddca4d648.tar.gz gcc-8035619b7313d9503852e1c7c8c06cfddca4d648.tar.bz2 |
i386: testsuite: Adapt fentryname3.c for r14-811 change [PR70150]
After r14-811 "call *nop@GOTPCREL(%rip)" is only generated with
-mno-direct-extern-access even if --enable-default-pie. So the r13-1614
change to this file is not valid anymore.
gcc/testsuite/ChangeLog:
PR testsuite/70150
* gcc.target/i386/fentryname3.c (dg-final): Revert r13-1614
change.
-rw-r--r-- | gcc/testsuite/gcc.target/i386/fentryname3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/i386/fentryname3.c b/gcc/testsuite/gcc.target/i386/fentryname3.c index c14a4eb..bd7c997 100644 --- a/gcc/testsuite/gcc.target/i386/fentryname3.c +++ b/gcc/testsuite/gcc.target/i386/fentryname3.c @@ -3,8 +3,7 @@ /* { dg-require-profiling "-pg" } */ /* { dg-options "-pg -mfentry" } */ /* { dg-final { scan-assembler "section.*__entry_loc" } } */ -/* { dg-final { scan-assembler "0x0f, 0x1f, 0x44, 0x00, 0x00" { target nonpic } } } */ -/* { dg-final { scan-assembler "call\t\\*nop@GOTPCREL" { target { ! nonpic } } } } */ +/* { dg-final { scan-assembler "0x0f, 0x1f, 0x44, 0x00, 0x00" } } */ /* { dg-final { scan-assembler-not "__fentry__" } } */ __attribute__((fentry_name("nop"), fentry_section("__entry_loc"))) |