diff options
author | Benjamin Herrenschmidt <[email protected]> | 2016-08-02 15:53:01 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2016-08-03 15:43:16 +1000 |
commit | 2c0f99516f53911c3f2f81ab3815841e3408f11e (patch) | |
tree | f1524958025ff017635b04b87c2b152ab1e7c698 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | a67ae75802f178b0b790f1cd7f9c2954a85707fa (diff) |
powerpc/32: Fix early access to cpu_spec relocation
Commit 9402c6846131 ("powerpc: Factor do_feature_fixup calls")
introduced a subtle bug on 32-bit. When reading the cpu spec from the
global, we not only need to do a pointer relocation on the global
address but also on the pointer we read from it.
This fixes crashes reported on MPC5200 based machines.
Fixes: 9402c6846131 ("powerpc: Factor do_feature_fixup calls")
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions