This reapplies 57aeb305, which was reverted in f721fcb6 due to buildbot failures. The cause of the failure was missing support for R_AARCH64_ABS32, which was added in fb1b9945.