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:
David Edelsohn 2020-11-17 11:14:13 -05:00
parent b196e76aec
commit 8895913273
1 changed files with 1 additions and 1 deletions

View File

@ -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\"} } } */