gold: fix PR gold/21868 - internal error in fix_errata_and_relocate_erratum_stubs.

        PR gold/21868
        * aarch64.cc (AArch64_relobj::try_fix_erratum_843419_optimized):
        Add extra view offset argument to function.
        (AArch64_relobj::fix_errata_and_relocate_erratum_stubs): Add
        extra view offset set to the output offset when the view has
        is_input_output_view set, since it has not already been
        included. Pass this to try_fix_erratum_843419_optimized.

This change is backport of commit 972d8a18db78974f59e1a6b1dc02f7e5b7d226d2
  - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=972d8a18db78974f59e1a6b1dc02f7e5b7d226d2
to binutils-2.27.

Change-Id: Ief7dcc5743feb04d090eaac9b677abe568ca1268
1 file changed
tree: 52ef4e68f4fac87a49079cb094dc2bcb7b5379e4
  1. binutils-2.27/
  2. OWNERS