diff options
author | Jiong Wang <jiong.wang@arm.com> | 2016-12-13 12:50:17 +0000 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2016-12-13 12:50:17 +0000 |
commit | 971f1d27d2ee2732f9ab2fa75923007b40e2bbec (patch) | |
tree | a9c4310a7ed67b6da0b4e52908a5a01b1ddc6e31 /ld/testsuite/ld-aarch64/farcall-b-plt.d | |
parent | 1bec0c8632397f3c5cdcf27bbb53318f6a6af7e0 (diff) | |
download | gdb-971f1d27d2ee2732f9ab2fa75923007b40e2bbec.zip gdb-971f1d27d2ee2732f9ab2fa75923007b40e2bbec.tar.gz gdb-971f1d27d2ee2732f9ab2fa75923007b40e2bbec.tar.bz2 |
[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.
Diffstat (limited to 'ld/testsuite/ld-aarch64/farcall-b-plt.d')
-rw-r--r-- | ld/testsuite/ld-aarch64/farcall-b-plt.d | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-aarch64/farcall-b-plt.d b/ld/testsuite/ld-aarch64/farcall-b-plt.d index e89f0bb..6e9a7bb 100644 --- a/ld/testsuite/ld-aarch64/farcall-b-plt.d +++ b/ld/testsuite/ld-aarch64/farcall-b-plt.d @@ -10,8 +10,8 @@ Disassembly of section .plt: .* <.plt>: .*: a9bf7bf0 stp x16, x30, \[sp, #-16\]! .*: .* adrp x16, .* <__foo_veneer\+.*> -.*: .* ldr x17, \[x16, #.*\] -.*: .* add x16, x16, #.* +.*: .* ldr [wx]17, \[x16, #.*\] +.*: .* add [wx]16, [wx]16, #.* .*: d61f0220 br x17 .*: d503201f nop .*: d503201f nop @@ -19,8 +19,8 @@ Disassembly of section .plt: .* <foo@plt>: .*: .* adrp x16, .* <__foo_veneer\+.*> -.*: .* ldr x17, \[x16, #.*\] -.*: .* add x16, x16, #.* +.*: .* ldr [wx]17, \[x16, #.*\] +.*: .* add [wx]16, [wx]16, #.* .*: d61f0220 br x17 Disassembly of section .text: |