MIPS/LD: Fix memory fault linking non-PIC object in to shared library
[external/binutils.git] / ld / testsuite / ld-mips-elf / pic-reloc-7.s
1         .text
2         .globl  foo
3         .ent    foo
4 foo:
5 $LCL:
6         lui     $2, %highest($LCL)
7         addiu   $2, %higher($LCL)
8         lui     $2, %highest(bar)
9         addiu   $2, %higher(bar)
10         .end    foo