[Darwin, testsuite] Handle Darwin's size command.
authorIain Sandoe <iains@gcc.gnu.org>
Fri, 26 Jul 2019 18:58:02 +0000 (18:58 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 26 Jul 2019 18:58:02 +0000 (18:58 +0000)
commit4f67cda8715f31107147e27346e10aacb8871697
treecff10c5a766a16064b05f67b85b77d95539547f9
parenta5378f9b60d37d9839aea8f9ef50ad9c5a0f738c
[Darwin, testsuite] Handle Darwin's size command.

Darwin's "size" command has a different header line, reflecting the Mach-O
section naming conventions.  This causes tests using the command to fail
because scanasm.exp expects and checks specific layout of the header line.

gcc/testsuite/

2019-07-26  Iain Sandoe  <iain@sandoe.co.uk>

* lib/scanasm.exp (object-size): Handle Darwin's size command.

From-SVN: r273839
gcc/testsuite/ChangeLog
gcc/testsuite/lib/scanasm.exp