Thread (103 messages) 103 messages, 16 authors, 2017-12-04

[PATCH v2 09/18] arm64: explicitly pass --no-fix-cortex-a53-843419 to GNU gold

From: samitolvanen@google.com (Sami Tolvanen)
Date: 2017-11-16 16:36:02
Also in: linux-kbuild, lkml

On Thu, Nov 16, 2017 at 11:47:23AM +0000, Will Deacon wrote:
But if ARM64_ERRATUM_843419 is enabled, we'll go ahead and generate
broken code?
This bug has been fixed in all current versions of GNU gold, but of
course, if someone is using a broken linker, it will generate broken
code. We can't do anything about that in the kernel.

The reason for this patch is that the linker can be configured to
enable the erratum fix by default, and we must explicitly disable it
if we don't want the fix, whether it's because of a broken linker, or
in our case, because of issues with kernel modules.

Sami
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help