diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-03 20:21:50 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-03 20:21:50 +0000 |
commit | be376e099b22130219606422ace848a90af25e0f (patch) | |
tree | beca6f0873f9c89c3285477222e6c61c2684b58c /gcc/testsuite/lib/scanasm.exp | |
parent | 0224b4f890547eb608e4378faf9169f582a81d58 (diff) | |
download | gcc-be376e099b22130219606422ace848a90af25e0f.tar.gz |
2012-01-03 Andrew Pinski <apinski@cavium.com>
* lib/scanasm.exp (dg-function-on-line): Always use a special format
for all mips targets. Also allow an optional .cfi_startproc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182855 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/scanasm.exp')
-rw-r--r-- | gcc/testsuite/lib/scanasm.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp index 3ba22f9dad7..e03d241d93d 100644 --- a/gcc/testsuite/lib/scanasm.exp +++ b/gcc/testsuite/lib/scanasm.exp @@ -1,4 +1,4 @@ -# Copyright (C) 2000, 2002, 2003, 2007, 2008, 2010, 2011 +# Copyright (C) 2000, 2002, 2003, 2007, 2008, 2010, 2011, 2012 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -474,8 +474,8 @@ proc dg-function-on-line { args } { if { [istarget hppa*-*-*] } { set pattern [format {\t;[^:]+:%d\n(\t[^\t]+\n)+%s:\n\t.PROC} \ $line $symbol] - } elseif { [istarget mips-sgi-irix*] } { - set pattern [format {\t\.loc [0-9]+ %d 0( [^\n]*)?\n\t\.set\t(no)?mips16\n\t\.ent\t%s\n\t\.type\t%s, @function\n%s:\n} \ + } elseif { [istarget mips*-*-*] } { + set pattern [format {\t\.loc [0-9]+ %d 0( [^\n]*)?\n(\t.cfi_startproc[^\t]*\n)*\t\.set\t(no)?mips16\n\t\.ent\t%s\n\t\.type\t%s, @function\n%s:\n} \ $line $symbol $symbol $symbol] } else { set pattern [format {%s:[^\t]*(\t.(fnstart|frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \ |