diff options
Diffstat (limited to 'gas/testsuite/gas/mips/dla-reloc.d')
-rw-r--r-- | gas/testsuite/gas/mips/dla-reloc.d | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/dla-reloc.d b/gas/testsuite/gas/mips/dla-reloc.d new file mode 100644 index 0000000000..2836781466 --- /dev/null +++ b/gas/testsuite/gas/mips/dla-reloc.d @@ -0,0 +1,44 @@ +#as: -64 +#objdump: -dr --prefix-addresses +#name: DLA with relocation operators + +.*file format.* + +Disassembly of section \.text: +[0-9a-f]+ <[^>]*> daddiu a0,zero,0 +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_LO16 foo +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[0-9a-f]+ <[^>]*> daddiu a0,zero,0 +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_HI16 foo +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[0-9a-f]+ <[^>]*> daddiu a0,zero,-30875 +[0-9a-f]+ <[^>]*> daddiu a0,zero,4661 +[0-9a-f]+ <[^>]*> daddiu a0,a1,0 +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_LO16 foo +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[0-9a-f]+ <[^>]*> daddiu a0,a1,0 +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_HI16 foo +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[0-9a-f]+ <[^>]*> daddiu a0,a1,-30875 +[0-9a-f]+ <[^>]*> daddiu a0,a1,4661 +[0-9a-f]+ <[^>]*> daddiu a0,a1,0 +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_LO16 foo\+0x12348765 +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[0-9a-f]+ <[^>]*> daddiu a0,a1,0 +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_HI16 foo\+0x12348765 +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[ ]*[0-9a-f]+: R_MIPS_NONE .* +[0-9a-f]+ <[^>]*> daddiu a0,a1,0 +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16 bar +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_SUB \*ABS\* +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_HI16 \*ABS\* +[0-9a-f]+ <[^>]*> daddiu a0,a1,0 +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16 bar +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_SUB \*ABS\* +[ ]*[0-9a-f]+: R_(MICRO|)MIPS_LO16 \*ABS\* +#pass |