diff options
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/code-model-medlow-02.d')
-rw-r--r-- | ld/testsuite/ld-riscv-elf/code-model-medlow-02.d | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/code-model-medlow-02.d b/ld/testsuite/ld-riscv-elf/code-model-medlow-02.d new file mode 100644 index 0000000..1168863 --- /dev/null +++ b/ld/testsuite/ld-riscv-elf/code-model-medlow-02.d @@ -0,0 +1,15 @@ +#source: code-model.s +#as: -march=rv64i -mabi=lp64 --defsym __medlow__=1 +#ld: -Tcode-model-02.ld -melf64lriscv --no-relax +#objdump: -d -Mno-aliases + +.*:[ ]+file format .* + + +Disassembly of section .text: + +0+800000000 <_start>: +[ ]+[0-9a-f]+:[ ]+[0-9a-f]+[ ]+lui[ ]+t0,0x[0-9a-f]+ +[ ]+[0-9a-f]+:[ ]+[0-9a-f]+[ ]+addi[ ]+t0,t0,[0-9]+ # [0-9a-f]+ <symbolL> +[ ]+[0-9a-f]+:[ ]+[0-9a-f]+[ ]+lui[ ]+t0,0x[0-9a-f]+ +[ ]+[0-9a-f]+:[ ]+[0-9a-f]+[ ]+addi[ ]+t0,t0,[0-9]+ # [0-9a-f]+ <symbolG> |