mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 23:11:36 +08:00
testsuite: allow opd section
PPC64 Linux ELFv1 uses function descriptors with the descriptor placed in the .opd section. This patch expands the pattern in the testcase to accept .opd section name associated with the function name. gcc/testsuite/ChangeLog: * gcc.dg/pr25376.c: Allow .opd section.
This commit is contained in:
parent
b196e76aec
commit
8895913273
@ -7,4 +7,4 @@ void simple (void)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler "my_named_section" } } */
|
||||
/* { dg-final { scan-assembler-symbol-section {simple$} {^\.?my_named_section|simple\[DS\]} } } */
|
||||
/* { dg-final { scan-assembler-symbol-section {simple$} {^\.?my_named_section|simple\[DS\]|^\"\.opd\"} } } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user