]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*.
authorJohn David Anglin <danglin@gcc.gnu.org>
Fri, 7 Jun 2019 23:22:15 +0000 (23:22 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 7 Jun 2019 23:22:15 +0000 (23:22 +0000)
* lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*.

From-SVN: r272062

gcc/testsuite/ChangeLog
gcc/testsuite/lib/scanasm.exp

index 9b909b3b4456544b7cd5a1a57e11307a62eb548e..f131f62dd7c9c64e1300e9a02592679fd1d71bef 100644 (file)
@@ -1,3 +1,7 @@
+2019-06-07  John David Anglin  <danglin@gcc.gnu.org>
+
+       * lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*.
+
 2019-06-06  Richard Biener  <rguenther@suse.de>
 
        Backport from mainline
index cca6d642cc630c545a5e7553d08250e83a49a9e6..35ccbc86fc0371401e6e6b88bc07f69e44844a79 100644 (file)
@@ -508,7 +508,10 @@ proc dg-function-on-line { args } {
        }
     }
 
-    if { [istarget hppa*-*-*] } {
+    if { [istarget hppa*-*-linux*] } {
+       set pattern [format {%s:\n\t.PROC\n\t.CALLINFO.*\n\t.ENTRY\n.L.*:\n(\t.file[^\t]*)*\t[^:]+:%d(:[0-9]+)?\n} \
+                     $symbol $line]
+    } elseif { [istarget hppa*-*-*] } {
        set pattern [format {\t;[^:]+:%d(:[0-9]+)?\n(\t[^\t]+\n)+%s:\n\t.PROC} \
                      $line $symbol]
     } elseif { [istarget mips*-*-*] } {