MIPS/GAS: Use non-zero frag offset directly in PIC branch relaxation
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / elf-rel8.s
index b3f5dab58d6b577f184497280525e1d76cd11296..4a84beec41e0c3d37769bf3dfa2e210cab590974 100644 (file)
@@ -46,6 +46,12 @@ foo:
        sw      $4,%gp_rel(gvar)($28)
        addiu   $4,$28,%gp_rel(gvar)
 
+       # Check the alternative form.
+
+       lw      $4,%gprel(gvar)($28)
+       sw      $4,%gprel(gvar)($28)
+       addiu   $4,$28,%gprel(gvar)
+
        .space  64
        .end    foo
 
This page took 0.024078 seconds and 4 git commands to generate.