x86-64: Add some x32 ELF property tests
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Jun 2017 17:43:43 +0000 (10:43 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Jun 2017 17:43:43 +0000 (10:43 -0700)
commit654f3b6a2af84ba0f9c6a4c011364b8f650d66a6
tree2ac34eef00468c6f56933a7e015c661c8630d689
parentdbb2bcd0059f8d91de5a792f8684c8908c316720
x86-64: Add some x32 ELF property tests

* testsuite/ld-x86-64/property-x86-3-x32.d: New file.
* testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-4b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-3.d: Also pass
-defsym __64_bit__=1 to asssembler.
* testsuite/ld-x86-64/property-x86-4a.d: Likewise.
* testsuite/ld-x86-64/property-x86-4b.d: Likewise.
* testsuite/ld-x86-64/property-x86-3.s: Align to 4 bytes if
__64_bit__ isn't defined.
* testsuite/ld-x86-64/property-x86-4a.s: Likewise.
* testsuite/ld-x86-64/property-x86-4b.s: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run property-x86-3-x32,
property-x86-4a-x32 and property-x86-4b-x32.
ld/ChangeLog
ld/testsuite/ld-x86-64/property-x86-3-x32.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-3.d
ld/testsuite/ld-x86-64/property-x86-3.s
ld/testsuite/ld-x86-64/property-x86-4a-x32.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-4a.d
ld/testsuite/ld-x86-64/property-x86-4b-x32.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-4b.d
ld/testsuite/ld-x86-64/property-x86-4b.s
ld/testsuite/ld-x86-64/x86-64.exp