]> git.proxmox.com Git - grub2.git/commitdiff
fwstart: Replace blt with bltz.
authorVladimir Serbinenko <phcoder@gmail.com>
Wed, 22 Jul 2015 19:40:55 +0000 (21:40 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 22 Jul 2015 19:40:55 +0000 (21:40 +0200)
blt A, $zero, B and bltz A, B are equivalent but clang recognizes only
later, so use it.

Resulting binary is unchanged.

grub-core/boot/mips/loongson/fwstart.S

index 71bab6dc8bd633480108de394d59538ea4d2135b..c95b38ac07c118893ed72ecb59245bc0a2d411fe 100644 (file)
@@ -344,7 +344,7 @@ printhex:
         nop
        srl  $t1, $a0, 28
        addiu $t1, $t1, -10
-       blt  $t1, $zero, 2f
+       bltz  $t1, 2f
         sll  $a0, $a0, 4
        addiu $t1, $t1, 'A'-10-'0' 
 2:     addiu $t1, $t1, '0'+10