[ELF][X86] Improve tests
authorFangrui Song <maskray@google.com>
Thu, 1 Aug 2019 09:25:34 +0000 (09:25 +0000)
committerFangrui Song <maskray@google.com>
Thu, 1 Aug 2019 09:25:34 +0000 (09:25 +0000)
commit0cfa72eaec134693105ec6916aa4692119337a3d
treebe61e9ec627c87f7daf457b6fea85b4c33d6b797
parent41dfc69dc7fc21b8de9c2aac506930dc85cac70a
[ELF][X86] Improve tests

* 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. .dynstr will
  have varying lengths on different systems. Add -soname so that the
  string in .dynstr is of fixed length to make tests more robust.
* Rename i386-tls-initial-exec-local.s to i386-tls-ie-local.s
* Refactor tls-initial-exec-local.s to x86-64-tls-ie-local.s

llvm-svn: 367533
lld/test/ELF/i386-gotpc.s
lld/test/ELF/i386-reloc-range.s
lld/test/ELF/i386-retpoline-nopic-linkerscript.s
lld/test/ELF/i386-retpoline-nopic.s
lld/test/ELF/i386-retpoline-pic.s
lld/test/ELF/i386-tls-ie-local.s [moved from lld/test/ELF/i386-tls-initial-exec-local.s with 100% similarity]
lld/test/ELF/i386-tls-ie-shared.s
lld/test/ELF/tls-initial-exec-local.s [deleted file]
lld/test/ELF/x86-64-tls-ie-local.s [new file with mode: 0644]