Better make rule for arch/ files built for IPA
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / size.exp
index b908c9198bfcd799d2229e50a4cd6afbb5da331b..81dacab15ec17a52638f77e248c273f2ba252ec6 100644 (file)
@@ -1,8 +1,8 @@
-#   Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
+#   Copyright (C) 1993-2017 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -12,7 +12,7 @@
 # 
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
 
 # Please email any bugs, comments, and/or additions to this file to:
 # bug-dejagnu@prep.ai.mit.edu
@@ -53,6 +53,9 @@ if ![regexp $want $got all text data bss dtot hextot] then {
     fail "size (no arguments)"
 } else {
     if {$text < 8 || $data < 4} then {
+       # The z80-coff port defaults to a "binary" like output
+       # file format which does not include a data section.
+       setup_xfail "z80-*-coff"
        fail "size (no arguments)"
     } else {
        pass "size (no arguments)"
@@ -63,7 +66,7 @@ if ![regexp $want $got all text data bss dtot hextot] then {
 
 set got [binutils_run $SIZE "$SIZEFLAGS -A ${testfile}"]
 
-set want "${testfile}.*(text|TEXT)\[^\n\r\]*\[         \]($dec)\[      \]+$dec.*(\\.data|DATA)\[^\n\r\]*\[     \]($dec)\[      \]+$dec"
+set want "${testfile}.*(text|TEXT|P)\[^\n\r\]*\[       \]($dec)\[      \]+$dec.*(\\.data|DATA|D_1)\[^\n\r\]*\[         \]($dec)\[      \]+$dec"
 
 if ![regexp $want $got all textname textsize dataname datasize] then {
     fail "size -A"
This page took 0.024054 seconds and 4 git commands to generate.