aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-11-17 11:14:13 -0500
committerDavid Edelsohn <dje.gcc@gmail.com>2020-11-17 11:28:23 -0500
commit8895913273b97d07f9576f5eb497d39b78166daf (patch)
tree02e4504554855c7f431a7dd5d769131b69d3e5a1 /gcc
parentb196e76aecb675b9f6a1e4f15419606621459401 (diff)
downloadgcc-8895913273b97d07f9576f5eb497d39b78166daf.zip
gcc-8895913273b97d07f9576f5eb497d39b78166daf.tar.gz
gcc-8895913273b97d07f9576f5eb497d39b78166daf.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/pr25376.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr25376.c b/gcc/testsuite/gcc.dg/pr25376.c
index accf323..d66f2e1 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\"} } } */