1
0

002-fix-building-getcontext_S.patch 544 B

12345678910111213141516171819
  1. diff -uprN a/src/mips/getcontext.S b/src/mips/getcontext.S
  2. --- a/src/mips/getcontext.S 2012-10-06 12:54:38.000000000 +0800
  3. +++ b/src/mips/getcontext.S 2016-06-08 13:35:25.033051679 +0800
  4. @@ -24,12 +24,12 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING
  5. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
  6. #include "offsets.h"
  7. -#include <endian.h>
  8. .text
  9. + .set nomips16
  10. #if _MIPS_SIM == _ABIO32
  11. -# if __BYTE_ORDER == __BIG_ENDIAN
  12. +# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
  13. # define OFFSET 4
  14. # else
  15. # define OFFSET 0