Fix internal error in fix_errata on aarch64.
authorPeter Smith <peter.smith@linaro.org>
Thu, 30 Nov 2017 23:07:26 +0000 (15:07 -0800)
committerCary Coutant <ccoutant@gmail.com>
Thu, 30 Nov 2017 23:08:21 +0000 (15:08 -0800)
commitfd6798fa2d6f0374d45449c4212869da93623b1e
tree82f8c3c3510c64b2d673a473c20ac16d78a09127
parente0feb133429709603eeeb382c1ebb6edd0a886aa
Fix internal error in fix_errata on aarch64.

The addresses of erratum stubs can be changed by relaxation passes, and
need to be updated.

gold/
PR gold/20765
* aarch64.cc (Aarch64_relobj::update_erratum_address): New method.
(AArch64_relobj::scan_errata): Update addresses in stub table after
relaxation pass.
gold/ChangeLog
gold/aarch64.cc