Skip to content

Commit 48f7eee

Browse files
Brian GerstKAGA-KOKO
authored andcommitted
x86/syscalls: Don't adjust CFLAGS for syscall tables
The syscall_*.c files only contain data (the syscall tables). There is no need to adjust CFLAGS for tracing and stack protector since they contain no code. Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20210524181707.132844-4-brgerst@gmail.com
1 parent fd9e869 commit 48f7eee

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

arch/x86/entry/Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,8 @@ UBSAN_SANITIZE := n
88
KCOV_INSTRUMENT := n
99

1010
CFLAGS_REMOVE_common.o = $(CC_FLAGS_FTRACE)
11-
CFLAGS_REMOVE_syscall_64.o = $(CC_FLAGS_FTRACE)
12-
CFLAGS_REMOVE_syscall_32.o = $(CC_FLAGS_FTRACE)
13-
CFLAGS_REMOVE_syscall_x32.o = $(CC_FLAGS_FTRACE)
1411

1512
CFLAGS_common.o += -fno-stack-protector
16-
CFLAGS_syscall_64.o += -fno-stack-protector
17-
CFLAGS_syscall_32.o += -fno-stack-protector
18-
CFLAGS_syscall_x32.o += -fno-stack-protector
1913

2014
obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o
2115
obj-y += common.o

0 commit comments

Comments
 (0)