forked from videolan/vlc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib: gmp: fix build failure with recent binutils
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- gmp/mpn/arm/udiv.asm.orig 2013-08-11 17:38:14.542690389 +0200 | ||
+++ gmp/mpn/arm/udiv.asm 2013-08-11 17:38:18.078690240 +0200 | ||
@@ -50,7 +50,7 @@ | ||
teq r12, #0 | ||
bne L(oop) | ||
|
||
- str n1, [ rem_ptr ] C store remainder | ||
+ str n1, [rem_ptr] C store remainder | ||
adc r0, n0, n0 C quotient: add last carry from divstep | ||
mov pc, lr | ||
|
||
@@ -89,7 +89,7 @@ | ||
addcs n0, n0, #1 C adjust quotient | ||
|
||
L(_even_divisor): | ||
- str n1, [ rem_ptr ] C store remainder | ||
+ str n1, [rem_ptr] C store remainder | ||
mov r0, n0 C quotient | ||
ldmfd sp!, { r8, pc } | ||
EPILOGUE(mpn_udiv_qrnnd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters