aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-06-09 01:09:23 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-06-09 01:09:23 +0100
commitd68033ea86780183c2a2a28077fe495acde5887c (patch)
treeafeaf83b98dc223bde85714fc1fc1440766522c2 /ld/testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d
parent653e0a1e047b00d77bf9b094f06a9781d6d45589 (diff)
downloadgdb-d68033ea86780183c2a2a28077fe495acde5887c.zip
gdb-d68033ea86780183c2a2a28077fe495acde5887c.tar.gz
gdb-d68033ea86780183c2a2a28077fe495acde5887c.tar.bz2
MIPS/LD/testsuite: Add microMIPS lazy binding stub tests
Adapt the existing regular MIPS lazy binding stub tests for microMIPS code verification. Check both regular and `--insn32' variants. Correct indentation issues in the conditional updated. ld/ * testsuite/ld-mips-elf/stub-dynsym-micromips-1-7fff.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-1-8000.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-1-fff0.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-1-10000.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-7fff.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-8000.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-fff0.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-10000.d: New test. * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-2fe80.d: New test. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. Fix indentation.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d')
-rw-r--r--ld/testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d b/ld/testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d
new file mode 100644
index 0000000..62faf59
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d
@@ -0,0 +1,17 @@
+.*: +file format .*mips.*
+
+Disassembly of section \.MIPS\.stubs:
+
+.* <_MIPS_STUBS_>:
+.*: ff3c 8010 lw t9,-32752\(gp\)
+.*: 0dff move t7,ra
+.*: 41b8 0002 lui t8,0x2
+.*: 45d9 jalr t9
+.*: 5318 fe80 ori t8,t8,0xfe80
+.*: 0000 0000 nop
+.*: 0000 0000 nop
+.*: 0000 0000 nop
+.*: 0000 0000 nop
+
+Disassembly of section \.text:
+#pass