[Darwin, X86, testsuite] Update tests for common section use.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 22 Nov 2019 20:58:54 +0000 (20:58 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 22 Nov 2019 20:58:54 +0000 (20:58 +0000)
commit839e636a9abe65f4880fb5d9609f8ee5ff277fe5
tree03817bfd57cacebf94d4a228435cf0481e293706
parent037ec35a4102a51375079c799c409121a15fe47b
[Darwin, X86, testsuite] Update tests for common section use.

The tests amended here now have different code-gen with default
options because, previously, the access were indirected per Darwin
ABI for common accesses.  The revised code-gen does not match the
expected scan-asms because Darwin defaults to fPIC.  For these tests,
it seems that the best solution is to use '-mdynamic-no-pic' in the
m32 case which makes the output similar to the ElF platform default.

gcc/testsuite/ChangeLog:

2019-11-22  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/i386/pr27971.c: Use mdynamic-no-pic for m32 on
Darwin.
* gcc.target/i386/sse2-load-multi.c: Likewise.
* gcc.target/i386/sse2-store-multi.c: Likewise.

From-SVN: r278631
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr27971.c
gcc/testsuite/gcc.target/i386/sse2-load-multi.c
gcc/testsuite/gcc.target/i386/sse2-store-multi.c