[ELF][MIPS] Improve tests
authorFangrui Song <maskray@google.com>
Thu, 25 Jul 2019 07:12:23 +0000 (07:12 +0000)
committerFangrui Song <maskray@google.com>
Thu, 25 Jul 2019 07:12:23 +0000 (07:12 +0000)
commit3e023a6dbceca8dba9763d102079aff0d9861e05
tree4f98c50d259e72c46deef40edb351c509b1bb892
parent21277e3ec2c315475d5d5fd191083193455f6705
[ELF][MIPS] 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 to make tests
  more robust.

llvm-svn: 366988
29 files changed:
lld/test/ELF/mips-26-mask.s
lld/test/ELF/mips-26.s
lld/test/ELF/mips-64-disp.s
lld/test/ELF/mips-64-got.s
lld/test/ELF/mips-64-rels.s
lld/test/ELF/mips-call16.s
lld/test/ELF/mips-got16-relocatable.s
lld/test/ELF/mips-got16.s
lld/test/ELF/mips-gp-disp.s
lld/test/ELF/mips-gp-local.s
lld/test/ELF/mips-higher-highest.s
lld/test/ELF/mips-hilo-gp-disp.s
lld/test/ELF/mips-hilo-hi-only.s
lld/test/ELF/mips-jalr.test
lld/test/ELF/mips-micro-jal.s
lld/test/ELF/mips-micro-plt.s
lld/test/ELF/mips-npic-call-pic-os.s
lld/test/ELF/mips-npic-call-pic-script.s
lld/test/ELF/mips-npic-call-pic.s
lld/test/ELF/mips-pc-relocs.s
lld/test/ELF/mips-plt-copy.s
lld/test/ELF/mips-plt-n32.s
lld/test/ELF/mips-plt-n64.s
lld/test/ELF/mips-plt-r6.s
lld/test/ELF/mips-tls-64.s
lld/test/ELF/mips-tls-hilo.s
lld/test/ELF/mips-tls.s
lld/test/ELF/mips-traps.s
lld/test/ELF/mips-xgot-order.s