arm64/alternatives: move length validation inside the subsection
Commit f7b93d42 ("arm64/alternatives: use subsections for replacement sequences") breaks LLVM's integrated assembler, because due to its one-pass design, it cannot compute instruction sequence lengths before the layout for the subsection has been finalized. This change fixes the build by moving the .org directives inside the subsection, so they are processed after the subsection layout is known. Fixes: f7b93d42 ("arm64/alternatives: use subsections for replacement sequences") Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Link: https://github.com/ClangBuiltLinux/linux/issues/1078 Link: https://lore.kernel.org/r/20200730153701.3892953-1-samitolvanen@google.com Signed-off-by: Will Deacon <will@kernel.org>
parent
7b7891c7
-
mentioned in commit a15a67e3
-
mentioned in commit 53f94177
-
mentioned in commit 8a90b436
-
mentioned in commit 333e7d5e
-
mentioned in commit e6177990
-
mentioned in commit ac3b3ce1
-
mentioned in commit 9e8c5e3d
-
mentioned in commit b8ae95b9
-
mentioned in commit 5b834b40
-
mentioned in commit 61114e73
Please register or sign in to comment