Thread (63 messages) 63 messages, 11 authors, 2017-11-09

[PATCH 13/15] arm64: fix mrs_s/msr_s macros for clang LTO

From: samitolvanen@google.com (Sami Tolvanen)
Date: 2017-11-09 16:45:48
Also in: lkml

On Wed, Nov 08, 2017 at 12:25:55PM +0300, Yury Norov wrote:
The patch below uses trick with undefining mrs_s/msr_s immediately
after use to solve the problem. It works for both gcc and clang.
Great, looks good to me! I tested the patch with LTO and clang's integrated
assembler seems to be happy with it.
It has solved many problems you also try to solve, and some patches
are looking very similar.
I haven't had a closer look at the gcc LTO patches yet, but I am definitely
all for using common code where possible.

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