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

From-SVN: r272060

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

index db5f938..80cb5cc 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-07  Mark Eggleston <mark.eggleston@codethink.com>
 
        PR fortran/89100
index cca6d64..35ccbc8 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*-*-*] } {