diff options
Diffstat (limited to 'ld/testsuite/ld-mips-elf/pic-reloc-lui.s')
-rw-r--r-- | ld/testsuite/ld-mips-elf/pic-reloc-lui.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/pic-reloc-lui.s b/ld/testsuite/ld-mips-elf/pic-reloc-lui.s new file mode 100644 index 0000000..3ad3570 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-reloc-lui.s @@ -0,0 +1,13 @@ + .text + .globl foo + .ent foo +foo: + lui $2, %hi(bar) + addiu $2, %lo(bar) + lui $2, %hi(bar) + addiu $2, %lo(bar) + .end foo + +# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... + .align 4, 0 + .space 16 |