[AArch64] Make LD testcases support ILP32 mode
authorJiong Wang <jiong.wang@arm.com>
Tue, 13 Dec 2016 12:50:17 +0000 (12:50 +0000)
committerJiong Wang <jiong.wang@arm.com>
Tue, 13 Dec 2016 12:50:17 +0000 (12:50 +0000)
commit971f1d27d2ee2732f9ab2fa75923007b40e2bbec
treea9c4310a7ed67b6da0b4e52908a5a01b1ddc6e31
parent1bec0c8632397f3c5cdcf27bbb53318f6a6af7e0
[AArch64] Make LD testcases support ILP32 mode

ld/
* testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_lp64_emul): New
function.
(run_dump_test_lp64): New function which pass LP64 mode options to both
assembler and linker when building test binary.
(aarch64elftests): Remove eh-frame-merge test.
(eh-frame-merge-lp64): Restrict eh-frame-merge test to LP64 only.
(run_dump_test): Migrate to run_dump_test_lp64 if the test source was
written for LP64 only.
* testsuite/ld-aarch64/erratum843419.d: Support ILP32 mode.
* testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
* testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
* testsuite/ld-aarch64/farcall-b.d: Likewise.
* testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
* testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
* testsuite/ld-aarch64/farcall-bl.d: Likewise.
* testsuite/ld-aarch64/ifunc-15.d: Likewise.
* testsuite/ld-aarch64/ifunc-16.d: Likewise.
* testsuite/ld-aarch64/ifunc-5a-local.d: Likewise.
* testsuite/ld-aarch64/ifunc-5a.d: Likewise.
* testsuite/ld-aarch64/ifunc-5b-local.d: Likewise.
* testsuite/ld-aarch64/ifunc-5b.d: Likewise.
* testsuite/ld-aarch64/ifunc-5r-local.d: Likewise.
* testsuite/ld-aarch64/ifunc-6a.d: Likewise.
* testsuite/ld-aarch64/ifunc-6b.d: Likewise.
* testsuite/ld-aarch64/ifunc-7a.d: Likewise.
* testsuite/ld-aarch64/ifunc-7b.d: Likewise.
* testsuite/ld-aarch64/ifunc-8.d: Likewise.
* testsuite/ld-aarch64/limit-b.d: Likewise.
* testsuite/ld-aarch64/limit-bl.d: Likewise.
23 files changed:
ld/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/erratum843419.d
ld/testsuite/ld-aarch64/farcall-b-defsym.d
ld/testsuite/ld-aarch64/farcall-b-plt.d
ld/testsuite/ld-aarch64/farcall-b.d
ld/testsuite/ld-aarch64/farcall-bl-defsym.d
ld/testsuite/ld-aarch64/farcall-bl-plt.d
ld/testsuite/ld-aarch64/farcall-bl.d
ld/testsuite/ld-aarch64/ifunc-15.d
ld/testsuite/ld-aarch64/ifunc-16.d
ld/testsuite/ld-aarch64/ifunc-5a-local.d
ld/testsuite/ld-aarch64/ifunc-5a.d
ld/testsuite/ld-aarch64/ifunc-5b-local.d
ld/testsuite/ld-aarch64/ifunc-5b.d
ld/testsuite/ld-aarch64/ifunc-5r-local.d
ld/testsuite/ld-aarch64/ifunc-6a.d
ld/testsuite/ld-aarch64/ifunc-6b.d
ld/testsuite/ld-aarch64/ifunc-7a.d
ld/testsuite/ld-aarch64/ifunc-7b.d
ld/testsuite/ld-aarch64/ifunc-8.d
ld/testsuite/ld-aarch64/limit-b.d
ld/testsuite/ld-aarch64/limit-bl.d