[ELF][AArch64] Improve some aarch64-*.s tests
authorFangrui Song <maskray@google.com>
Fri, 19 Jul 2019 06:33:36 +0000 (06:33 +0000)
committerFangrui Song <maskray@google.com>
Fri, 19 Jul 2019 06:33:36 +0000 (06:33 +0000)
commitc2a5459d52b94a50581dec7a542ef00915b8d2b2
treeae65a03bc7cfcd0f9b6c6a8dd0496e5d99b6316c
parentc5ecdd3c5a98d11e9286b3e416e9e0284d5c8c96
[ELF][AArch64] Improve some aarch64-*.s tests

* Delete aarch64-tls-static.s: it is covered by aarch64-tlsdesc.c
* Add --no-show-raw-insn to llvm-objdump -d tests
* When linking an executable with %t.so, the path %t.so will be recorded in the DT_NEEDED entry if %t.so doesn't have DT_SONAME. The DT_NEEDED has varying lengths on different systems.
  Add -soname to make tests more robust. This issue will become outstanding if we allow overlapping PT_LOAD (D64930).

llvm-svn: 366532
13 files changed:
lld/test/ELF/aarch64-condb-reloc.s
lld/test/ELF/aarch64-copy.s
lld/test/ELF/aarch64-gnu-ifunc-plt.s
lld/test/ELF/aarch64-gnu-ifunc2.s
lld/test/ELF/aarch64-jump26-thunk.s
lld/test/ELF/aarch64-nopic-plt.s
lld/test/ELF/aarch64-tls-gdie.s
lld/test/ELF/aarch64-tls-gdle.s
lld/test/ELF/aarch64-tls-ie.s
lld/test/ELF/aarch64-tls-static.s [deleted file]
lld/test/ELF/aarch64-tlsdesc.s
lld/test/ELF/aarch64-tstbr14-reloc.s
lld/test/ELF/aarch64-undefined-weak.s