Thread (429 messages) 429 messages, 18 authors, 2020-05-15

Re: [PATCH v7 00/11] add support for Clang's Shadow Call Stack

From: Sami Tolvanen <samitolvanen@google.com>
Date: 2020-02-12 17:36:37
Also in: lkml

On Tue, Feb 11, 2020 at 5:57 AM James Morse [off-list ref] wrote:
I found I had to add:
| KBUILD_CFLAGS := $(filter-out -ffixed-x18 $(CC_FLAGS_SCS), $(KBUILD_CFLAGS))

to drivers/firmware/efi/libstub/Makefile, to get this going.
Ah, good catch!
I don't think there is much point supporting SCS for the EFIstub, its already isolated
from the rest of the kernel's C code by the __efistub symbol prefix machinery, and trying
to use it would expose us to buggy firmware at a point we can't handle it!
Yes, fully agreed.
I can send a patch if its easier for you,
It's not a problem, I will include a patch for this in v8.

Sami

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help