Patches to Fix Broken Programs on Loongson 2F Processor and 8089D Laptop.