[PATCH][GOLD] Fix PR22233 gold segfault in relocate_erratum_stub on aarch64-linux-gnu

Cary Coutant ccoutant@gmail.com
Thu Nov 30 21:56:00 GMT 2017


> General ping for this patch. The fix is one line, and together with
> the fixes for PR20765 should fix the known problems with the
> --fix-cortex-a53-843419 option.

This is OK, but I prefer it without the + and - of view_offset.

>> This is a first time posting a fix to this mailing list so my
>> apologies for missing anything out.

No problems -- you're just missing a ChangeLog entry. I've committed
the modified patch with the following ChangeLog:

2017-11-30  Peter Smith  <peter.smith@linaro.org>

gold/
        PR gold/22233
        * aarch64.cc (AArch64_relobj::fix_errata_and_relocate_erratum_stubs):
        Fix calculation of stub address.

Thanks for the fix!

-cary



More information about the Binutils mailing list