This reverts commit d1f1f5124f8edb9245394642d89f80c5118a6833. The unit tests did not pass on `-target mips-linux`.