From: Alistair Popple Date: Mon, 24 Feb 2014 07:00:56 +0000 (+1100) Subject: ppc476: Enable a linker work around for IBM errata #46 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5b35cffe3d3c2bc297b7c1fb997a6139de02e12;p=pandora-kernel.git ppc476: Enable a linker work around for IBM errata #46 This patch adds an option to enable a work around for an icache bug on 476 that can cause execution of stale instructions when falling through pages (IBM errata #46). It requires a recent version of binutils which supports the --ppc476-workaround option. The work around enables the appropriate linker options and ensures that all module output sections are aligned to 4K page boundaries. The work around is only required when building modules. Signed-off-by: Alistair Popple Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed