This patch is needed to make c++ exceptions work for mips16.