cherry-pick upstead fix for DYN handling on MIPS
Source for buildrump.sh git rev f86f7e7d0046fd1b6aeb7253c4f24e1267330116