ld: Pass -z separate-code to ld for property-x86-4a tests
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 31 Aug 2018 12:11:03 +0000 (05:11 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 31 Aug 2018 12:11:03 +0000 (05:11 -0700)
commit4bb3c591b258d12dd0f743e538b7214cbb92ebf7
treed7e2b9910894cb83421536f25654b24178060e16
parente9d644e8fb2e7fa2f61e4b978f75881d906e0dbc
ld: Pass -z separate-code to ld for property-x86-4a tests

Pass -z separate-code to ld for property-x86-4a tests to generate
the expected .note.gnu.property section.  Also run i386 tests for
x86_64-*-elf* targets.

* testsuite/ld-i386/i386.exp: Also run for x86_64-*-elf* targets.
* testsuite/ld-i386/property-x86-4a.d: Pass -z separate-code to
ld.
* testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-4a.d: Likewise.
ld/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/property-x86-4a.d
ld/testsuite/ld-x86-64/property-x86-4a-x32.d
ld/testsuite/ld-x86-64/property-x86-4a.d