needed to fix static pie linking bugs on arm.
included are new or1k support patches that are not easily backported to earlier versions.