diff options
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/mips/pcrel-3.s')
-rw-r--r-- | binutils-2.25/gas/testsuite/gas/mips/pcrel-3.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/mips/pcrel-3.s b/binutils-2.25/gas/testsuite/gas/mips/pcrel-3.s new file mode 100644 index 00000000..6db741cb --- /dev/null +++ b/binutils-2.25/gas/testsuite/gas/mips/pcrel-3.s @@ -0,0 +1,11 @@ + .text + .ent func +func: + lui $4,%hi(foo-.) + addiu $4,%lo(foo-.) + lw $4,%got(foo-.)($gp) + .end func + + .byte foo-. + .half foo-. + .quad foo-. |