From: David Edelsohn Date: Tue, 17 Nov 2020 16:14:13 +0000 (-0500) Subject: testsuite: allow opd section X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8895913273b97d07f9576f5eb497d39b78166daf;p=gcc.git 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. --- diff --git a/gcc/testsuite/gcc.dg/pr25376.c b/gcc/testsuite/gcc.dg/pr25376.c index accf3235b67..d66f2e13006 100644 --- a/gcc/testsuite/gcc.dg/pr25376.c +++ b/gcc/testsuite/gcc.dg/pr25376.c @@ -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\"} } } */