2020-12-09 01:56:59 +00:00
|
|
|
--- a/src/mips/getcontext.S
|
|
|
|
+++ b/src/mips/getcontext.S
|
2016-06-09 02:04:23 +00:00
|
|
|
@@ -24,12 +24,12 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
|
|
|
|
|
|
#include "offsets.h"
|
|
|
|
-#include <endian.h>
|
|
|
|
|
|
|
|
.text
|
|
|
|
+ .set nomips16
|
|
|
|
|
|
|
|
#if _MIPS_SIM == _ABIO32
|
|
|
|
-# if __BYTE_ORDER == __BIG_ENDIAN
|
|
|
|
+# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
|
|
|
# define OFFSET 4
|
|
|
|
# else
|
|
|
|
# define OFFSET 0
|