diff options
Diffstat (limited to 'ld/testsuite/ld-mips-elf/empic1-sn.d')
-rw-r--r-- | ld/testsuite/ld-mips-elf/empic1-sn.d | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/empic1-sn.d b/ld/testsuite/ld-mips-elf/empic1-sn.d new file mode 100644 index 00000000000..6d041edf34d --- /dev/null +++ b/ld/testsuite/ld-mips-elf/empic1-sn.d @@ -0,0 +1,23 @@ +#name: MIPS 32-bit ELF embedded-pic relocs #1-sn (small negative) +#as: -membedded-pic -mips3 +#source: empic1-tgt.s +#source: empic1-ref.s +#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000 +#ld: -Ttext 0x400000 -e 0x400000 + +.*: file format elf.*mips.* + +SYMBOL TABLE: +#... +0+400020 g F .text [0-9a-f]+ foo +#... +0+400000 g F .text [0-9a-f]+ bar +#... + +Disassembly of section \.text: + ... +0+400020 <[^>]*> 00000000 nop +0+400024 <[^>]*> 3c020000 lui v0,0x0 +0+400028 <[^>]*> 6442ffe0 daddiu v0,v0,-32 + ... +#pass |