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