[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/22233] [2.29 Regression] gold segfault in relocate_erratum_stu
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gold/22233] [2.29 Regression] gold segfault in relocate_erratum_stub on aarch64-linux-gnu |
Date: |
Thu, 30 Nov 2017 23:17:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22233
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The binutils-2_29-branch branch has been updated by Cary Coutant
<address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=33130d00dc1422c5a3071d771b90dafd77e22643
commit 33130d00dc1422c5a3071d771b90dafd77e22643
Author: Peter Smith <address@hidden>
Date: Thu Nov 30 13:30:58 2017 -0800
Fix segfault in relocate_erratum_stub on aarch64.
The fix for PR21868 (an internal error when --fix-cortex-a53-843419
is applied) has a small mistake in it. When the stub_owner section
needs an erratum fix an incorrect address for the stubs for the section
is given to relocate_erratum_stub. If we are lucky we will get a segfault;
if we aren't, an incorrect patch or data corruption is possible.
The error is visible in PR21868, but the side-effects aren't fatal.
gold/
PR gold/22233
* aarch64.cc (AArch64_relobj::fix_errata_and_relocate_erratum_stubs):
Fix calculation of stub address.
--
You are receiving this mail because:
You are on the CC list for the bug.