diff options
Diffstat (limited to 'ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s')
-rw-r--r-- | ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s new file mode 100644 index 0000000..7452f5e --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s @@ -0,0 +1,16 @@ + .abicalls + .option pic0 + .global __start + .ent __start +__start: + lui $2,%hi(foo) + addiu $2,$2,%lo(foo) + lui $2,%hi(obj1) + addiu $2,$2,%lo(obj1) + .end __start + + .data + .word foo + .word bar + .word obj1 + .word obj2 |