f872b28199
I originally missed the udiv_qrnnd part of the fdpic patch when forward-porting it because longlong.h moved to a non-obvious location. however, the original patch was broken anyway; it misordered instructions at branch delay slots and clobbered in-use registers. my version of the code is more efficient because it uses knowledge that __udiv_qrnnd_16 is a pure-PIC function that makes no calls, uses no static data, and does not clobber r12. this means we only need to load the instruction address, not the got address, from the function descriptor to make the call. the same can be achieved even more efficiently by declaring __udiv_qrnnd_16 with object type instead of function type and using the existing non-fdpic asm unmodified. I did not do this because I was afraid it would be considered a hack unacceptable for upstream. |
||
---|---|---|
.. | ||
0001-musl.diff | ||
0002-pr66609.diff | ||
0003-shbitrot.diff | ||
0004-j2.diff | ||
0005-staticpie.diff | ||
0006-defaultpie.diff | ||
0007-fdpic.diff |