Skip to content

Commit

Permalink
clang-16: vdso32 executable stack warning
Browse files Browse the repository at this point in the history
vdso32: suppress executable stack warning
warning: arch/arm64/kernel/vdso32/sigreturn.o: missing .note.GNU-stack section implies executable stack

clang/bin/arm-linux-gnueabi-ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

Change-Id: 2686102fb75a38aba0f4ce01016af27ced6b40b8
Signed-off-by: TogoFire <italomellopereira@gmail.com>
Signed-off-by: Himemori <himemori@mail.com>
Signed-off-by: Renayura <renayura@proton.me>
  • Loading branch information
chilkat81 authored and Jbub5 committed Apr 7, 2024
1 parent 8a7a870 commit ceac95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/kernel/vdso32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ VDSO_AFLAGS += -D__ASSEMBLY__
VDSO_LDFLAGS := $(VDSO_CPPFLAGS)
# From arm vDSO Makefile
VDSO_LDFLAGS += -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-soname=linux-vdso.so.1
VDSO_LDFLAGS += -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096
VDSO_LDFLAGS += -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096,-zexecstack
VDSO_LDFLAGS += -nostdlib -shared -mfloat-abi=soft
VDSO_LDFLAGS += $(call cc32-ldoption,-Wl$(comma)--hash-style=sysv)
VDSO_LDFLAGS += $(call cc32-ldoption,-Wl$(comma)--build-id)
Expand Down

0 comments on commit ceac95c

Please sign in to comment.