mips: upstream integration.

Still doesn't fix emulator64-mips though.

Change-Id: I58ad8a3001b779527c85d1f86053ab580ee68784
9 files changed